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 Oracle 4 DBLOAD Procedure Specifics <strong>for</strong> Oracle 721/* create view descriptor */create vlib.usacust.view;select customer state zipcode namefirstorder;subset where customer like ’1%’;run;This next example creates another view descriptor that is based on theADLIB.CUSTOMER access descriptor. You can then print the view./* create socust view */proc access dbms=oracle accdesc=adlib.customer;create vlib.socust.view;select customer state name contact;subset where state in (’NC’, ’VA’, ’TX’);run;/* print socust view */proc print data=vlib.socust;title ’Customers in Southern States’;run;DBLOAD Procedure Specifics <strong>for</strong> OracleFor general in<strong>for</strong>mation about this feature, see Appendix 2, “The DBLOAD Procedure<strong>for</strong> <strong>Relational</strong> <strong>Databases</strong>,” on page 911. Oracle examples are available.The Oracle interface supports all DBLOAD procedure statements. See “AboutDBLOAD Procedure Statements” on page 912.Here are the DBLOAD procedure specifics <strong>for</strong> Oracle.3 The PROC DBLOAD step DBMS= value is Oracle.3 Here are the database-description-statements that PROC DBLOAD uses:USER=Oracle-user-namespecifies an optional Oracle user name. If you omit an Oracle password anduser name, the default Oracle user ID OPS$sysid is used if it is enabled. Ifyou specify USER=, you must also specify ORAPW=.ORAPW= Oracle-passwordspecifies an optional Oracle password that is associated with the Oracle username. If you omit ORAPW=, the password <strong>for</strong> the default Oracle user IDOPS$sysid is used, if it is enabled. If you specify ORAPW=, you must alsospecify USER=.PATH=Oracle-database-specificationspecifies the Oracle driver, node, and database. Aliases are required if youare using SQL*Net Version 2.0 or later. In some operating environments, youcan enter the in<strong>for</strong>mation that is required by the PATH= statement be<strong>for</strong>einvoking <strong>SAS</strong>.<strong>SAS</strong>/<strong>ACCESS</strong> uses the same Oracle path designation that you use toconnect to Oracle directly. See your database administrator to determine thepath designations that are set up in your operating environment, and to

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

Saved successfully!

Ooh no, something went wrong!