Table 1 shows what happens when you specify one of these commands or use the IEHPROGM utility to delete a migrated data set.
Command or Utility | Result |
---|---|
DFSMShsm DELETE, Access Method Services DELETE, TSO DELETE or IEHPROGM utility SCRATCH function for SMS-managed data set | Scratches a data set on a DASD migration
volume without recalling the data set or marks the data set not valid
in the TTOC for any tape ML2 volumes that contain the data set. DFSMShsm
then uncatalogs the data set. DFSMShsm deletes all control data set
records related to the migration copy. If the data set is migrated
to an SDSP, the MCD is updated to indicate that the migration copy
needs to be scratched. If a discrete RACF® data set profile exists, DFSMShsm deletes it.
Note:
|
IEHPROGM utility SCRATCH function for non-SMS-managed data set | Scratches a migrated data set if:
DFSMShsm scratches the migration copy of the data set and deletes the MCDS data set record. The data set remains cataloged. |
If the deleted data set has backup versions, DFSMShsm keeps the backup versions.
If a data set has been deleted by one of the preceding commands and you want to recover a backup version of the data set, see Data set recovery and restore.