Previous Topic: Basic Report ProcessingNext Topic: Interleaved Report Processing


Stacked Report Processing

Stacked reports are processed as follows:

  1. Output records for a page accumulate in memory until either
  2. Exclusive segments within the report identification text are examined in order by report for a match.
  3. The beginning definitions of overlapping segments within the report identification text are examined for matches.
  4. The page is written to any report with a currently selected segment.

    If no reports have currently selected segments, the page is discarded (only if the undefined report identifier UNDEF, which is described later in this guide, is not used).

  5. Currently selected segments are identified as used, and in the case of non-reusable segments, are no longer examined when searching for subsequent matches.
  6. The ending definitions of overlapping segments within the report identification text are examined for matches.

    Any overlapping segment for which a match is found is unmarked (that is, not currently selected).