When the user program is invoked

The user program can be invoked at nine different points during the processing of the EXTRACT command by DFHCSDUP. However, your program is invoked at all of these points only if you specify both LIST and OBJECTS on the EXTRACT command. The invocation points are as follows:
  1. At the beginning of EXTRACT processing. This is to allow for activities such as file opening and storage acquisition.
  2. At the beginning of LIST processing, but only if you have specified a LIST value on the EXTRACT command.
  3. At the start of every group being processed by the EXTRACT command.
  4. At the start of each object (that is, resource type—TERMINAL, PROGRAM, and so on) that is being processed, to allow for selection on an object or group basis.
    Note: If you have specified LIST but not OBJECTS on the EXTRACT command, this invocation does not occur.
  5. For every keyword (attribute) in the extracted object, but only if you have specified OBJECTS on the EXTRACT command. This is to allow for the detailed processing that may be necessary for cross-referencing.
  6. At the end of every object—that is, when all of the keywords within an object have been processed. This is to allow for the processing of data built up from the detailed items, and it occurs once for each object.
  7. At the end of every group, to allow for processing of the accumulated data.
  8. At the end of LIST processing, if you have specified a LIST value on the EXTRACT command.
  9. When EXTRACT processing is complete, to allow for closing of files, release of storage, and so on.


dfha393.html | Timestamp icon Last updated: Sunday, 4 June 2017