This is a discussion on How to check the status of a DB2 Connection within the DB2 forums, part of the Database Server Software category; --> We use DB2CLI. Does any one know if it is possible to check the status of a DB2 Connection ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| We use DB2CLI. Does any one know if it is possible to check the status of a DB2 Connection (SQLHdbc) before actually using it. This will help in preventing the call if the connection is in bad state. Recently we found that the connection sometimes doesnt return an error status even if it is not able to execute a statement. Hence, we thought of actually checking the status of the connection before actually using it. Any help is apprciated. Thanks, -Ganesh. |