7 53 IF

LANSA Technical

7.53 IF

The IF command is used to test the truth of a condition and then execute certain RDML commands only if the condition is true.

By using an ELSE command in conjunction with an IF command it is possible to nominate the RDML commands to execute if the condition is true and the commands to execute if the condition is not true.

An IF command is always used in conjunction with an ENDIF command and optionally may be used in conjunction with an ELSE command. Refer to these commands for more information.

Also See

7.53.1 IF Parameters

7.53.2 IF Examples

                                                         Required

 

  IF ----------- 'condition' -----------------------------------|