SAS Statements under Windows |
Valid in: | a DATA step |
Windows specifics: | Action of the ABEND and RETURN options; maximum value of condition-code |
See: | ABORT Statement in SAS Language Reference: Dictionary |
Syntax | |
Details | |
See Also |
Syntax |
ABORT <ABEND | RETURN> <n>; |
causes abnormal termination of the current SAS job or session for the current process. Further action is based on how your operating environment and site treat jobs that end abnormally.
causes the immediate normal termination of the current SAS job or session. A condition code is returned indicating an error if a job ends abnormally.
allows you to specify a condition code that SAS returns to its calling program. The value of n must be an integer. Return codes 0 - 6 and those values greater than 997 are used by SAS.
Details |
The ABORT statement causes SAS to stop processing the current DATA step.
The ABEND and RETURN options both terminate the SAS process, job, or session.
See Also |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.