MPE/iX Quick Reference Guide (32650-90881)

Chapter 1 23
Command Descriptions
Commands Syntax
!ELSE
! TELL USER.TECHPUBS;COMPILE COMPLETED WITH NO WARNINGS
!ENDIF
ELSEIF
Provides an alternate execution sequence for an IF statement.
ELSEIF
expression
[THEN]
IF EXPN1 THEN
...
ELSEIF EXPN2 THEN
...
ELSEIF EXPN3
...
ELSE
...
ENDIF
ENDIF
Terminates an IF block.
ENDIF
IF
.
.
.
ENDIF
ENDWHILE
Terminates a WHILE block.
ENDWHILE
WHILE
logical_expression
.
.
.
ENDWHILE
EOD
Denotes end-of-data on input stream from a jobfile (from an input other than $STDIN). It
also terminates data initialized by the DATA command. The colon (:) is a required part of
this command.
:EOD
DATA SESS1,BLACK.ACCTSP
...
data
...
:EOD