Boolean conditions

A boolean condition determines whether a boolean literal is true or false.

Format

Read syntax diagramSkip visual syntax diagramNOTboolean-literal-1
boolean-literal-1
Evaluates to true if it is B'1', and evaluates to false if it is B'0'.

The condition NOT boolean-literal-1 evaluates to the reverse truth-value of boolean-literal-1.

Related references  
DEFINE (COBOL for Linux® on x86 Programming Guide)