Code statements that execute before HEADING or FOOTING report groups print. You name the report group in the Report Section
of the Data Division. You can specify special processing requirements, including calculations in addition to those specified
in the SUM clause, and edits to a report line.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
See also the
DECL and
DPAR keywords for creating Declarative Section statements, paragraphs, and sections.
Syntax:
USE BEFORE REPORTING identifier
Parameter:
identifier
|
Designate a HEADING or FOOTING report group.
Identifier cannot appear in more than one USE BEFORE REPORTING.
|
Example:
NTRY OPEN INPUT
OPEN OUTPUT
PERFORM MAIN-PARA
DPAR SUPPRESS-CH-REGION SECTION
USE BEFORE REPORTING CH-REGION
DPAR SUPPRESS-CH-REGION-PARA
IF FIRST-FLG = TRUE
SUPPRESS PRINTING
Comments: