Specifying the order in which data sets from a single tape are processed

You can use the SETSYS TAPEDATASETORDER command to specify the order in which you want DFSMShsm to recall or recover data sets from a tape. The command provides the installation with additional flexibility to handle circumstances in which ascending FBID order offers significant reduction in tape repositioning.

To recall data sets in ascending FBID order, enter the following command:
SETSYS TAPEDATASETORDER(RECALL(FBID))
To recall data sets in PRIORITY order, enter the following command:
SETSYS TAPEDATASETORDER(RECALL(PRIORITY))
You can specify the order in which data sets are recovered from a tape, by using the following command:
SETSYS TAPEDATASETORDER(RECOVER(FBID | PRIORITY))

When deciding whether to specify PRIORITY or FBID, you should consider that a lower priority request might be processed prior to a higher priority request. If you do not specify the TAPEDATASETORDER option, DFSMShsm uses PRIORITY as default. For more information about the TAPEDATASETORDER, see TAPEDATASETORDER: Specifying order for processing tape.