Provides an alternate execution sequence within an IF
The ELSE command is used only in conjunction with the IF and
ELSEIF commands. The IF command is used with the ENDIF command,
and optionally with the ELSE command, to control the execution
of a job. The IF, ENDIF, and optional ELSE and ELSEIF commands
constitute an IF block. A logical expression is evaluated, and if
true, the IF block is executed; if false, the ELSE block (if one
exists) is executed.
This command may be issued from a session, job, a program, or in
BREAK. Pressing [Break] has no effect on this command.
The following job listing illustrates the use of ELSE command.
!IF JCW>=FATAL THEN
! TELL MAC.TECHPUBS;COMPILE FAILED
! TELL MAC.TECHPUBS;COMPILE COMPLETED
Commands: DELETEVAR, ELSEIF, ENDIF, IF, SETJCW, SHOWJCW, SETVAR,