If a device category is specified by the MIGRATIONLEVEL2 subparameter of the TARGETLEVEL parameter, DFSMShsm migrates the data sets to the category of device specified by the MIGRATIONLEVEL2 subparameter. If the MIGRATIONLEVEL2 subparameter does not specify a device category, DFSMShsm migrates the data sets to the category of device specified by the TAPEMIGRATION parameter of the SETSYS command.