7 73 OTHERWISE

LANSA Technical

7.73 OTHERWISE

The OTHERWISE command is used within a CASE / ENDCASE block in conjunction with WHEN commands.

The OTHERWISE command is used to indicate what command(s) should be executed if none of the WHEN commands are matched and executed.

Refer to the CASE, WHEN and ENDCASE commands for more details and examples of these commands.

Inclusion of an OTHERWISE command within a CASE / ENDCASE block is optional. However if one is used it should follow the last WHEN command and precede the ENDCASE command.

Also See

7.73.1 OTHERWISE Parameters

7.73.2 OTHERWISE Examples

7.8 CASE

7.34 ENDCASE

7.100 WHEN

 

  OTHERWISE ------ no parameters -------------------------------|