Loading...
Select Version
&pagelevel(4)&pagelevel
Domain: PROCEDURE
Command description
In the IF block, the ELSE command initiates the last branch. The commands between the ELSE command and the terminating END-IF command are executed if none of the conditions previously checked in the IF or ELSE-IF commands applies (see section “Definingconditional branches”).
In the IF-BLOCK-ERROR and IF-CMD-ERROR blocks, the ELSE branch is executed if no errors occur (see section “Error handling”).
Format
ELSE |
Command return codes
(SC2) | SC1 | Maincode | Meaning |
0 | CMD0001 | No error | |
1 | CMD0202 | Syntax error | |
1 | SDP0118 | Command in false context | |
1 | SDP0223 | Incorrect environment | |
3 | CMD2203 | Incorrect syntax file | |
32 | CMD0221 | System error (internal error) | |
130 | SDP0099 | No further address space available |
Example
See the IF command, "IF Initiate IF block ".