Generating Report Files and Code

Once you have finished working in the Report Composer to create the code that populates your report, the next step is to generate your program. Varying degrees of code modification will then be necessary. The exact code changes required will depend on whether or not you defined and coded report and report element events, as described in Adding Report and Report Element Events.

When you generate the program, AcuBench places your event code in the .evt copybook. The rest of the report generation code is written to the .rpt copybook. (By default, this COPY file is placed in the Report folder in the File view.)

The following sections detail the code that is generated under several different circumstances including:

These sections also describe the code modifications that are necessary under each circumstance.