As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

END statement

From sasCommunity
Jump to: navigation, search

The END statement is the last statement in group of statements that was started with a DO statement or a SELECT statement in a DATA Step.




The END statement indicates the end of a group of statements that follow a DO statement or SELECT statement. The END statement is a declarative statement and does not directlt cause any data to be processed.

END keyword

The END keyword, which is also used in other situations, such as a CASE expression in the SQL Procedure, should not be confused with the END statement.

See also


  • SAS® Statements: Reference: END Statement: Version 9.2,

9.3, 9.4.