Using $ORTPARM with BetterGener - mfx - 3.1

Syncsort™ MFX Installation

Product type
Software
Portfolio
Integrate
Product family
Syncsort™ Software
Product
Syncsort™ MFX > MFX
Version
3.1
Language
English
Product name
Syncsort™ MFX
Title
Syncsort™ MFX Installation
Topic type
Installation
Release Notes > What's New
Copyright
2024
First publish date
2010
Last edition
2024-08-27
Last publish date
2024-08-27T07:49:46.255035

Activating BetterGener provides additional “IEBGENER” editing capability by permitting the inclusion of the $ORTPARM DD statement in IEBGENER job streams. In order for the contents of the $ORTPARM data set to affect the copy execution, the copy must be done through MFX; if SYNCGENR transfers control to IEBGENER, the $ORTPARM DD statement is ignored. Therefore, whenever MFX file editing is crucial to a copy application, explicit FIELDS=COPY MFX coding should be used. Here is an example of such a jobstream:

Sample Job Where MFX Must Be Used

In this example, $ORTPARM acts to right-pad the first (8-byte) field of the record with 10 blanks, truncating the final 10 bytes, if MFX is executed. If, however, BetterGener routes the job back to IEBGENER, no padding or truncation is done.