Version 7.4.4
 —  Utilities  —

TEMP Dataset Space Usage

ADALOD uses the TEMP dataset to store the following information:


Sequential TEMP Dataset

If the TEMP dataset is filled while collecting descriptor values from the input dataset, ADALOD temporarily writes the remaining descriptors to the sequential temp file DD/FILEA (if specified in the JCL). The descriptors are later read back in when the new index is built.

If actually called, DD/FILEA makes ADALOD operation considerably slower than specifying a TEMP dataset that is large enough to hold all descriptor values. The DD/FILEA TEMP dataset should normally be used only as a "safety net" to ensure adequate space for all descriptors during ADALOD operation. Specifying the DD/FILEA TEMP file therefore avoids an ADALOD abend caused by a temp area overrun.

Notes:

  1. ADALOD writes only descriptor values from the DD/EBAND input file to DD/FILEA.
  2. The normal TEMP dataset must be large enough to hold all values for each single descriptor.
  3. The estimated number of TEMP blocks for ADALOD UPDATE may need to be adjusted upwards if forward index compression is in effect for the file since the NI is written to the TEMP data set without forward compression.

If you are running ADALOD UPDATE only to delete ISNs, the size of the TEMP dataset must be calculated as the sum of the calculations in the following three steps:

  1. Part 1 of TEMP dataset contains:

  2. Part 2 of the TEMP dataset contains the list of ISNs to be deleted, plus the belonging DS-RABNs, 8 bytes per element. Calculate:

    (8 * to-be-deleted-ISNs) / (TEMPBLKSIZE - 16) = needed-blocks
    
  3. Part 3 contains the complete NI:

    count NI-BLKS * ASSOBLKSIZE) / (TEMPBLKSIZE - 16) = needed blocks
    

Top of page