Generated from C.65.00 /SYSADMIN/PUB/MYCICAT last modified on Sun Aug 29 15:08:37 2004
Terminates an IF block.
ENDIF
None.
The ENDIF command is used to terminate an IF block. The IF command, the optional ELSE and ELSEIF commands, and the ENDIF command constitute an IF block. They are used to control the execution of a job. A logical expression is evaluated, and if true, the IF block is executed; if false, the ELSE block (if one exists) is executed. Refer to the ELSE command for an illustration of ENDIF. This command may be issued from a session, job, or in BREAK, or from a program. Pressing [Break] has no effect on this command.
The following are examples of an IF command with its required ENDIF: IF ... ... ...
IF ELSEIF ... ...
Commands: IF, ELSE, ELSEIF Back to Main Index