When printing sorted output, you may want to divide it into sections. For example, after sorting a personnel file alphabetically by company name and department, you might want to print each department’s records as a separate section and leave some blank lines between each section. You might even want to print each section as a separate page of the report. MFX allows you to print groups of records that have identical information in one or more sort fields as sections and to separate each section by a specified number of lines or a page break.
To divide output into sections, use the SECTIONS parameter on the OUTFIL control statement. For complete syntax of the SECTIONS parameter, see SECTIONS Parameter (Optional).