Processing

Figure 1 shows the dump utility program interfaces.
Figure 1. Dump utility program interfaces
This figure shows how the dump utility program works, as explained in the text.
The overall flow of the processing within DFHDU710 is as follows. Unless otherwise indicated, all processing is performed by DFHDUPR, the main component of DFHDU710.
  1. Process the EXEC parameters if they are present.
  2. Call DFHDUPP to open the print data set DFHPRINT.
  3. Open the dump data set DFHDMPDS.
  4. Read the dumps from DFHDMPDS. For each dump there are four categories of records:
    Dump header record
    Call DFHDUPS to see whether this dump is required for printing. On the first time through, DFHDUPS reads the selective print information from SYSIN. DFHDUPS also calls DFHDUPH to add the dump to the dump index data set DFHTINDX. DFHDUPH opens DFHTINDX on its first invocation.
    Module index records
    DFHDUPM is called to accumulate the module index information in a table in main storage.
    Other data records
    The data is formatted into print lines and DFHDUPP is invoked to write them to DFHPRINT.
    Dump trailer record
    DFHDUPM is invoked to sort and format the module index records. DFHDUPP is called to write them to DFHPRINT.
  5. When the end of the dump data set is encountered:
    1. DFHDUPP is called to close DFHPRINT.
    2. DFHDUPH is called to close DFHTINDX.
    3. DFHDUPR closes DFHDMPDS.
  6. DFHDU710 terminates.


dfhs3c00299.html | Timestamp icon Last updated: Monday, 5 June 2017