Chapter 12. CONTROL BREAK PROCESSING
Upon completion of this chapter, you should be able to
Define the term "control field" as it relates to control break processing.
Describe and demonstrate how logical files are used in control break programs.
Describe and demonstrate the use of single-level and multiple-level control break programs.
DETAIL AND SUMMARY REPORTS
Thus far, we have focused on detail printing, in which one or more lines are printed for each input record read. Sometimes, however, a user may request that a report include total or summary lines for a group of records. As the name suggests, a summary or group report summarizes totals that provide more comprehensive and meaningful information for the user than a detail or exception report.
The report in Figure 12.1 is an example of a summary report in which the total hours worked for each department are summarized and printed. In addition, the total company hours are accumulated and printed at the bottom on the report. Summary printing can be performed either in place of, or in addition to, detail printing.
Figure 12.1. Example of a summary report.
Quite often reports include detail and summary information. For example, in Figure 12.2 each employee is listed showing the number of hours worked. In addition, a summary of the total hours for each department is printed for each department.
Figure 12.2. Example of a report ...