Stops executing the current DATA step, SAS job, or SAS session.
||in a DATA step
||action of ABEND and RETURN; maximum
value of n
||ABORT Statement in
SAS Language Reference: Dictionary
ABORT <ABEND | RETURN> <n>;
Note: This is
a simplified explanation of the ABORT statement syntax. For the complete
SAS Language Reference: Dictionary.
stops processing of the current DATA step.
Additional actions and results depend on the method of operation.
causes abnormal termination of the current
SAS job or session. Results depend on the method of operation.
causes the immediate normal termination
of the current SAS job or session. Results depend on the method of operation.
is an integer value that enables you to
specify a condition code that SAS returns to OpenVMS when
it stops executing. The value of n can range
from -2,147,483,648 to 2,147,483,647. Normally, a return code of 0 is
used to indicate that the program ran with no errors, and return codes greater
than 0 are used to indicate progressively more serious error conditions. Return
codes of 0 to 6 and greater than 997 are reserved for use by SAS.
If you specify ABORT ABEND, the symbol SAS$STATUS is
set to 999. If you specify ABORT RETURN, the symbol SAS$STATUS is
set to 12. Both the ABEND and RETURN arguments terminate the SAS job or
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.