Previous Page | Next Page

System Options under z/OS

ERRORABEND System Option: z/OS



Specifies whether SAS responds to errors by terminating.
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Alias: ERRABEND | NOERRABEND
Category: Environment control: Error handling
PROC OPTIONS GROUP= ERRORHANDLING

Syntax
Syntax Description
Details
See Also

Syntax

ERRORABEND | NOERRORABEND

Syntax Description

ERRORABEND

specifies that SAS terminate for most errors (including syntax errors and file not found errors) that normally cause it to issue an error message, set OBS=0, and go into syntax-check mode (if syntax checking is enabled). SAS also terminates if an error occurs in any global statement other than the LIBNAME and FILENAME statements.

Use the ERRORABEND system option with SAS production programs, which presumably should not encounter any errors. If errors are encountered and ERRORABEND is in effect, SAS brings the errors to your attention immediately by terminating. ERRORABEND does not affect how SAS handles notes such as invalid data messages.

NOERRORABEND

specifies that SAS handle errors normally, that is, issue an error message, set OBS=0, and go into syntax-check mode (if syntax checking is enabled).


Details

If a SAS session abends when it is processing an ABORT statement, SAS uses the normal termination disposition when it deallocates any z/OS data set that SAS dynamically allocated during the session as a part of FILENAME or LIBNAME processing. For more information, see the description of the DISP option for FILENAME Statement: z/OS or LIBNAME Statement: z/OS.


See Also

System options:

ERRORBYABEND System Option in the SAS Language Reference: Dictionary

ERRORCHECK System Option in the SAS Language Reference: Dictionary

Global Statements in the SAS Language Reference: Dictionary.

Previous Page | Next Page | Top of Page