Ends a DO group or a SELECT group
Valid: in a DATA step
Category: Control
Type: Declarative
END ;
Use the END statement to end DO group or SELECT group processing.
The END statement must be the last statement in a DO group or a SELECT group.
This example shows a simple DO group and a simple SELECT group:
do; . . . more SAS statements . . . end;
select( expression ); when( expression ) SAS statement ; otherwise SAS statement ; end;
Statements:
DO Statement on page 1143
SELECT Statement on page 1394