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

Deleting a data set before its expiration date

z/OS MVS JCL Reference

To delete a data set (and make the space occupied by the data set available for reallocation) before the expiration date has passed, use one of the following methods:
  • 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.
  • Use the SCRATCH macro with the OVRD parameter, as described in z/OS DFSMSdfp Advanced Services. If the data set is SMS-managed, this also uncatalogs the data set.
  • If the storage administrator specified OVRD_EXPDT(YES) in the IGDSMSxx member of SYS1.PARMLIB, you can override the expiration date for SMS-managed DASD data sets by specifying DELETE on the DD DISP parameter. The system will delete the data set whether or not it has expired. See z/OS MVS Initialization and Tuning Reference for information about the IGDSMSxx parmlib member.

Go to the previous page Go to the next page

Copyright IBM Corporation 1990, 2014