The ERROR code is set by every tableBASE command. Values other than zero denote a corresponding error condition.
Depending on an installation’s default settings, tableBASE may abend on any error. However, when a CS (Change Status) command has been issued to disable Abend processing, tableBASE will continue processing when errors less than code 0100 or between 1000 and 1099 occur. This allows programs to continue regardless of table errors, but they must check the ERROR code after the call.
Version 6 introduced error subcodes (see 18. ERROR-SUBCODE (halfword binary)).