Explanation: EXPDT(ccyyddd ) and RETPD(nnnn) are mutually exclusive, optional parameters specifying either an expiration date or a retention period for the alternate tape volume. The date is placed in the tape label but has no relation to when DFSMShsm will remove the tape from its inventory. The alternate tape is deleted by DFSMShsm at the same time the original is deleted.
EXPDT is an optional parameter that specifies a different expiration date (other than 1999365) for the alternate tape volume. The date is checked for validity, and the entire command is rejected if the test fails. Date limits for ccyyddd are from the current date to 31 December 2155.
Values for ccyyddd of 1999365 and 1999366 are recognized as “never expire” dates. Values of 1998000 and 1999000 are recognized as meaningful to certain tape management systems.
RETPD is an optional parameter that sets the expiration date by specifying a retention period. The valid range is 0–9999. RETPD is converted to an expiration date and is processed as described under EXPDT.
Defaults: None.
Conditions | DFSMShsm... | |||
---|---|---|---|---|
Is an expiration date specified in the INDATASET record? | Is an expiration date specified on the TAPECOPY command? | Is the SETSYS TAPESECURITY (EXPIRATION) command in effect? | Is an expiration date specified for the original volume? | |
no | no | no | no | Does not protect the alternate volume with an expiration date. |
no | no | no | yes | Uses its default date of 1999365. |
no | no | yes | no | |
no | no | yes | yes | |
no | yes | no | no | Uses the expiration date specified on the TAPECOPY command. |
no | yes | no | yes | |
no | yes | yes | no | |
no | yes | yes | yes | |
yes | no | no | no | Uses the expiration date specified in the INDATASET record. |
yes | no | no | yes | |
yes | no | yes | no | |
yes | no | yes | yes | |
yes | yes | no | no | |
yes | yes | no | yes | |
yes | yes | yes | no | |
yes | yes | yes | yes |