Previous Topic: COMPUTE IF, THEN, and ELSE Instructions

Next Topic: NO Nesting


ALWAYS Instructions

An IF instruction can be followed by any number of other instructions to be executed if the condition is met. The list ends when CA JARS Wizard encounters an ELSE instruction, an ALWAYS instruction, or another IF.

Example:

IF condition THEN instruction-1,
                  instruction-2,
                  instruction-3,
ELSE              instruction-4,
                  instruction-5,
ALWAYS            instruction-6,
                  instruction-7

When a record meets the IF condition, instructions 1, 2, 3, 6, and 7 are executed. When the condition fails, instructions 4, 5, 6, and 7 are executed.