The CTTSBD utility determines placement for output data sets in the following way:
The CTTSBD utility first attempts to place the current data set on the current output volume chain (meaning, the chain on that the previous data set was stacked).
Data sets can be stacked on volumes (or multi-volume chains) created during a run of the CTTSBD utility even after the volumes have been dismounted.
Each volume chain considered as a possible location for the current data set is processed in the following way:
If a statement specified in any data set group definition does not allow the data sets to coexist in the same volume chain (due to group name, job name or data set name) the CTTSBD utility rejects the volume chain and attempts to place the data set on the next volume chain. (Data set group stacking parameters are described in detail later is this guide.)
Note: You can maximize media utilization by instructing the CTTSBD utility to create output volume chains containing a large number of volumes (using the OUTMVLIM parameter). You can also control the number of data sets in an output volume chain using the MAXLABEL parameter. If the specified maximum number of volumes in a chain is exceeded during the writing of a multi-volume data set (for example, due to an inaccurate prediction concerning data set length) the utility CTTSBD continues writing the data set on as many volumes as required.
Note: Exit CTTX011 (if implemented) is invoked at various stages in the above process to modify or force a stacking decision. For more information, see Exit CTTX011 and the CTTX011 member in the IOA SAMPEXIT library.
Parent Topic |