Selecting program actions
You can provide for different program actions depending on the tested value of one or more data items.
About this task
The IF
and EVALUATE
statements
in COBOL test one or more data items by means of a conditional expression.
Related references
IF statement (COBOL for Linux® on x86 Language Reference)
EVALUATE statement (COBOL for Linux on x86 Language Reference)
IF statement (COBOL for Linux® on x86 Language Reference)
EVALUATE statement (COBOL for Linux on x86 Language Reference)