Previous Topic: Displaying the Report Device DesignNext Topic: Exercise - Updating the Report Layout


The Default Report Device Design

Initially, the report device design should look like the one shown.

The default layout is obtained in a similar way to the previous Print File function. The access path has a non-unique key. A heading and total format are provided for each key of the access path. All the fields from the access path format are output on the detail line records, except for the key fields, which are hidden.

A PRTOBJ function is an internal function. It does not represent a complete report and must be embedded within an existing Print File function. The embedding Print File defines the standard header format, page size, and additional details for the combined report.