Previous Topic: Values List (LST) Condition TypeNext Topic: Examples


Compare (CMP) Condition Type

The CA 2E Compare (CMP) condition type is used for conditions that specify a scope of values that a field can receive. The scope of values is defined in terms of a fixed value and an operator. The fixed value is a CA 2E field; the operator is a symbol expressing some form of Boolean logic.

The following is a valid list of operators:

Value

Description

*EQ

equal to

*NE

not equal to

*GT

greater than

*LT

less than

*GE

greater than or equal to

*LE

less than or equal to

*IS

for comparison to PGM *Cursor field

Note: You can use the CMP condition type for field types other than STS