CONVERT 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
ft:locale
en-US
Product name
Syncsort™ MFX
ft:title
Syncsort™ MFX Programmers Guide
Copyright
2024
First publish date
2010
ft:lastEdition
2025-02-20
ft:lastPublication
2025-02-20T09:24:15.574000

The CONVERT parameter is used in conjunction with the OUTREC parameter to convert variable-length records to fixed-length records.

The records do not require an RDW and will be written to the output file(s) with a RECFM of F or FB. When using CONVERT, you no longer need to apply the rules for “Specifying the FIELDS parameter for Variable-Length Records” found in the description of the OUTREC control statement.

You cannot specify the variable portion of the input records (position without length) when using CONVERT. All other p,l data fields that are not present will be filled with blanks by default. The OUTFIL VLFILL parameter can be used to specify a different fill byte for any missing fields (see above description).

An E35 exit may process converted fixed-length records by using CONVERT on the OUTREC statement rather than on the OUTFIL statement.

Note: If CONVERT is specified, the OUTREC or BUILD parameter must also be specified. CONVERT cannot be used with the IFTRAIL, FTOV or VTOF parameter.