DFSMSrmm uses the earliest date for a data set as the retention
date for the data set. DFSMSrmm sets the retention date for the data
set by using the current vital record subchain as follows.
- CATRETPD, when the WHILECATALOG retention type retains CATRETPD,
but is not yet cataloged.
- The earliest actual date. The actual date is the day on which
the current matching vital record specification no longer retains
the data set. If a data set is permanently retained, the retention
date is set to PERMANENT and not 1999/365. DFSMSrmm sets the retention
date based on one of these dates.
- The date a data set is created or last referenced when the DAYS
or LASTREFERENCEDAYS retention type is specified.
- The date the name vital record specification starts to retain
the data set when the EXTRADAYS retention type is specified.
- The volume expiration date, if the UNTILEXPIRED retention type,
is specified.
- The vital record specification deletion date if a DELETEDATE other
than DELETEDATE(1999/365) is specified.
- WHILECATLG, if WHILECATALOG is specified.
- 'CYCL/ccccc', if BYDAYSCYCLE or CYCLES is specified.
- PERMANENT, which specifies that the data set is retained forever.
Note: DFSMSrmm uses the retention date that is the earliest when a
data set matches both a primary and a secondary vital record specification,
is still eligible for retention, and the primary vital record specification
includes the UNTILEXPIRED retention type.