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.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.