13.07.2015 Views

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS 9.2 for Relational Databases: Reference, Fourth Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Data Set Options <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 ERRLIMIT= Data Set Option 325distribution key that consists of one to four columns. If you do not specify this option,the DBMS selects a distribution key.ExamplesThis example uses DISTRIBUTE_ON= to create a distribution key on a singlecolumn.proc sql;create table netlib.customtab(DISTRIBUTE_ON=’partno’)as select partno, customer, orderdat from saslib.orders;quit;To create a distribution key on more than one column, separate the columns withcommas.data netlib.mytab(DISTRIBUTE_ON=’col1,col2’);col1=1;col2=12345;col4=’mytest’;col5=98.45;run;This next example shows how to use the RANDOM keyword.data netlib.foo(distribute_on=random);mycol1=1;mycol2=’test’;run;ERRLIMIT= Data Set OptionSpecifies the number of errors that are allowed be<strong>for</strong>e <strong>SAS</strong> stops processing and issues a rollback.Default value: 1Valid in: DATA and PROC steps (when accessing DBMS data using <strong>SAS</strong>/<strong>ACCESS</strong>software)DBMS support: Aster nCluster, DB2 under UNIX and PC Hosts, DB2 under z/OS,Greenplum, HP Neoview, In<strong>for</strong>mix, Microsoft SQL Server, Netezza, ODBC, OLE DB,Oracle, Sybase, Sybase IQ, TeradataSyntaxERRLIMIT=integerSyntax Descriptionintegerspecifies a positive integer that represents the number of errors after which <strong>SAS</strong>stops processing and issues a rollback.Details<strong>SAS</strong> ends the step abnormally and calls the DBMS to issue a rollback after a specifiednumber of errors while processing inserts, deletes, updates, and appends. If

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!