Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

ELSE Initiate ELSE branch in IF block

&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


0CMD0001No error

1CMD0202Syntax error

1SDP0118Command in false context

1SDP0223Incorrect environment

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

130SDP0099No further address space available

Example

See the IF command, "IF Initiate IF block ".