Loading...
Select Version
&pagelevel(4)&pagelevel
Domain: PROCEDURE
Command description
RAISE-ERROR generates a command return code and subsequently activates error handling if SUBCODE 1 is a number other than zero.
Format
RAISE-ERROR |
SUBCODE1 = 64 / <integer 0..255> ,SUBCODE2 = 0 / <integer 0..255> ,MAINCODE = SDP0018 / <alphanum-name 7..7> |
Operands
SUBCODE1 = 64 / <integer 0..255>
Number indicating the error class;
64 = error class “SEMANTIC-ERROR”.
SUBCODE2 = 0 / <integer 0..255>
Additional information on the error class.
MAINCODE = SDP0018/ <alphanum-name 7..7>
Error code for determining various error causes.
The preset value for MAINCODE is SDP0018.
Command return codes
(SC2) | SC1 | Maincode | Meaning |
0 | CMD0001 | No error | |
1 | CMD0202 | Syntax error | |
3 | CMD2203 | Incorrect syntax file | |
32 | CMD0221 | System error (internal error) | |
130 | SDP0099 | No further address space available | |
xx | xx | xxxxxxx | Return code as specified in operands |