You can use DFSMShsm to move data sets from one DASD ML2 volume to other ML2 volumes. The FREEVOL command is used to move the data sets.
FREEVOL MIGRATIONVOLUME(volser)
FREEVOL MIGRATIONVOLUME(volser) -
TARGETLEVEL(MIGRATIONLEVEL2)
FREEVOL MIGRATIONVOLUME(volser) -
TARGETLEVEL(MIGRATIONLEVEL2(DASD))
FREEVOL MIGRATIONVOLUME(volser) -
TARGETLEVEL(MIGRATIONLEVEL2(TAPE))
FREEVOL MIGRATIONVOLUME(volser) AGE(0)
FREEVOL MIGRATIONVOLUME(volser) -
TARGETLEVEL(MIGRATIONLEVEL2) AGE(0)
FREEVOL MIGRATIONVOLUME(volser) -
TARGETLEVEL(MIGRATIONLEVEL2(DASD)) AGE(0)
FREEVOL MIGRATIONVOLUME(volser) -
TARGETLEVEL(MIGRATIONLEVEL2(TAPE)) AGE(0)
FREEVOL MIGRATIONVOLUME(volser) AGE(days)
FREEVOL MIGRATIONVOLUME(volser) -
TARGETLEVEL(MIGRATIONLEVEL2) AGE(days)
FREEVOL MIGRATIONVOLUME(volser) -
TARGETLEVEL(MIGRATIONLEVEL2(DASD)) AGE(days)
FREEVOL MIGRATIONVOLUME(volser) -
TARGETLEVEL(MIGRATIONLEVEL2(TAPE)) AGE(days)
For the forms of the command with no AGE specified or with AGE(0) specified, DFSMShsm migrates all SMS-managed and non-SMS-managed data sets to other ML2 volumes. For the forms of the command with an age greater than 0 specified, DFSMShsm moves only the data sets that are equal to or exceed the specified inactive age. The category of volume is specified by the TARGETLEVEL(MIGRATIONLEVEL2) parameter. If a device category is specified with the MIGRATIONLEVEL2 subparameter, the data sets migrate to volumes of that device category. If no device category is specified with the MIGRATIONLEVEL2 subparameter, the data sets migrate to the device category specified by the TAPEMIGRATION parameter of the SETSYS command.