ERRORS= System Option

Specifies the maximum number of observations for which SAS issues complete error messages.
Valid in: Configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Categories: Environment control: Error handling

Log and procedure output control: SAS log

PROC OPTIONS GROUP= ERRORHANDLING

LOGCONTROL

Note: This option can be restricted by a site administrator. For more information, see Restricted Options.

Syntax

ERRORS=n | nK | nM | nG | nT | MIN | MAX | hexX

Syntax Description

n | nK | nM | nG | nT
specifies the number of observations for which SAS issues error messages in terms of 1 (n); 1,024 (nK); 1,048,576 (nM); 1,073,741,824 (nG); or 1,099,511,627,776 (nT). For example, a value of 8 specifies eight observations, and a value of 3M specifies 3,145,728 observations.
MIN
sets the number of observations for which SAS issues error messages to 0.
MAX
sets the maximum number of observations for which SAS issues error messages to the largest signed, 4–byte integer representable in your operating environment.
hexX
specifies the maximum number of observations for which SAS issues error messages as a hexadecimal number. You must specify the value beginning with a number (0–9), followed by an X. For example, the value 2dx sets the maximum number of observations for which SAS issues error messages to 45 observations.

Details

If data errors are detected in more than n observations, processing continues, but SAS does not issue error messages for the additional errors.
Note: If you set ERRORS=0 and an error occurs, or if the maximum number of errors has been reached, a warning message displays in the log which states that the limit set by the ERRORS option has been reached.

See Also

The SAS Log in SAS Language Reference: Concepts