Previous Page | Next Page

Statements under UNIX

ABORT Statement: UNIX



Stops executing the current DATA step, SAS job, or SAS session.
Valid: in a DATA step
UNIX specifics: values of n
See: ABORT Statement in SAS Language Reference: Dictionary

Syntax
Details
See Also

Syntax

ABORT <ABEND | RETURN><n>;


Details

The n option allows you to specify the value of the exit status code that SAS returns to the shell when it stops executing. The value of n can range from 0 to 255. 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-6 and those codes that are greater than 977 are reserved for use by SAS.


See Also

Previous Page | Next Page | Top of Page