Allocating Space

An indexed sequential data set has three areas: prime, index, and overflow. Space for these areas can be subdivided and allocated as follows:

As your data set is allocated, the operating system builds the track indexes in the prime data area. Unless you request a separate index area or an imbedded index area, the cylinder and master indexes are built in the independent overflow area. If you did not request an independent overflow area, the cylinder and master indexes are built in the prime area.

If an error is found during creation of a multivolume data set, the IEHPROGM utility program should be used to scratch the DSCBs on the volumes where the data set was successfully allocated. You can use the IEHLIST utility program to determine whether part of the data set has been allocated. The IEHLIST utility program also determines whether space is available or whether identically named data sets exist before space allocation is attempted for indexed sequential data sets. These utility programs are described in z/OS DFSMSdfp Utilities. Table 1 lists the criteria for requesting indexed sequential data sets.

Table 1. Requests for indexed sequential data sets
Index Size Coded? Restrictions on Unit Types and Number of Units Resulting Arrangement of Areas
n/a None Separate index, prime, and overflow areas. See Specifying an Independent Overflow Area.
n/a None Separate index and prime areas. Any partially used index cylinder is used for independent overflow if the index and prime areas are on the same type of device. See Specifying a Separate Index Area.
No None Prime area and overflow area with an index at its end. See Specifying a Prime Area and Overflow Area.
Yes Prime area cannot have more than one unit. Prime area, imbedded index, and overflow area. See Specifying a Prime Area and Overflow Area.
No None Prime area with index at its end. Any partially used index cylinder is used for independent overflow. See Prime Data Area.
Yes Prime area cannot have more than one unit. Prime area with imbedded index area; independent overflow in remainder of partially used index cylinder. See Prime Data Area.