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 HP Neoview 4 CONNECT Statement Example 559OptionQUERY_TIMEOUT=READBUFF=<strong>SAS</strong>DATEFMT=SCHEMA=Default ValueLIBNAME option settingLIBNAME option settingnoneLIBNAME option settingSQL Pass-Through Facility Specifics <strong>for</strong> HP NeoviewKey In<strong>for</strong>mationFor general in<strong>for</strong>mation about this feature, see “About SQL Procedure Interactions”on page 425.Here are the SQL pass-through facility specifics <strong>for</strong> the HP Neoview interface.3 The dbms-name is NEOVIEW.3 The CONNECT statement is required.3 PROC SQL supports multiple connections to HP Neoview. If you use multiplesimultaneous connections, you must use the alias argument to identify thedifferent connections. If you do not specify an alias, the default neoview alias isused.3 The CONNECT statement database-connection-arguments are identical to itsLIBNAME connection-options.3 You can use the SCHEMA= option only with the SERVER= and PORT= connectionoptions. It is not valid with DSN= in a pass-through connection.CONNECT Statement ExampleThis example, uses the DBCON alias to connection to the ndcs1 HP Neoview serverand execute a query. The connection alias is optional.proc sql;connect to neoview as dbcon(server=ndcs1 schema=TEST user=neo1 password=neopwd1);select * from connection to dbcon(select * from customers where customer like ’1%’);quit;

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

Saved successfully!

Ooh no, something went wrong!