Space management consists of removing appropriate data sets from the level 0 volumes and reducing the space occupied on the level 0 volumes by the data sets that remain there. In removing the data sets, you can have DFSMShsm either delete them entirely, migrate them to migration DASD or tape volumes, or transition them to other user-accessible DASD volumes. If you move the data sets to migration DASD or tape volumes (ML1 or ML2), they can still be automatically deleted from the migration volumes when they expire.
As space management processes each volume, it first tries to make space on the volume by deleting expired and temporary data sets and by releasing over-allocated space in data sets that cannot be deleted. During extent reduction, DFSMShsm releases any unused space in the data set, both internal and on the end, and places the data set on the same volume in as few extents as possible. If deleting data sets and releasing space does not make enough space available, DFSMShsm uses the management class to determine which data sets are eligible to transition to a different level 0 volume and which data sets are eligible to move to a migration volume.
ML2 volumes can be either DASD or tape. You can issue a DFSMShsm command to move data sets from DASD ML2 volumes to tape ML2 volumes. As data sets on tape ML2 volumes become not valid, you can recycle the valid data sets to other tape ML2 volumes.
Recall, the reverse of migration, moves data sets from ML1 or ML2 volumes to level 0 volumes. With the recall function, DFSMShsm returns data sets to storage groups as specified by SMS, whether the data set migrated from a volume in a storage group or not. This allows data sets that migrated before they were SMS-managed to be put under SMS management during recall. If a data set is recalled to an SMS-managed EAV volume, then the EATTR attribute of the data set is taken into consideration for level 0 volume selection.