Skip to main content

Module report

Module report 

Source
Expand description

The report writer at compile time. Enterprise COBOL runs Report Writer only as the Report Writer Precompiler’s generated COBOL (numeric::assumptions::REPORT_WRITER_PRECOMPILER), and this follows it: each report’s lines and fields are placed; its report control area (PAGE-COUNTER, LINE-COUNTER, the writer’s own state and saved controls), its printed fields and its SUM totals become WORKING-STORAGE (numeric::assumptions::REPORT_CONTROL_AREA); and every name is resolved. machine::report runs the result.

Modules§

state
Offsets in a report’s state item. The item starts as X’00’, so every flag starts false.

Structs§

Control
Field
Group
Line
Page
The page regions, with the precompiler’s defaults applied.
Report
Subtotal
Sum
Writer
The reports of one program.

Enums§

Adding
FieldContent
GroupKind
Origin
What an entry adds to a total when its group is produced.

Functions§

generate_target
The report and DETAIL group a GENERATE names: a report alone for summary reporting.
span
The rows of a relative group from the line before its first to its last.