Example: Marketing wants each section of its departmental sales report to have its own heading. The heading will consist of one line containing an identifying label for each column of data. The heading will begin printing in column one.
The following figure shows the header that is generated by the above HEADER3 subparameter.
Explanation: The HEADER3 subparameter on the SECTIONS parameter generates a header that prints at the beginning of each section. Its primary purpose here is to provide labels for the columns of data that appear in each section. Each of the number-colon entries (c:) specifies the column in which the entry following it should begin to print. Thus, the literal string 'DEPARTMENT' begins to print in column 1, the literal string 'SALES MGR' begins to print in column 23, and so on. Blanks are automatically inserted in the space between the columns that are specified. On the OUTREC parameter a blank has been inserted in column 114 (114:C' ') so that the output record length will equal that of the header. Note that if the HEADER3 in this example were used in conjunction with the preceding HEADER2 example, there would be no need to specify the labels for the columns of data in the HEADER2.