DATASETNAME, LEVEL, and VOLUME: Changing the space management status

Explanation

DATASETNAME(dsname), LEVEL(qualifier), and VOLUME(volser) are mutually exclusive, required parameters to change the space management status of a data set, group of data sets, or volume.
DATASETNAME(dsname)
Changes the space management status of a data set on a level 0 volume.
dsname
Fully qualified name of the data set whose space management status is changing.
LEVEL(qualifier)
Changes the space management status of a group of data sets that have the same set of initial characters of the data set name. The data sets are on level 0 volumes.
qualifier
First qualifier of the data set name or any number of contiguous characters, beginning with the first character of the data set name for a group of data sets whose space management status is changing. In other words, any number of leading characters of a data set name can be specified, and the last set of characters can be a partial qualifier.
VOLUME(volser)
Changes the space management status of the primary volume.
volser
Serial number of the volume. If you specified the AUTOMIGRATION parameter of the ADDVOL command for this volume, you can use the VOLUME parameter of the SETMIG command to temporarily exclude the volume from automatic primary space management. Even if you temporarily exclude the volume from automatic primary space management, you can still issue commands to migrate a specific data set on the volume.

Defaults

None.

Usage notes:
  1. DFSMShsm does not handle partitioned data set members individually. If you specify a partitioned data set with a member name, DFSMShsm changes the status of the entire partitioned data set.