MPE/iX Intrinsics Reference Manual (32650-90875)

504 Chapter9
Command Definitions (MAIL-PUTJCW)
MERGEOUTPUT
MERGEOUTPUT
NM and CM callable.
Provides an alternative method of specifying how records are output from the MERGE
program.
Syntax
CA I16
MERGEOUTPUT(
record,length
);
Parameters
record
16-bit character array
Returns the next output record.
length
16-bit signed integer
Returns the length of the
record
parameter value.
Operation Notes
MERGEOUTPUT requests records from MERGEINIT, one at a time, if the
outputfiles
parameter in the call to the MERGEINIT intrinsic was not specified. Call MERGEOUTPUT from
the program after a call to MERGEINIT, but before a call to MERGEEND.
Related Information
Intrinsics HPSORT, HPMERGE
Manual SORT-MERGE/XL Programmer's Guide