COBOL Manual for TNS/E Programs (H06.03+)

Procedure Division Verbs
HP COBOL Manual for TNS/E Programs520347-003
9-62
EVALUATE
range
identifier-1
identifier-2
are any identifiers (they can be qualified, subscripted, or reference-
modified). They can be compared to any corresponding selection
subjects being compared in a conditional expression.
literal-1
literal-2
can be any literals. They can be compared to any corresponding
selection subject being compared in a conditional expression.
arith-exp-1
arith-exp-2
are arithmetic expressions. They can be compared to any selection
subject being in a conditional expression.
THROUGH
THRU
indicate that a range of values is to be compared. Two operands
combined by THROUGH or THRU must be of the same class
(alphabetic, alphanumeric, or numeric). The two operands thus
connected constitute a single selection object.
match-imp-stmt
is an imperative statement to be executed when the values of the objects in the
associated object-list match the values of the corresponding subjects in the
subject-list.
no-match-imp-stmt
is an imperative statement to be executed when no match-imp-stmt applies.
After no-match-imp-stmt executes, control passes to the end of the
EVALUATE statement.
identifier-1
literal-1
arith-exp-1
THROUGH
THRU
identifier-2
literal-2
arith-exp-2
VST155.vsd