MPE/iX Quick Reference Guide (32650-90881)

100 Chapter3
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
HPSORTEND
NM callable only.
Releases the SORT/XL work area and ends the sorting operation.
I32 I32A
HPSORTEND(
status,statistics
);
HPSORTERRORMESS
NM callable only.
Retrieves an error message if a fatal error occurs in SORT/XL.
I32 CA I32
HPSORTERRORMESS(
status,message,length
);
HPSORTINIT
NM callable only.
Initializes the SORT/XL subsystem.
I32 I32A I32A I32 I32V I32V I32V
HPSORTINIT(
status,inputfiles,outputfiles,outputoption,reclength,numrecs,numk
eys,
I32A CA PROC PROC I32A I32V I32A
keys,altseq,keycompare,errorproc,statistics,memsize,charseq
);
HPSORTINPUT
NM callable only.
Passes records, one at a time, to SORT/XL.
I32 CA I32V
HPSORTINPUT(
status,buffer,length
);
HPSORTOUTPUT
NM callable only.
Retrieves records, one at a time, from SORT/XL program.
I32 CA I32
HPSORTOUTPUT(
status,buffer,length
);
HPSORTSTAT
NM callable only.
Prints the SORT/XL statistics on $STDLIST.
I32 I32A
HPSORTSTAT(
status,statistics
);