where the following is true:
- conditional expression
- User-defined variables or pre-defined system variables following the IF command, whose condition (TRUE or FALSE) triggers the execution of alternative groups of statements
- statements to execute if TRUE
- Statements to be executed whenever the conditional expression following the IF command evaluates as TRUE
- statements to execute if FALSE
- Statements following the optional ELSE command which execute only when the conditional expression following the IF command evaluates as FALSE
- statements to resume with
- Statements following the ENDIF command to terminate the conditional statement execution process and resume the normal command sequence