Summary of offload parameter options
In summary, if the DC/UCF system is not active, one or more disk journals may be processed, and after a file is offloaded, it is marked empty.
If the DC/UCF system is active, only the oldest full disk journal file is processed (as if the AUTO option is specified). After the file has been offloaded it is condensed and a new journal segment is created.
|
Parameter |
While DC/UCF Active or After Abnormal Termination |
After Normal Shutdown |
|---|---|---|
|
ALL |
Not Allowed |
All non-empty disk journal files, beginning with the oldest file, are offloaded. Offloaded files are marked as empty. |
|
AUTOALL |
Oldest full disk journal file is offloaded. Condenses offloaded file, then creates a new, empty journal segment. |
All non-empty disk journal files, beginning with the oldest file, are offloaded. Offloaded files are marked as empty. |
|
AUTO |
Oldest full disk journal file is offloaded. Condenses offloaded file, then creates a new, empty journal segment. |
Oldest non-empty disk journal file is offloaded and marked as empty. |
|
FULL |
Not Allowed |
All full disk journal files, beginning with the oldest file, are offloaded. |
How to submit the ARCHIVE JOURNAL statement
You submit the ARCHIVE JOURNAL statement to CA IDMS/DB only through the batch command facility. You must run the batch command facility in local mode.
You normally specify AUTO
Normally, you archive journal files as they become full. For this purpose, specify AUTO.
The other options are used only in special circumstances, such as recovering damaged files.
Use with two-phase commit feature
ARCHIVE JOURNAL automatically preserves journal records for incomplete or unforgotten distributed transaction records when condensing a journal file.
Obtaining a status report
ARCHIVE JOURNAL always produces a report showing the status of disk journal files. Specify the REPORT option if you only want to obtain the report and you do not want to archive or condense journal information.
Use with change tracking
If the CV whose journals are being archived uses change tracking to record changes to its database environment, the JCL used to archive its journal files should reference the CV's SYSTRK files and should not include file assignments for the journal files. This ensures that any changes made to the journal files in use by the CV are known to the ARCHIVE JOURNAL utility so that it operates on the correct set of files.
Note: For more information about change tracking and the use of SYSTRK files, see Change Tracking in the CA IDMS System Operations Guide.
Performance consideration
A reduction in run-time for the ARCHIVE JOURNAL utility might occur if you process the journals using the QSAM access method. To invoke QSAM against the journals specify QSAMAREA=ARCHIVE.JOURNAL in the SYSIDMS file used by the ARCHIVE JOURNAL utility.
|
Copyright © 2014 CA.
All rights reserved.
|
|