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

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.
arithmetic expression-2
is any arithmetic expression.
condition-name-1
is a condition (a level-88 item) that terminates the search operation. condition-name-1
must be defined as having a single value. The data-name with which condition-name-1
is associated must be specified as the first in the KEY phrase of the OCCURS clause of
table.
imperative-stmt-2
is an imperative statement to be executed when the condition that condition-name-1
specifies is satisfied.
NEXT SENTENCE
specifies that control be passed directly to the end of the SEARCH statement. It is not
recommended (see Usage Considerations).
END-SEARCH
ends the scope of the SEARCH statement, causing the SEARCH to be a delimited-scope statement.
Without the END-SEARCH phrase, the SEARCH statement is a conditional statement, which
ends at the next period separator.
SEARCH 433