Previous Topic

Next Topic

Book Contents

Book Index

Determination of Output Data Set Location

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:

  1. The data set group definition associated with the current data set is compared with the data set group definition of each data set on the candidate volume chain.

    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.)

  2. The CTTSBD utility searches the data set group definitions for a WITHGRP statement that indicates that the current data set must be stacked together with the data sets on the candidate volume chain. An appropriate WITHGRP statement can exist in the data set group definition of the current data set and/or a data set on the candidate volume chain. (WITHGRP statements are described in detail later in this guide.)

Parent Topic

CTTSBD – Perform Data Set Stacking in Batch Mode