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.