Unix Technical Forum

How to check the status of a DB2 Connection

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 ...


Go Back   Unix Technical Forum > Database Server Software > DB2

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 10:15 AM
Ganesh
 
Posts: n/a
Default How to check the status of a DB2 Connection

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:57 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com