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
|
ERRORBYABEND | NOERRORBYABEND
|
-
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.
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]](../../../../common/63294/HTML/default/images/cautend.gif)
System Option:
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.