The SEARCH statement is used to search tables (also called arrays, declared using the OCCURS clause) for specific elements.
The SEARCH statement has two formats: Sequential search (format 1) and non-sequential search (format 2).