Sample MERGE Control Statements - 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
Figure 1. Sample MERGE Control Statement

This sample MERGE control statement specifies three merge control fields:
  • The first, or primary, control field begins in byte 1, is 5 bytes long, is in character format and is to be merged in ascending order.

  • The second control field begins in byte 10, is 2 bytes long, is in packed decimal format and is to be merged in descending order.

  • The third control field begins in the third bit of byte 30, is 4 bytes long, is in binary format and is to be merged in ascending order.

Figure 2. Sample MERGE Control Statement

This MERGE statement specifies a copy operation. Only the first 200 records will be copied.