Previous Topic

Next Topic

Book Contents

Book Index

General Information

Available only when ON DATA is specified.

When IF evaluates to true, the DO statements after the IF are executed. If that IF is matched by a corresponding ELSE, the DO statements after the ELSE are not executed.

When IF evaluates to false, the DO statements after that IF are skipped. If that IF is matched by a corresponding ELSE, the DO statements after that ELSE are executed.

The LABEL parameter is used as a reference point for flow processing (branching). LABEL is used in conjunction with statement DO GOTO. When specified, DO GOTO passes processing control to the matching LABEL. See statement DO GOTO in this chapter for additional information.

Parent Topic

IF: Data Selection Statement