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 to execute 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.