END Statement


Ends a DO group or a SELECT group

Valid: in a DATA step

Category: Control

Type: Declarative

Syntax

END ;

Without Arguments

Use the END statement to end DO group or SELECT group processing.

Details

The END statement must be the last statement in a DO group or a SELECT group.

Examples

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; 

See Also

Statements:

  • DO Statement on page 1143

  • SELECT Statement on page 1394




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net