Controlling migration of data sets and volumes

You can use the SETMIG command to control migration for specific data sets, groups of data sets, or volumes. The control you can exercise is to allow all migration, to allow migration only by command, or to allow no migration. For example, if you issue the following command:
SETMIG VOLUME(GP0002) NOMIGRATION
no migration can occur from volume GP0002 until the SETMIG command is reissued to allow migration or until DFSMShsm is reinitialized. The SETMIG command for volumes and data sets is not normally included in the ARCCMDxx member. The SETMIG command for levels (groups of data sets) is typically included in the ARCCMDxx member.