COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

one that has not been previously terminated either explicitly or implicitly. The separator period
that terminates the sentence also terminates all nested statements.
How the Conditional IF Statement Works
The condition is evaluated. If its value is TRUE and NEXT SENTENCE is specified (as
opposed to statement-1 ), control passes to the next executable sentence. The ELSE phrase,
if present, is ignored.
If the value of condition is TRUE and statement-1 is specified (as opposed to NEXT
SENTENCE), statement-1 is executed. If control reaches the point immediately following
statement-1 (that is, statement-1 completes without executing a GO TO statement or
the equivalent), control passes to the end of the IF statement. The ELSE phrase, if present, is
ignored.
If the value of condition is FALSE and an ELSE phrase specifies NEXT SENTENCE, control
passes to the next executable sentence.
If the value of condition is FALSE and an ELSE phrase specifies statement-2,
statement-2 is executed. If control reaches the point immediately following statement-2
(that is, statement-2 completes without executing a GO TO statement or the equivalent),
control passes to the end of the IF statement.
If the value of condition is FALSE and there is no ELSE phrase, control passes to the end
of the IF statement.
IF 339