FastSort Manual

FastSort Error Messages
FastSort Manual429834-003
B-8
Numeric List of Programmatic Messages
Recovery. Change the length parameter in the call to SORTMERGESEND. For
more information on the description of length, see SORTMERGESEND Procedure
on page 5-15.
Cause. The calling process called SORTMERGEFINISH at the wrong time.
Recovery. Correct your program logic. For more information on the normal order of
FastSort procedures, see the FastSort system library procedures table in Section 5,
Using FastSort System Procedures.
Cause. SORTPROG could not open or create its free-list file, a second scratch file
that FastSort sometimes creates for internal memory management.
Recovery. Follow recovery recommendations in the Guardian Procedure Errors and
Messages Manual for the operating system error code returned with this FastSort error
code.
Cause. Some values the flags parameter used in the call to SORTMERGESTART
are mutually exclusive.
Recovery. Change one or more values for the flags parameter. For more
information about the flags bits, see Table 5-4 on page 5-32.
Cause. A scratch file named in the call to SORTMERGESTART is a structured file.
Recovery. Specify an unstructured scratch file.
Cause. The data in one or more files specified for merging was not in sorted order.
Recovery. Check your files to see which ones are not sorted, and specify sorting
before merging for those files.
Cause. Some condition in the system halted communications.
10 SORTMERGEFINISH HAS BEEN CALLED UNEXPECTEDLY.
11 THE FREE LIST FILE CANNOT BE OPENED.
12 INVALID FLAG OR COMBINATION OF FLAGS.
13 SCRATCH FILE MUST BE UNSTRUCTURED.
15 FILES TO BE MERGED MUST BE SORTED.
20 COMMUNICATIONS WITH SORTPROG HAVE BROKEN DOWN.