Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Full-Track-Index Write Option z/OS DFSMS Using Data Sets SC23-6855-00 |
|
When creating an indexed sequential data set, you can improve performance by using the full-track-index write option. You do this by specifying OPTCD=U in the DCB. OPTCD=U causes the operating system to accumulate track index entries in virtual storage. The full-track-index write option can be used only for fixed-length records. If you do not specify full-track-index write, the operating system writes each normal overflow pair of entries for the track index after the associated prime data track has been written. If you do specify full-track-index write, the operating system accumulates track index entries in virtual storage until either (a) there are enough entries to fill a track or (b) end-of-data or end-of-cylinder is reached. Then the operating system writes these entries as a group, writing one group for each track of track index. The OPTCD=U option requires allocation of more storage space (the space in which the track index entries are gathered), but the number of I/O operations required to write the index can be significantly decreased. When you specify the full-track-index write option, the track index entries are written as fixed-length unblocked records. If the area of virtual storage available is not large enough the entries are written as they are created, that is, in normal overflow pairs. Example: The example in Figure 1 shows the creation of an indexed sequential data set from an input tape containing 60-character records. Figure 1. Creating an Indexed Sequential Data Set
Rest of error checking Error routine End-of-job routine (EODAD FOR IPDATA)
The key by which the data set is organized is in positions 20 through 29. The output records will be an exact image of the input, except that the records will be blocked. One track per cylinder is to be reserved for cylinder overflow. Master indexes are to be built when the cylinder index exceeds 6 tracks. Reorganization information about the status of the cylinder overflow areas is to be maintained by the system. The delete option will be used during any future updating. |
Copyright IBM Corporation 1990, 2014
|