You can provide for different program actions depending on the tested value of one or more data items.
The IF and EVALUATE statements in COBOL test one or more data items by means of a conditional expression.
related tasks
Coding a choice of actions
Coding conditional expressions
related references
IF statement
(COBOL for Windows Language Reference)
EVALUATE statement
(COBOL for Windows Language Reference)