SET /JOURNAL Examples

Example:

$ MUPIP SET /FILE /JOUR=(ENABLE,NOBEFORE,BUFF=128) CUS.DAT

This initiates NOBEFORE_IMAGE journaling for the database file CUS.DAT with a journal buffer size of 64KB (=128blocks) and establishes its characteristics. The journal file created has the name CUS.MJL. This command assumes that journaling for CUS.DAT is already enabled.

Example:

MUPIP SET /REG /JOURNAL=(ENAB,BEFO,ALLOC=50000,EXT=5000) *

This enables journaling with BEFORE_IMAGES on all regions of the current Global Directory and gives each journal file an ALLOCATION of 50000 RMS blocks and an EXTENSION of 5000 RMS blocks. If the regions have significantly different levels of update, either set the ALLOCATION and EXTENSION in the Global Directory before the MUPIP CREATE(s) or use several MUPIP SET /FILE or /REGION commands.

Example:

MUPIP SET /REGION /JOURNAL=BEFORE (*)

This command activates journaling with before-images for all regions of the current Global Directory that have previously had journaling enabled. This activation occurs the next time the associated database file is opened.


            MUPIP SET /REGION /JOURNAL=(ENABLE,BEFORE) AREG,BREG


         

This declares journaling active with before-images for the regions AREG and BREG of the current Global Directory the next time they are opened.

Example:

MUPIP SET /FILE /NOJOURNAL MUMPS.DAT

This disables journaling on the database file MUMPS.DAT.