Previous Page | Next Page

SAS System Options

ERRORBYABEND System Option



Specifies whether SAS ends a program when an error occurs in BY-group processing.
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Environment control: Error handling
PROC OPTIONS GROUP= ERRORHANDLING

Syntax
Syntax Description
Details
See Also

Syntax

ERRORBYABEND | NOERRORBYABEND

Syntax Description

ERRORBYABEND

specifies that SAS ends a program for BY-group error conditions that would normally cause it to issue an error message.

NOERRORBYABEND

specifies that SAS handle BY-group errors normally, that is, by issuing an error message and continuing processing.


Details

If SAS encounters one or more BY-group errors while ERRORBYABEND is in effect, SAS brings the errors to your attention immediately by ending your program. ERRORBYABEND does not affect how SAS handles notes that are written to the SAS log.

Note:   Use the ERRORBYABEND system option with SAS production programs that should be error free.  [cautionend]


See Also

System Option:

ERRORABEND System Option

Previous Page | Next Page | Top of Page