Batch Program Flow Example

This is an example of an implementing transaction master business functions during single-record processing in a batch application:

  1. Do Section of Report Header.

    Call Begin Document.

  2. Do Section of the Group Section.

    Call Edit Line.

  3. Do Section of a Conditional Section (optional).

    Call Edit Document.

  4. Do Section of Report Footer.

    Call End Document.