ASA Database Administration Guide
Database Administration Utilities
The Ping utility
dbping [ options ]
Option | Description |
---|---|
-c "keyword=value; ..." | Database connection parameters |
-d | Make a database connection if the server is found |
-l library | Load specified ODBC driver or library |
-m | Use ODBC driver manager |
-o filename | Log output messages to a file |
-pc property,... | Report specified connection properties |
-pd property,... | Report specified database properties |
-ps property,... | Report specified database server properties |
-q | Operate quietly—do not print messages |
-z | Display debugging information |
The dbping utility is a tool to help debug connection problems. It takes a full or partial connection string and returns a message indicating whether the attempt to locate a server or database, or to connect, was successful.
The utility can be used for embedded SQL or ODBC connections. It cannot be used for jConnect (TDS) connections.
Exit codes are 0 (success) or non-zero (failure).
This utility accepts @filename parameters. For more information, see @filename server option.