Reserved Return Status Values

SAP ASE reserves 0, to indicate a successful return, and negative values from -1 through -99, to indicate the reasons for failure.




Procedure executed without error


Missing object


Datatype error


Process was chosen as deadlock victim


Permission error


Syntax error


Miscellaneous user error


Resource error, such as out of space


Nonfatal internal problem


System limit was reached


Fatal internal inconsistency


Fatal internal inconsistency


Table or index is corrupt


Database is corrupt


Hardware error

Values -15 through -99 are reserved for future use by SAP ASE.

If more than one error occurs during execution, the status with the highest absolute value is returned.