Headers are used to provide report, page, and section headings such as titles, page numbers, the current date, labels for each column of data, and the like. Similarly, trailers are used for report, page, and section summaries. You can use them, for example, to provide totals for columns of numeric data (see Totaling and Subtotaling Data) or to indicate the end of a section with, say, a string of asterisks or to provide a list of abbreviations used in the report.
To generate Headers and/or Trailers, use the HEADER and TRAILER parameters of the OUTFIL control statement. For complete syntax, see HEADER1/HEADER2 Parameters (Optional) and TRAILER Parameters (Optional).