Chapter Contents

Previous

Next
Command Directory

abort

Abort Program Execution

ABBREVIATION
ab{ort}

FORMAT
abort

DESCRIPTION
The abort command abnormally ends execution and exits both from the program and the SAS/C Debugger. The program terminates with user ABEND 1220. You receive a traceback from the point in your program where execution stopped.

The abort command has the same effect (except for the ABEND code) as calling the abort function within your program. When you issue an abort command, output buffers are not flushed as files are closed. Therefore, output data can be lost.

SYSTEM DEPENDENCIES
The specific message that you receive from the operating system depends on the operating system and the context. For example, here is a CMS message:
DMSABM155T USER ABEND 1220 CALLED FROM address

Here is an example of a TSO message:

CDEBUG ENDED DUE TO ERROR

COMMAND CAN BE ISSUED FROM

PROFILE yes
configuration file no
Source window prefix none

SCOPE
The abort command is not affected by changes in scope.

RETURN CODES SET
not applicable

SEE ALSO


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.