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.

764 LIBNAME Statement Specifics <strong>for</strong> Sybase IQ 4 Chapter 27LIBNAME Statement Specifics <strong>for</strong> Sybase IQOverviewThis section describes the LIBNAME statement that <strong>SAS</strong>/<strong>ACCESS</strong> Interface toSybase IQ supports and includes examples. For details about this feature, see“Overview of the LIBNAME Statement <strong>for</strong> <strong>Relational</strong> <strong>Databases</strong>” on page 87.Here is the LIBNAME statement syntax <strong>for</strong> accessing Sybase IQ.LIBNAME libref sybaseiq ;Argumentslibrefspecifies any <strong>SAS</strong> name that serves as an alias to associate <strong>SAS</strong> with a database,schema, server, or group of tables and views.sybaseiqspecifies the <strong>SAS</strong>/<strong>ACCESS</strong> engine name <strong>for</strong> the SybaseIQ interface.connection-optionsprovide connection in<strong>for</strong>mation and control how <strong>SAS</strong> manages the timing andconcurrence of the connection to the DBMS. When you use the LIBNAMEstatement, you can connect to the Sybase IQ database in two ways. Specify onlyone of these methods <strong>for</strong> each connection because they are mutually exclusive.3 HOST=, SERVER=, DATABASE=, PORT=, USER=, PASSWORD=3 DSN=, USER=, PASSWORD=Here is how these options are defined.HOST=server-namespecifies the host name or IP address where the Sybase IQ database isrunning. If the server name contains spaces or nonalphanumeric characters,you must enclose it in quotation marks.SERVER=server-namespecifies the Sybase IQ server name, also known as the engine name. If theserver name contains spaces or nonalphanumeric characters, you mustenclose it in quotation marks.DATABASE=database-namespecifies the Sybase IQ database that contains the tables and views that youwant to access. If the database name contains spaces or nonalphanumericcharacters, you must enclose it in quotation marks. You can also specifyDATABASE= with the DB= alias.PORT=portspecifies the port number that is used to connect to the specified Sybase IQdatabase. If you do not specify a port, the default is 2638.USER=Sybase IQ-user-namespecifies the Sybase IQ user name (also called the user ID) that you use toconnect to your database. If the user name contains spaces ornonalphanumeric characters, you must enclose it in quotation marks.

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

Saved successfully!

Ooh no, something went wrong!