The WHEN command is used within a CASE / ENDCASE block in conjunction with other WHEN commands and an optional OTHERWISE command to condition the execution of RDML commands.
The WHEN command is used to nominate expression(s) that should be evaluated as true or false (in conjunction with the CASE command) to condition the execution of the following RDML commands.
Only one WHEN command can be evaluated to true within a CASE ENDCASE structure.
Refer to the CASE, ENDCASE and OTHERWISE commands for more details and examples of these commands.
WHEN --------- VALUE_IS ----- 'expression' -------------------|
--- 20 max ----