Edit parameters define the output lines for a report. There are three types of edit parameters, as follows:
Header Line
A type 4 edit parameter defines a header output line; type 4 edit parameters are optional. Header output lines also result from auto-header specifications coded on type 5 or type 6 edit parameters.
Detail Line
A type 5 edit parameter defines a detail output line. At least one type 5 edit parameter is required for every report.
A type 5 edit parameter also performs automatic totaling. Automatic totaling accumulates the values of all numeric fields specified on type 5 edit parameters; the totals are output on total lines at every control break and at the end of the output phase. Automatic totaling is performed if the OUTPUT parameter does not specify a details-only report and if type 6 edit parameters are not coded for the report.
Total Line
A type 6 edit parameter defines a total output line; type 6 edit parameters are optional. Total lines are usually output at each control break and at the end of the output phase. Type 8 procedure logic can be used to control the output of total lines.
Each edit parameter describes the location and format of one output field:
Location
Location is determined by the following items:
Format
Format is determined by the following items:
The syntax for edit parameters appears on the following page.
|
Copyright © 2014 CA.
All rights reserved.
|
|