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