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.

<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle 4 Data Set Options <strong>for</strong> Oracle 711OptionDefault ValueUPDATEBUFF= 1UTILCONN_TRANSIENT=NOOracle LIBNAME Statement ExamplesIn this first example, default settings are used <strong>for</strong> the connection options to make theconnection. If you specify the appropriate system options or environment variables <strong>for</strong>Oracle, you can often omit the connection options from your LIBNAME statements. Seeyour Oracle documentation <strong>for</strong> details.libname myoralib oracle;In the next example, the libref MYDBLIB uses <strong>SAS</strong>/<strong>ACCESS</strong> Interface to Oracle toconnect to an Oracle database. The <strong>SAS</strong>/<strong>ACCESS</strong> connection options are USER=,PASSWORD=, and PATH=. PATH= specifies an alias <strong>for</strong> the database specification,which SQL*Net requires.libname mydblib oracle user=testuser password=testpass path=hrdept_002;proc print data=mydblib.employees;where dept=’CSR010’;run;Data Set Options <strong>for</strong> OracleAll <strong>SAS</strong>/<strong>ACCESS</strong> data set options in this table are supported <strong>for</strong> Oracle. Defaultvalues are provided where applicable. For general in<strong>for</strong>mation about this feature, see“Overview” on page 207.Table 25.2<strong>SAS</strong>/<strong>ACCESS</strong> Data Set Options <strong>for</strong> OracleOptionDefault ValueBL_BADFILE=BL_CONTROL=BL_DATAFILE=BL_DEFAULT_DIR=BL_DELETE_DATAFILE=BL_DELETE_ONLY_DATAFILE=BL_DIRECT_PATH=BL_DISCARDFILE=BL_INDEX_OPTIONS=creates a file in the current directory or with thedefault file specificationscreates a control file in the current directory or withthe default file specificationscreates a file in the current directory or with thedefault file specificationsYESnoneYEScreates a file in the current directory or with thedefault file specificationsthe current SQL*Loader Index options withbulk-loading

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

Saved successfully!

Ooh no, something went wrong!