END-SEARCH Phrase

This explicit scope terminator serves to delimit the scope of the SEARCH statement. END-SEARCH permits a conditional SEARCH statement to be nested in another conditional statement. If the END-SEARCH phrase is specified, the NEXT SENTENCE phrase must not be specified.

For more information, see Delimited Scope Statements.