Introduction to Report Definition

The Batch Job System performs all report handling. For all application batch programs, report definition and formatting are performed outside of the application program.

Report handling consists of two processes:

  • The report compiler (rptgen), which compiles the 4GL report definitions, loads the report specifications into the RptMap file and creates a COBOL working storage library for the application report program.

  • The batch job system formats the report lines and creates the print files for the report program when you run the report.

    See this section For information on
    Report Definition File

    The report definition file (ProgramCode .rpt file)

    Report Definition Library The report definition library built from the report definition file (ProgramCode .rd)
    Compiling a Report Compiling a report with the report compiler (rptgen)
    Generating Detail Code in Report Files Adding $DETAIL areas and code to reports
    Changing Page Breaks Before the Banner Page Changing the way a page breaks before a banner page prints