Previous Topic: Data Set ControlNext Topic: Tape Library Considerations


JCL Considerations

JCL changes are not typically required when CA 1 is installed, however, it is important to examine the conventions utilized by CA 1.

CA 1 is concerned with the following DD statement parameters:

DSN

The same data set name is required when reading a tape data set that was used when the data set was created. This applies to NL, BLP, AL, and SL data sets. CA 1 compares the data set name specified in the JCL to the data set name stored in the TMC record during input processing.

Any inequality causes the job to abend. For ease of CA 1 implementation, when the data set name in the TMC is set to HEXZEROS (the default), the actual data set name is stored in the TMC during the initial OPEN for input processing.

VOL=SER

For SL tapes, this parameter is handled in the standard manner. For NL or BLP tapes, the operator is asked to reply the volume serial number through a WTOR issued by CA 1. The operator's reply is compared to the volume serial number specified in JCL. If the comparison is equal, processing continues. If the comparison is unequal, the NL tape is demounted and a mount is issued for the volume specified in the JCL. If no volume serial number is specified (that is, nonspecific output), CA 1 uses the volume serial number supplied by the operator to access the TMC. In addition, the volume serial number is passed to the operating system in such a way that the actual volume serial number (as replied by the operator) appears on the SYSMSG listing even for NL nonspecific output.

The external tape number for NL tapes is supplied to CA 1 through an operator reply. NL nonspecific output tapes can be successfully cataloged. (The operating system without CA 1 generates a pseudo volume serial number for NL nonspecific output tapes, rendering MVS cataloging meaningless.)

DISP

CA 1 allows the recreation of a data set on the same volume if the data set name is exactly the same and the DISP parameter is changed from NEW to OLD or SHR.

LABEL

If either EXPDT or RETPD is specified as a subparameter of the LABEL parameter when a tape is created, that hold criteria is used to protect the data set. There are also several CA 1 EXPDT keywords and ACCODE parameter values which can be used to specify hold criteria. If no JCL retention is specified, the CA 1 Default Retention is used. Hold criteria specified in the Retention Data Set (RDS) can be used to override the CA 1 Default Retention, and, optionally, even JCL-supplied retention.

ACCODE

Certain CA 1 EXPDT keywords and processing options can be specified using the ACCODE JCL keyword. This allows placing Julian dates in the actual HDR1 of standard label tapes while specifying a CA 1 EXPDT keyword. Although ACCODE is primarily for 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.