The SEARCH statement is used to search a table for a table
element that satisfies the specified condition and to adjust the value of
the associated index to indicate that table element.
SEARCH identifier-1 [ VARYING { identifier-2 }
{ index-name-1 }
[ [ AT ] END imperative-statement-1 ]
{ WHEN condition-1 imperative-statement-2 } ...
[ END-SEARCH ]
SEARCH ALL identifier-1
[ [ AT ] END imperative-statement-1 ]
{ WHEN condition-2 imperative-statement-2 }
[ END-SEARCH ]