MPE/iX Quick Reference Guide (32650-90881)

104 Chapter3
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
MAIL
NM and CM callable.
Determines the status of the mailbox used by its parent or child. Process handling (PH)
capability is required.
U16 I16V I16
mailstatus
:=MAIL(
pin,length
);
MERGEEND
NM and CM callable.
Restores the data stack to its original state and ends the merging operation.
MERGEEND;
MERGEERRORMESS
NM and CM callable.
Retrieves a message if a fatal error occurs during the MERGE/XL operation and converts
MERGEINIT error code values into ASCII strings.
I16V CA I16
MERGEERRORMESS(
errorcode,message,length
);
MERGEINIT
NM and CM callable.
Initializes the MERGE/XL subsystem and the merging of two or more sorted files.
I16A PROC I16A PROC I16V I16V
MERGEINIT(
inputfiles,preprocessor,outputfiles,postprocessor,keysonly,numkeys
,
I16A I16A PROC PROC I16A I16 I16 I16 I16A
keys,altseq,keycompare,errorproc,statistics,failure,errorparm,spaceallocatio
n,charseq
);
MERGEOUTPUT
NM and CM callable.
Provides an alternative method of specifying how records are output from the MERGE
program.
CA I16
MERGEOUTPUT(
record,length
);
MERGESTAT
NM and CM callable.
Prints the MERGE program statistics on $STDLIST.