Previous Topic: Conditional CommandsNext Topic: EXIT


Overview

CA ADS conditional commands are used to specify processing based on the outcome of a conditional test. The conditions to be tested are specified by coding conditional expressions.

Summary of Conditional Commands

Conditional commands are listed below. Each command is presented in alphabetical order after the table.

Command

Purpose

EXIT

Terminates WHILE and ON1 command processing and passes control to the next command in the process

IF

Performs a conditional test and specifies actions to be taken based on the outcome of the test

NEXT

Terminates IF or ON1 command processing and passes control to the next command in the process

WHILE

Performs a conditional test and specifies actions to be taken as long as the outcome of the test is true

1 See Database Access Commands.

More information:

Conditional Expressions