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


Examples of the EXPDT parameter

z/OS MVS JCL Reference
SA23-1385-00

Example 1
//DD7  DD  DSNAME=TOM1,DISP=(NEW,KEEP),EXPDT=2006/033,
//         UNIT=SYSDA,SPACE=(TRK,(1,1)),VOLUME=SER=663344

In this example, the data set is not eligible for being deleted or written over until February 2, 2006.

Example 2
//SMSDS2  DD  DSNAME=MYDS2.PGM,DATACLAS=DCLAS02,DISP=(NEW,KEEP),
//            EXPDT=2001/033

In this example, the expiration date of February 2, 2001 overrides 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