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 (Enterprise COBOL for z/OS® Language Reference)  
EVALUATE statement (Enterprise COBOL for z/OS Language Reference)