Archiving multiple CMRDETL data sets
When ARCHJCL=CMRDJCL (default) or ARCHJCL=proc is specified in CMRDTL00,
BMC AMI Ops Monitor for CICS
automatically initiates the archive process when any of the following conditions occur:
- Recording stops and CONTINUE=NO is specified
- CMRDETL becomes full
- An I/O error occurs
- A switch is manually requested with the FST2 SWITCH command (applies to CMRDETL data sets only)
- You issue the SWI line command from the CMRDETA view or CREGAGT view
- You issue the BBI command SWI (switch)
BBSAMP member CMRDJCL contains sample JCL that executes CMRPURG when a detail file switch occurs. The steps in CMRDJCL must run successfully when archiving a CMRDETL data set in a multiple data set environment.
BBSAMP member CMRDPARM contains the CMRPURG control statements to archive a CMRDETL data set in a multiple CMRDETL data set environment.
The following control statements must start in column 1 and be included when you use CMRPURG to archive multiple CMRDETL data sets:
- HISTORY=OUT
- DATE=12319999
LEAVE (specifies whether to leave data in the CMRDETL data set or purge it after archival)
Valid values are as follows:
- NO specifies that data is removed from the CMRDETL data set. This value is not recommended. Data will not be available for online access after the switch.
- YES specifies that data remains in the CMRDETL data set after archival. This value is recommended. It provides HISTORY access to the data after a data set switch occurs.
If you see multiple FT226W Archive in Progress messages for an IBM CICS in the BBI-SS PAS log for a CMRDETL data set, it indicates that the Archive in Progress flag was left ON during the previous archive job. The messages might occur because the previous CMRDETL data set archival job failed at step 2 (CMRPURG) and did not run step 3 of the job (turning the archive flag off), thereby leaving the flag ON. As a result, you should perform the following actions:
- Investigate why the archive job failed.
- If the archive job failed some time ago, use the sample job in BBSAMP member CMRAPOFF to set the Archive in Progress flag to OFF in the CMRDETL data set (so that it can be used again).
- Follow the instructions in the help for the FT226W message to continue recording.