%END

Purpose

Terminates a block or group headed by the most recent %DO, %SELECT or %PROCEDURE statement.

Syntax

%[label:]... END [label];

Parameters

Description

The %END statement is used in conjunction with %DO, %SELECT or %PROCEDURE statements to delimit preprocessor DO groups or preprocessor procedures.

The label following the END can be a label of a %PROCEDURE, %SELECT or %DO statement. No checking is done.

Restrictions

Multiple closure, that is, using one %END to close multiple groups and/or blocks, is not permitted.