Deleting backup versions of specific data sets

Because non-SMS-managed data sets can be either cataloged or uncataloged and because you can have both cataloged and uncataloged backup versions with the same data set name, DFSMShsm provides the ability to specify that you want to delete the backup versions of the uncataloged data set. Issue the following commands to delete backup versions of uncataloged data sets:
BDELETE (dsname ...) ALL
   FROMVOLUME(volser)
 
BDELETE (dsname ...) 
   VERSIONS(backup version number ...) -
   FROMVOLUME(volser)
 
HBDELETE (dsname ...) ALL
   FROMVOLUME(volser)
 
HBDELETE (dsname ...) -
   VERSIONS(backup version number ...) -
   FROMVOLUME(volser)
DFSMShsm deletes the uncataloged backup versions that were made from the data sets with the specified name on the specified volume.

The MCB record is not deleted when no existing backup versions exist if the data set is not SMS-managed and if the MCB record contains any ALTERDS information.