Function
The report description (RD) entry is used to name a report, define its page format, identify its lines, and for structuring the report. It may perform the following functions as required.
Specification of a character identifying the print lines of a report (CODE clause).
Declaration of a group hierarchy for structuring the report (CONTROL clause).
Definition of a page format by specifying vertical boundaries for report group specific regions (PAGE LIMIT clause).
Format
RD
report-name
[CODE clause]
[CONTROL clause]
[GLOBAL clause]
[PAGE LIMIT clause]
Syntax rules
RD is the level indicator, which identifies the beginning of the report description and must immediately precede the report-name.
The report-name must be specified in a REPORT clause of the file description entry for the file on which the report is to be written.
If the GLOBAL clause is specified in the report description entry, the data items referenced in the clauses of the report description entry and in the clauses of the report group description entries may not be defined in a LOCAL-STORAGE SECTION.
No more than 31 data-names may be specified in a CONTROL clause within a report description.
The report-name identifies the report and, accordingly, must be unique.
The RD entry clauses are described on the pages that follow.