Shortening a Control Field Image - 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
Topic type
How Do I
Copyright
2024
First publish date
2010
Last edition
2024-08-27
Last publish date
2024-08-27T08:14:56.318001

The length of the control field image is completely determined by the length and format code of the control field. To shorten a control field image, specify the full length of the original control field as the l (length) value in the SORT/MERGE control statement. Then shorten each image by the same number of bytes and pad it uniformly to the length of the original field. Be sure to pad each control field image with the same leading or trailing character, and replace data in the control field image with the same type of data as that in the actual control field.