MODDELET—remove specific volume for MOD-DELETE data set deletion
The MODDELET function removes a specific volume assignment from a data set that is deleted by a DISP=(MOD,DELETE,DELETE) setting.
A convenient and widely used method of deleting possibly-nonexistent data sets is specification of DISP=(MOD,DELETE,DELETE) in JCL. If the data set exists, it is found in the catalog and deleted. If the data set does not exist, it is created and then deleted. In either case, a data set which may or may not exist will be deleted, with no JCL errors. In some situations, however, a specific volume assignment is included in the MOD-DELETE job step. With MainView SRM pooling active, the data set to be deleted might not be on that volume, resulting in failure to delete the data set.
The MODDELET function removes the specific volume assignment from job steps that use the MOD-DELETE deletion method, allowing the operation to proceed normally.
For more information, see: