SS$_NORMAL Normal successful completion.
SOR$_BADLOGIC Internal logic error detected.
SOR$_BAD_LRL Record length n greater than longest specified
record length.
SOR$_BAD_SRL Record length n too short to contain keys.
SOR$_ENDDIAGS Completed with diagnostics.
SOR$_EXTEND Unable to extend work file for needed space.
SOR$_MISS_PARAM The desc argument is missing.
SOR$_NO_WRK Work files required; cannot do sort in memory
as requested.
SOR$_OPENOUT Error opening file as output.
SOR$_OPERFAIL Error requesting operator service.
SOR$_READERR Error reading file.
SOR$_REQ_ALT Specify alternate name file (or nothing to try
again).
SOR$_RTNERROR Unexpected error status from user-written
routine.
SOR$_SORT_ON Sort or merge routines called in incorrect
order.
SOR$_SYSERROR System service error.
SOR$_USE_ALT Using alternate file name.
SOR$_WORK_DEV Work file name must be on random access local
device.