SET_EXPDATE

The SET_EXPDATE keyword specifies an expiration date for a data set.

Syntax

Read syntax diagramSkip visual syntax diagramSET_EXPDATE=yyyyddd$DCOC$DCOU

SET_EXPDATE=yyyyddd|$DCOC|$DCOU

Where:

yyyyddd is a Julian date and yyyy is a four-digit year and ddd is a three-digit day.

Note: If you specify SET_EXPDATE and SET_RETPD, SET_EXPDATE takes precedence.

Default

None.

Environments

ALLOCATE

JCL equivalent

DD01 DD EXPDT=2009/003

IDCAMS equivalent

DEFINE CLUSTER(TO(2009003) ..)

Data class equivalent

Retpd or Expdt.

Related selection criteria

EXPDATE

Example

In the following example, the expiration date is the third day of 2009:

SET_EXPDATE=2009003