SET -JOURNAL Examples

Example:

$ mupip set -file -journal="nobefore,buff=128" cus.dat

This initiates NOBEFORE_IMAGE journaling for the database file cus.dat with a journal buffer size of 64KB (=128 blocks). The journal file created is 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 blocks and an EXTENSION of 5000 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="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.