Examples of the RETPD parameter

Example 1
//DD1  DD  DSNAME=HERBI,DISP=(NEW,KEEP),UNIT=TAPE,
//         VOLUME=SER=T2,LABEL=(3,NSL),RETPD=188

In the example, the data set is not eligible for being deleted or written over for 188 days.

Example 2
//SMSDS2  DD  DSNAME=MYDS2.PGM,DATACLAS=DCLAS02,DISP=(NEW,KEEP),
//          RETPD=732

In the example, the retention period of 732 days overrides the retention period defined in the data class for the data set.