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 DBTYPE= Data Set Option 319DB2 under UNIX and PC Hosts, HP Neoview, In<strong>for</strong>mix, Microsoft SQL Server, ODBC,Sybase, Sybase IQ: The default thread number depends on whether an applicationpasses in the number of threads (CPUCOUNT=) and whether the data type of thecolumn that was selected <strong>for</strong> purposes of data partitioning is binary.ExamplesThis code shows how you can use DBSLICEPARM= in a PC <strong>SAS</strong> configuration fileentry to turn off threaded reads <strong>for</strong> all <strong>SAS</strong> users:--dbsliceparm NONEHere is how you can use DBSLICEPARM= as a z/OS invocation option to turn onthreaded reads <strong>for</strong> read-only references to DBMS tables throughout a <strong>SAS</strong> job:sas o(dbsliceparm=ALL)You can use this code to set DBSLICEPARM= as a <strong>SAS</strong> global option to increasemaximum threads to three <strong>for</strong> <strong>SAS</strong> threaded applications. It would most likely be oneof the first statements in your <strong>SAS</strong> code:option dbsliceparm=(threaded_apps,3);This code uses DBSLICEPARM= as a LIBNAME option to turn on threaded reads <strong>for</strong>read-only table references that use this particular libref:libname dblib oracle user=scott password=tiger dbsliceparm=ALL;Here is how to use DBSLICEPARM= as a table level option to turn on threadedreads <strong>for</strong> this particular table, requesting up to four connections:proc reg SIMPLE;data=dblib.customers (dbsliceparm=(all,4));var age weight;where years_active>1;run;See Also“DBSLICE= Data Set Option” on page 316“DBSLICEPARM= LIBNAME Option” on page 137DBTYPE= Data Set OptionSpecifies a data type to use instead of the default DBMS data type when <strong>SAS</strong> creates a DBMS table.Default value: DBMS-specificValid 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, MySQL, Netezza, ODBC,OLE DB, Oracle, Sybase, Sybase IQ, Teradata

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

Saved successfully!

Ooh no, something went wrong!