FastSort Manual

Sorting Interactively
FastSort Manual429834-003
2-15
Understanding Completion Codes
Understanding Completion Codes
In addition to error messages, FastSort might return a completion code after a sort or
merge run. Completion codes are summarized following:
For completion code 3, any of the following errors can occur:
You specified an input file with a logical name instead of the actual name. FastSort
returns this message:
Wrong name of the IN file.
Termination info: 1
You specified a logical file name, but you did not set DEFMODE ON. FastSort
returns this message:
DEFINE processing is not enabled.
Termination info: 2
You specified a list file with a DEFINE name, but you did not use a corresponding
DEFINE. FastSort returns this message:
DEFINE specification for the OUT file is missing. Termination
info: 3
FastSort encountered an unexpected error code while processing one or more
DEFINEs. If this error occurs, report it to your service provider. FastSort returns
this message:
DEFINE error occurred when processing DEFINEs. Termination
info: 4
You specified a list file with a DEFINE name, but the corresponding DEFINE was
not a class SPOOL DEFINE. FastSort returns this message:
OUT file specification has illegal DEFINE class. Termination
info: 5
For more information about using DEFINEs, see Section 7, Using SORT and
SUBSORT DEFINEs.
Code Explanation
1 Syntax errors occurred but are treated as warnings only. FastSort continues to
accept input and returns this message:
Syntax errors/warning detected
2 FastSort execution errors occurred. These errors include no input file. FastSort
returns the associated error code and this message:
SORT execution errors detected.
3 FastSort could not execute the sort or merge run and returns this message:
Premature process termination with fatal errors
or diagnostics.