Statements |
Valid: | anywhere |
Category: | Program Control |
Syntax | |
Without Arguments | |
Details | |
Comparisons | |
See Also |
Syntax |
ENDSAS; |
The ENDSAS statement terminates a SAS job or session.
Details |
ENDSAS is most useful in interactive or windowing sessions.
Note: ENDSAS statements are always executed at the point that they are encountered in a DATA step. Use the ABORT RETURN statement to stop processing when an error condition occurs--for example, in the clause of an IF-THEN statement or a SELECT statement.
Comparisons |
You can also terminate a SAS job or session by using the BYE or the ENDSAS command from any SAS window command line. For details, refer to the online Help for SAS windows.
See Also |
SYSSTARTID Automatic Macro Variable in SAS Macro Language: Reference |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.