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.

<strong>SAS</strong>/<strong>ACCESS</strong> Interface to DB2 Under UNIX and PC Hosts 4 DB2 Under UNIX and PC Hosts LIBNAME Statement Example 459OptionIN=INSERTBUFF=MULTI_DATASRC_OPT=PRESERVE_COL_NAMES=PRESERVE_TAB_NAMES=Default Valuenoneautomatically calculated based on row lengthNONENO (see “Naming Conventions <strong>for</strong> DB2 UnderUNIX and PC Hosts” on page 477)NO (see “Naming Conventions <strong>for</strong> DB2 UnderUNIX and PC Hosts” on page 477)QUERY_TIMEOUT= 0READBUFF=READ_ISOLATION_LEVEL=READ_LOCK_TYPE=REREAD_EXPOSURE=SCHEMA=SPOOL=SQL_FUNCTIONS=SQL_FUNCTIONS_COPY=SQLGENERATION=STRINGDATES=UPDATE_ISOLATION_LEVEL=UPDATE_LOCK_TYPE=UTILCONN_TRANSIENT=automatically calculated based on row lengthset by the user in the DB2Cli.ini file (see “Lockingin the DB2 Under UNIX and PC Hosts Interface”on page 475)ROWNOyour user IDYESnonenoneDBMSNOCS (see “Locking in the DB2 Under UNIX and PCHosts Interface” on page 475)ROWYESDB2 Under UNIX and PC Hosts LIBNAME Statement ExampleIn this example, the libref MyDBLib uses the DB2 engine and the NOPROMPT=option to connect to a DB2 database. PROC PRINT is used to display the contents ofthe DB2 table Customers.libname mydblib db2noprompt="dsn=userdsn;uid=testuser;pwd=testpass;";proc print data=mydblib.customers;where state=’CA’;run;

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

Saved successfully!

Ooh no, something went wrong!