REPEAT Parameter (Optional) - 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

The REPEAT=n parameter enables each output record to be written multiple times. n specifies the number of times each OUTFIL output record is written. The minimum value for n is 2.

REPEAT can be used with the OUTFIL OUTREC multiline feature (designated by a / in the OUTREC specification). When this is done, each line will be written n times defined by the OUTREC specification. All occurrences of the first line will be written followed by all the occurrences of the second, and so on.

The REPEAT parameter cannot be used with IFTRAIL, LINES, HEADER1, TRAILER1, HEADER2, TRAILER2, SECTIONS, and NODETAIL.