z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


EXPDT parameter

z/OS MVS JCL Reference
SA23-1385-00

Parameter type

Keyword, optional

Purpose

Use the EXPDT parameter to specify the expiration date for a new data set. On and after the expiration date, the data set can be deleted or written over by another data set.

Note: You may specify a past date; this would not be an error condition.

If the DD statement contains DISP=(NEW,DELETE) or the DISP parameter is omitted and defaults to NEW and DELETE, the system deletes the data set when the step terminates, either normally or abnormally, even if you have specified an expiration date.

Do not specify EXPDT for a temporary data set.

The EXPDT parameter achieves the same result as the RETPD parameter.

Code the EXPDT parameter when you want to specify an expiration date for the data set, or, with SMS, override the expiration date defined in the data class for the data set.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014