Examples of how to code the SETMIG command

The following examples present different ways to code the SETMIG command.

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Changing the space management status of a specific data set

In this example, the space management status of a particular data set is changed to prevent space management by volume processing or data set command.
   SETMIG DATASETNAME(FST1234.COMPARE.REPORT) NOMIGRATION

Changing the space management status of a group of data sets

In this example, the space management status of a group of data sets with the same first qualifier of the data set name is changed to prevent space management by volume processing or by command.
   SETMIG LEVEL(JJT2143) NOMIGRATION

Changing the space management status of a volume

In this example, the space management status of a DFSMShsm-managed volume is changed to allow automatic and command space management, which was previously restricted, to occur from the volume.
   SETMIG VOLUME(VOL123) MIGRATION

Changing the space management status of a group of data sets to allow space management only by command

In this example, the space management status of a group of data sets is changed to allow space management of a data set only when requested by a command.
   SETMIG LEVEL(MIL3691.REV3) COMMANDMIGRATION
This command would apply to all the data sets listed here:
  • MIL3691.REV3
  • MIL3691.REV3VER2.LISTING
  • MIL3691.REV3456.TEST
  • MIL3691.REV3TST.EXAM.LIST