Explanation: RETAINDAYS is an optional parameter
specifying a number of days to retain a specific backup copy of a
data set. If you specify RETAINDAYS, number of retain days is a required
parameter that specifies a minimum number of days (0–
50000)
that DFSMShsm retains the backup copy. If you specify 99999, the data
set backup version never expires. Any value greater than 50000 (and
other than 99999) causes a failure with an ARC1605I error message.
A retain days value of 0 indicates that:
- the backup version might expire within the same day that it was
created if EXPIREBV processing takes place or when the next backup
version is created,
- the backup version is kept as an active copy before roll-off occurs,
- the backup version is not managed as a retained copy.
Restriction: RETAINDAYS applies only to cataloged
data sets.
Defaults: None.
Related reading: For more information about
the RETAINDAYS processing, see Specifying the number of days to retain a backup copy of a data set.