Previous Topic: OperandsNext Topic: DELETE Command


Usage

The condition code set by the COMPARE command determines if a subsequent BRANCH command performs a branch. A BRANCH command should be the next executable statement after the COMPARE command.

The COMPARE command sets one of the following condition codes:

EQ—equal to
NE—not equal to
GT—greater than
LT—less than
LE—less than or equal to
GE—greater than or equal to

You can use substring notation when specifying a string as an operand in the COMPARE statement. See the chapter "Defining and Manipulating Variables."