Creating Multiple Output Files - 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
Content type
Programmer’s Guide
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Programmers Guide
Copyright
2024
First publish date
2010
Last updated
2024-11-06
Published on
2024-11-06T17:38:26.716054

Data centers often use the same masterfile for different purposes. Assume, for example, that you wanted to produce two reports using a masterfile of cash-receipt records. One report was to present the total cash receipts for the current month; the second, for the year to date. This would typically entail running a separate sort for each report. SortWriter’s multiple-output feature, however, enables you to produce both reports with a single pass of the sort. In addition, you can specify the same or different devices to receive the separate output files.

Note: All the output files will be sequenced in the same way, as specified on the SORT or MERGE statement. If you need to sort the output files differently, you should use Syncsort PipeSort, a Precisely product that works with Syncsort™ MFX to reduce total elapsed time by generating multiple, differently sequenced output files from a single read of the input data.

To generate multiple output files, code the OUTFIL statement. For syntax of the OUTFIL control statement, see OUTFIL Control Statement.