![]() Chapter Contents |
![]() Previous |
![]() Next |
| ABORT |
| Language element: | statement |
| Valid: | in a DATA step |
| OpenVMS specifics: | action of ABEND and RETURN; maximum value of n |
| Syntax | |
| Details | |
| See Also |
Syntax |
| ABORT <ABEND | RETURN> <n>; |
Note: This is a simplified explanation
of the ABORT statement syntax. For the complete explanation, see SAS Language Reference: Dictionary. ![[cautionend]](../common/images/cautend.gif)
| Details |
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 session.
The value of n can range from -2,147,483,648 to 2,147,483,647.
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.