This explicit scope terminator serves to delimit the scope of the IF statement. END-IF permits a conditional IF statement to be nested in another conditional statement.
For more information, see Delimited Scope Statements.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.