Using the FREEVOL command for migration level 1 volumes

The FREEVOL command allows you to move data sets from a single ML1 volume to other ML1 volumes or to ML2 volumes. This command can be useful when converting to or from the use of SDSPs when the target is level 1. Selection of the target volumes can be manipulated by using the DRAIN parameter of the ADDVOL command. You can use the following commands to move data sets that exceed a certain age:
FREEVOL MIGRATIONVOLUME(volser) AGE(days)

FREEVOL MIGRATIONVOLUME(volser) AGE(days) -
   TARGETLEVEL(MIGRATIONLEVEL1)

FREEVOL MIGRATIONVOLUME(volser) AGE(days) -
   TARGETLEVEL(MIGRATIONLEVEL2)

FREEVOL MIGRATIONVOLUME(volser) AGE(days) -
   TARGETLEVEL(MIGRATIONLEVEL2(DASD))

 FREEVOL MIGRATIONVOLUME(volser) AGE(days) -
   TARGETLEVEL(MIGRATIONLEVEL2(TAPE))

If you use the data set backup functions BACKDS, HBACKDS, ARCINBAK, or ARCHBACK and run short of ML1 space, you can move BACKDS versions from all ML1 volumes to daily backup volumes by using the FREEVOL ML1BACKUPVERSIONS command.

In all forms of the command used in this topic, the value for the AGE parameter must be greater than zero. Processing of the commands is different for SMS-managed and non-SMS-managed data sets.