Batch Program Flow Example
This is an example of an implementing transaction master business functions during single-record processing in a batch application:
Do Section of Report Header.
Call Begin Document.
Do Section of the Group Section.
Call Edit Line.
Do Section of a Conditional Section (optional).
Call Edit Document.
Do Section of Report Footer.
Call End Document.