Introduction to Report Definition

The Batch Job System performs all report handling. For all application batch programs release 7.0 and up, 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 report definition copybook 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 source file ( xxxxxP.PRNT)

    Report Definition Copybook The report definition copybook built from the report definition source file (xxxxxPRD.COPYILE)
    Compiling a Report Compiling a report with the report compiler (rptgen)
    Modifying Job Parameters Programmatically Programmatically modifying parameters for multiple-step jobs that were defined through the Job Definition utility (jobdef).