Dividing a Report into Sections - mfx - 3.1

Syncsort™ MFX Programmers Guide

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ Software
Product
Syncsort™ MFX > MFX
Version
3.1
Language
English
ContentType
Programmer’s Guide
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Programmers Guide
Topic type
How Do I
Copyright
2024
First publish date
2010
ft:lastEdition
2024-08-27
ft:lastPublication
2024-08-27T08:14:56.318001

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).