File System Journalization |
To enable journalization, you must first define the system journal directory/file(s), which is typically done in the application START_UP program, and then enable journalization on either all files or a specific file. Once enabled, PxPlus will automatically journalize all updates to the designated files, and if journaling all file updates, the system will also journalize all file creates, deletions and renames.
To open the system journal directory/file, you need to issue the following command:
SYSTEM_JRNL OPEN pathname$
Where:
pathname$ can be either a directory or a file.
If directory, the system will create one or more journal files in this directory. Each journal file will be called journal.nnn, where nnn is a sequence number for the journal.
If file, the file can grow to 2GB, and then a new file must be defined.
To enable journalization either for all files or a specific file, use the following command:
|
For all files |
SYSTEM_JRNL ENABLE * |
|
For specific file |
SYSTEM_JRNL ENABLE pathname$ |
To disable journalization either for all files or a specific file, use the following command:
|
For all files |
SYSTEM_JRNL DISABLE * |
|
For specific file |
SYSTEM_JRNL DISABLE pathname$ |