SORT-MERGE/XL Programmer's Guide (32650-90884)

64 AppendixA
HPSORT Intrinsic Status Returns
-5 MESSAGE FREAD error on the scratch file.
CAUSE Internal SORT/XL error.
ACTION Contact your Hewlett-Packard representative.
-6 MESSAGE Illegal output option.
CAUSE You specified the
outputoption
parameter in
HPSORTINIT to be less than zero or greater than three.
ACTION Set the
outputoption
parameter to 0, 1, 2, or 3.
-7 MESSAGE The scratch file cannot be opened.
CAUSE A common cause of this problem is that there is not
enough contiguous disk space available for the scratch file.
ACTION Compare the size of the file to be sorted with the available
contiguous disk space. Purge or archive files to tape as
necessary.
-8 MESSAGE Failure on FGETINFO (inputfile).
CAUSE CCL condition code returned from the FGETINFO intrinsic
called from SORT/XL.
ACTION Make sure the file number has not been corrupted. Also
refer to the FGETINFO intrinsic in the MPE XL Intrinsics
Reference Manual
-9 MESSAGE Illegal numkeys parameter.
CAUSE You specified the
numkeys
parameter in HPSORTINIT to
not correlate to the number of keys in the
keys
parameter.
ACTION Set the
numkeys
parameter to correspond to the number
of keys that you specified in the
keys
parameter.
-10 MESSAGE The key field is not within the specified
record length.
CAUSE A key specified in your
keys
parameter in HPSORTINIT,
indicates a field that begins and/or ends outside of the
record.
ACTION Set the key field in the
keys
parameter to be contained in
the record length or make sure that your record length is
long enough to contain all your keys.
-11 MESSAGE Illegal ascending/descending code.
CAUSE The 4th element for a key in the
keys
array parameter in
HPSORTINIT is less than 0 or greater than 1.
ACTION Set the 4th element for a key in the
keys
array parameter
to 0 or 1.