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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The LIBNAME Statement <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong> 4 DBSLICEPARM= LIBNAME Option 137ExamplesOnly the lengths that you specify with DBSERVER_MAX_BYTES= affect columnlengths that byte semantics created initially.libname x4 &engine &connopt DBSERVER_MAX_BYTES=4 DBCLIENT_MAX_BYTES=1ADJUST_NCHAR_COLUMN_LENGTHS=no;proc contents data=x4.char_sem; run;proc contents data=x4.nchar_sem; run;proc contents data=x4.byte_sem; run;proc contents data=x4.mixed_sem; run;In this example, various options have different settings.libname x5 &engine &connopt ADJUST_NCHAR_COLUMN_LENGTHS=NOADJUST_BYTE_SEMANTIC_COLUMN_LENGTHS=NO DBCLIENT_MAX_BYTES=3;proc contents data=x5.char_sem; run;proc contents data=x5.nchar_sem; run;proc contents data=x5.byte_sem; run;proc contents data=x5.mixed_sem; run;This example also uses different settings <strong>for</strong> the various options.libname x6 &engine &connopt ADJUST_BYTE_SEMANTIC_COLUMN_LENGTHS=YESADJUST_NCHAR_COLUMN_LENGTHS=YES DBCLIENT_MAX_BYTES=3;proc contents data=x6.char_sem; run;proc contents data=x6.nchar_sem; run;proc contents data=x6.byte_sem; run;proc contents data=x6.mixed_sem; run;See Also“ADJUST_BYTE_SEMANTIC_COLUMN_LENGTHS= LIBNAME Option” on page93“ADJUST_NCHAR_COLUMN_LENGTHS= LIBNAME Option” on page 95“DBCLIENT_MAX_BYTES= LIBNAME Option” on page 119“DB_LENGTH_SEMANTICS_BYTE= LIBNAME Option” on page 118DBSLICEPARM= LIBNAME OptionControls the scope of DBMS threaded reads and the number of threads.Default value: THREADED_APPS,2 (DB2 under z/OS, Oracle, Teradata),THREADED_APPS,2 or 3 (DB2 under UNIX and PC Hosts, HP Neoview, In<strong>for</strong>mix,Microsoft SQL Server, ODBC, Sybase, Sybase IQ)Valid in: <strong>SAS</strong>/<strong>ACCESS</strong> LIBNAME statement (Also available as a <strong>SAS</strong> configurationoption, <strong>SAS</strong> invocation option, global <strong>SAS</strong> option, or data set option)DBMS support: DB2 under UNIX and PC Hosts, DB2 under z/OS, HP Neoview, In<strong>for</strong>mix,Microsoft SQL Server, ODBC, Oracle, Sybase, Sybase IQ, TeradataSyntaxDBSLICEPARM=NONE | THREADED_APPS | ALL

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

Saved successfully!

Ooh no, something went wrong!