EasyManua.ls Logo

Sybase Adaptive Server Anywhere - Page 141

Sybase Adaptive Server Anywhere
1182 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 Database Administration Utilities
123
Use specified ODBC driver or driver manager (-l) Use a particular
ODBC driver or driver manager library. This is particularly useful on UNIX,
where you may wish to specify a particular shared object file.
If you specify
-l, the -m switch is set automatically.
For example, the following command line uses the Adaptive Server
Anywhere ODBC driver directly on Windows operating systems, without the
driver manager:
dbping -m -c "dsn=ASA 7.0 Sample" -l dbodbc7
Use ODBC Driver Manager (-m) By default,
dbping
attempts a
connection using the embedded SQL interface. You can use the -m (or -l)
options to use the ODBC interface.
Unless you specify a different library using -l, the ODBC driver manager is
used on Windows operating systems. On UNIX, the Adaptive Server
Anywhere ODBC driver is used.
If you are using -m or -l, an Adaptive Server Anywhere data source name
should be supplied as part of the connection string. If no data source name is
supplied, you must specify the Driver= connection parameter.
Log output messages to file (–o) Write output messages to the named
file.
Operate quietly (–q) If
dbping
fails, a message is always displayed. If
dbping
succeeds, no message appears if -q is specified.

Table of Contents

Related product manuals