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

The CONVERT parameter enables you to convert variable-length records into fixed-length records.

These records do not require an RDW and will be written to any 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.”

You cannot specify the variable portion of the input records (position without length) when using CONVERT. However, all data fields need not be present in each record being CONVERTed, unless a numeric or year data field is specified. That is, blanks will be used as a default for any missing p,l field bytes, while all p,l,f fields must be present.

When using CONVERT in conjunction with the OUTREC parameter on the OUTFIL control statement, data fields of any type need not be present, and you may change the default padding character with the VLFILL parameter. (See the explanations of CONVERT and VLFILL in the OUTFIL control statement section.)

You may also create multiple output files with different record formats when specifying CONVERT on the OUTFIL control statement.