Chapter Contents |
Previous |
Next |
ERRLIMIT= |
Default value: | 1 |
See Also: | DBCOMMIT= |
Syntax | |
Details |
Syntax |
ERRLIMIT=integer |
Details |
SAS calls the DBMS to issue a rollback after the specified number of errors occurs during the processing of inserts, deletes, updates, and appends. If ERRLIMIT= is set to 0, SAS processes all rows, regardless of the number of errors that occur. SAS displays the total number of rows processed and the number of failed rows, if applicable, in the log.
If you use the DBCOMMIT= option, DBCOMMIT= overrides the ERRLIMIT= option.
Note: If you specify a value for DBCOMMIT= other than
zero, rollbacks affected by the ERRLIMIT= option might not include records
that are processed unsuccessfully because they were already committed by DBCOMMIT=.
In the following example, SAS stops processing and issues a rollback to the DBMS at the occurrence of the tenth error.
data mydata; set mydb.dept(errlimit=10); where salary > 40000; run;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.