Archiving dual CMRDETL data sets
When ARCHJCL=CMRDJCL (default) or ARCHJCL=proc is specified in CMRDTL00, the archive process is initiated automatically when CMRDETL becomes full, an I/O error occurs, or a switch is manually requested with the FST2 SWITCH command.
BBSAMP member CMRDJCL contains sample JCL to execute CMRPURG when a detail file switch occurs. The steps in CMRDJCL must run when archiving a CMRDETL data set in a dual data set environment.
BBSAMP member CMRDPARM contains the necessary CMRPURG control statements to archive a CMRDETL data set in a dual CMRDETL data set environment.
The following control statements must start in column 1 and be included when you use CMRPURG to archive dual CMRDETL data sets:
-
HISTORY=OUT
-
DATE=12319999
-
LEAVE (specifies whether to leave data in CMRDETL or purge it after archival)
Valid values are as follows:
-
NO specifies that data is removed from CMRDETL. This value is not recommended. Data will not be available for online access after the switch.
-
YES specifies that data remains in CMRDETL after archival. This value is recommended. It provides HISTORY access to the data after a data set switch occurs.
-
Comments
Log in or register to comment.