SS$_NORMAL Normal successful completion. SOR$_BADLOGIC Internal logic error detected. SOR$_BAD_KEY Invalid key specification. SOR$_BAD_LRL Record length n greater than specified longest record length. SOR$_BAD_MERGE Number of work files must be between 0 and 10. (For the high-performance Sort/Merge utility, the maximum number is 255.) SOR$_BAD_TYPE Invalid sort process specified. SOR$_ENDDIAGS Completed with diagnostics. SOR$_INSVIRMEM Insufficient virtual memory. SOR$_KEYAMBINC Key specification is ambiguous or inconsistent. SOR$_KEY_LEN Invalid key length, key number n, length n. SOR$_LRL_MISS Longest record length must be specified. SOR$_NODUPEXC Equal-key routine and no-duplicates option cannot both be specified. SOR$_NUM_KEY Too many keys specified. SOR$_NYI Not yet implemented. SOR$_RTNERROR Unexpected error status from user-written routine. SOR$_SORT_ON Sort or merge routine called in incorrect order. SOR$_STABLEEXC Equal-key routine and stable option cannot both be specified. SOR$_SYSERROR System service error. SOR$_UNDOPTION Undefined option flag was set.