COBOL Manual for TNS and TNS/R Programs

Procedure Division Verbs
HP COBOL Manual for TNS and TNS/R Programs522555-006
9-215
SEARCH ALL
table
is the name of a data item described with an “OCCURS … INDEXED BY index-1
… KEY …” clause. The search is done with index-1, which the search operation
initializes to the middle of the table before beginning to scan. Only the name of
table can appear, qualified if necessary, but not subscripted or reference
modified.
imperative-stmt-1
is an imperative statement to be executed when an at-end condition is detected
(the end of the search is reached with no entry satisfying all specified conditions).
match-1
match-n
are matches that terminate the search operation.
identifier-1
is a data-name that is subscripted by the first index-name listed in the
INDEXED clause that defines the indexes of table, along with any other
subscripts that are required to identify the element in a multidimensional table.
identifier-1 must be defined as the first key of table. It can be
qualified, but it cannot include a reference modifier.
equal-part
identifier-2
is any identifier.
literal-2
is any literal.
identifier-1
condition-name-1
equal-part
identifier-2
literal-2
arithmetic-expression-2
VST208.vsd
IS
EQUAL
TO
=
VST209.vsd