Deleting a data set before its retention period passes

To delete a data set before the retention period has passed, use one of the following:
  • For data sets cataloged in an integrated catalog facility catalog, use the DELETE command, as described in z/OS DFSMS Access Method Services Commands.
  • For data sets not cataloged in an integrated catalog facility catalog, use the IEHPROGM utility, as described in z/OS DFSMSdfp Utilities.
  • For a non-VSAM data set, use the SCRATCH macro with the OVRD parameter, as described in z/OS DFSMSdfp Advanced Services.
  • The system operator can reply "u" to the IEC507D message prompt to delete unexpired data sets.
  • You can override the retention period for SMS-managed DASD data sets by specifying OVRD_EXPDT(YES) in the IGDSMSxx SYS1.PARMLIB member and specifying DELETE on the DD DISP statement. The data set will be deleted whether or not the retention period has passed. See z/OS MVS Initialization and Tuning Reference for information about the IGDSMSxx parmlib member.