Examples of how to code the MIGRATE command for SMS-managed data sets
The following examples present different ways to code the MIGRATE command.
Note: Any values specified here are only examples and should not be
interpreted as the values to be used for your system.
Migration of eligible data sets from a specified volume
In this example, migration is requested
for all eligible data sets on the specified volume. Eligibility is
determined by each data set’s management class.
MIGRATE VOLUME(SMS003)
Removing all data sets eligible to migrate from an SMS-managed level 0 volume
The following
command migrates all eligible data sets from the specified volume.
Those data sets meeting their management class expiration attribute
values are expired.
MIGRATE VOLUME(SMS003) CONVERT
Performing class transitions for all eligible data sets in a storage group
The following
command performs class transitions for all eligible data sets in the
specified storage group. The TRANSITIONONLY keyword specifies that
only class transitions are performed, and no migrations.
MIGRATE STORAGEGROUP(STG004) TRANSITIONONLY