The Report Definition

The report definition uses a REPORT program block to format the input records.

REPORT is global in scope. It is not, however, a function; it is not reentrant, and CALL cannot invoke it.

The code within a REPORT program block consists of several sections, which must appear in the order shown.