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 Aster nCluster 4 Special Catalog Queries 445Option<strong>SAS</strong>DATEFMT=SCHEMA=Default ValuenoneLIBNAME option settingSQL Pass-Through Facility Specifics <strong>for</strong> Aster nClusterKey In<strong>for</strong>mationFor general in<strong>for</strong>mation about this feature, see “Overview of SQL ProcedureInteractions with <strong>SAS</strong>/<strong>ACCESS</strong>” on page 425. Aster nCluster examples are available.Here are the SQL pass-through facility specifics <strong>for</strong> the Aster nCluster interface.3 The dbms-name is ASTER.3 The CONNECT statement is required.3 PROC SQL supports multiple connections to Aster nCluster. If you use multiplesimultaneous connections, you must use the alias argument to identify thedifferent connections. If you do not specify an alias, the default ASTERalias is used.3 The CONNECT statement database-connection-arguments are identical to itsLIBNAME connection options.CONNECT Statement ExampleThis example uses the DBCON alias to connect to mynpssrv the Aster nClusterdatabase and execute a query. The connection alias is optional.PROC sql;connect to aster as dbcon(server=mynpssrv database=test user=myuser password=mypwd);select * from connection to dbcon(select * from customers WHERE customer like ’1%’);quit;Special Catalog Queries<strong>SAS</strong>/<strong>ACCESS</strong> Interface to Aster nCluster supports the following special queries. Youcan use the queries to call the ODBC-style catalog function application programminginterfaces (APIs). Here is the general <strong>for</strong>mat of the special queries:Aster::SQLAPI’parameter–1’, ’parameter-n’Aster::is required to distinguish special queries from regular queries. Aster:: is not casesensitive.SQLAPIis the specific API that is being called. SQLAPI is not case sensitive.

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

Saved successfully!

Ooh no, something went wrong!