CA 1 provides expiration and retention for tape data sets through specific criteria or unique Julian date keywords specified in the JCL LABEL parameter, JCL ACCODE parameter, or in a Retention Data Set control statement.
Note: For information on the format of the RDS expiration and retention specification, see Control Statement Specification.
Since many problems can occur when using the EXPDT JCL parameter including conflicts between dates and CA 1 options and restrictions by various IBM facilities, you can specify some options through the ACCODE JCL parameter. Although ACCODE is primarily for ANSI labeled tapes, it is available for all processing. To allow compatibility with ANSI labeled tape, the first character can be any letter. If the next two characters are CA, the remainder is used to select the expiration or retention option. If both an ACCODE and an EXPDT/RETPD value were specified, the ACCODE takes precedence when assigning an expiration date in the TMC and the EXPDT/RETPD value takes precedence updating the HDR1 record on the physical tape.
The following specifications can be used in the JCL LABEL parameter:
A temporary data set. If it is for the first file, the volume remains in scratch status after use. If the hlq.CTAPOPTN parameter WRKFLS is set to NO, all temporary data sets are assigned a one day retention period.
Standard system Julian expiration date. (This format is not valid for the Year 2000 and beyond.)
Standard MVS expiration date for DFP 2.3 and above.
Standard system retention period.
User Control EXPDT keyword that you can create. Specifies that a tape is held permanently.
Note: x must be replaced with any letter.
Catalog Days Control EXPDT keyword. Specifies that a tape is held at least ddd days. Once ddd has been met, the expiration date is changed to Catalog Control and is protected as long as the data set is cataloged.
Range: 001 to 365
Nonresident EXPDT keyword. Specifies that the tape volume being processed is not under CA 1 control.
Note: x must be replaced with any letter.
Days Since Last Used Control EXPDT keyword. Specifies that a tape data set is held as long as it is used every ddd days. As long as a tape data set is being utilized at least as frequently as every ddd days, it is protected. When the data set is not used for ddd days, it becomes eligible for scratch. This is an excellent means of controlling tapes used for testing.
Range: 001 to 366
Catalog Control EXPDT keyword. Specifies that a tape data set is protected as long as it has an entry in the system catalog. As soon as CA 1 determines that the data set no longer has an entry in the system catalog, it becomes eligible for scratch. 99000 is frequently used for generation data groups.
Note: x must be replaced with any letter.
Never Scratch EXPDT keyword. Specifies that a tape is held permanently. Data sets held with this keyword cannot be recreated on the same tape; however, these data sets can have additional information MODed on. 99365 is often considered to be manual control, as these tapes can not be scratched until the volume is manually expired.
Note: x must be replaced with any letter.
Cycle Control EXPDT keyword. Specifies that ccc cycles of a data set are to be held. This retention is based entirely on the number of cycles to be maintained in the TMC. Cycle Control can be used for simple data sets and generation data groups. For GDGs, the number of tapes retained by CA 1 does not necessarily need to equal the number of MVS catalog entries. The definition of a CA 1 cycle is determined by CA 1 system options. Cycle control only uses the first file on the tape in the determination of the number of cycles that have been created.
Note: If an expiration date supplied in the JCL is less than or equal to the system date, and is not a keyword date, then CA 1 arbitrarily sets the TMC EXPDT to STATS/001. This is treated as permanent retention and a manual update would need to be made to reset the retention to what is actually desired. If a temporary data set is specified but a retention or expiration date into the future is specified, the tape is not considered temporary by CA 1.
Copyright © 2013 CA Technologies.
All rights reserved.
|
|