Chapter Contents

Previous

Next
ERRORABEND

ERRORABEND



Specifies how SAS responds to errors

Valid in: configuration file, SAS invocation, OPTIONS statement, Systems Options window
Alias: ERRABEND | NOERRABEND
Category: Environment control: Error handling
PROC OPTIONS GROUP= ERRORHANDLING


Syntax
Syntax Description

Syntax

ERRORABEND | NOERRORABEND

Syntax Description

ERRORABEND
specifies that SAS abend for most errors (including syntax errors) that would normally cause it to issue an error message, set OBS=0, and go into syntax-check mode (in batch mode, only).
Tips: 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 abending. 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 (in batch mode, only).


Chapter Contents

Previous

Next

Top of Page

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