Input and output for the Tune function

The Tune function is invoked by the TUNE command in the HFPSYSIN DD control statement.

The SORT program can be invoked internally to achieve better performance by eliminating the SORTIN and the SORTOUT file I/O operations.

The following figure shows the input and the output for the Tune function.

Figure 1. Input and output for the Tune function
This figure depicts the typical input and the output data sets for the Tune function. Details about the data sets are described in this topic.
The flow of the Tune process is as follows:
  1. Scans the database and generates analysis records.
  2. Using the analysis records and the DMB, calls the randomizer to simulate the new areas and the RAP number for each database record.
  3. The function internally establishes an area model, if necessary, calls the segment edit/compression routines to compress the segments, then inserts the segments into the model, and generates analysis records of the simulated areas.
  4. Based on the two sets of analysis records, generates a tuning summary report and a set of analysis reports.