RETPD

The RETPD keyword specifies the retention period for a data set.

Syntax

Read syntax diagramSkip visual syntax diagramRETPD=(nnnn$NULL,op)

RETPD=(nnnn|$NULL,op)

Where:

nnnn is an integer (0 - 9999) that specifies the number of days to retain the data set.

Note: If you specify EXPDATE and RETPD, the EXPDATE keyword takes precedence.

Because the same internal field is used by the system to store the EXPDATE and RETPD value, if one or the other is specified in the JCL or DEFINE, the EXPDATE or RETPD keyword can be used as a selection criterion provided the proper date format is specified. For example, if you specify a RETPD of 1 and the creation date was 2008001 as expressed in EXPDATE format, the value of the field as stored internally by the system is 2008002. Therefore, either of the following selection criteria match:

RETPD=1
EXPDATE=2008002

Default

None.

Environments

ACS, ALLOCATE, EXTEND, UNALLOCATE, STOW, and CATCHECK.

JCL equivalent

DD01 DD RETPD=100

IDCAMS equivalent

DEFINE CLUSTER(FOR(200) ...)

Data class equivalent

Retpd or Expdt.

Related Enhanced Allocation Management function

SET_RETPD

Example

RETPD=365