Unix Technical Forum

DB2 SQLCode Connection lost.

This is a discussion on DB2 SQLCode Connection lost. within the DB2 forums, part of the Database Server Software category; --> Hi, My program needs to handle losing connection when a statement is being executed. I plan to use SQLGetDiagRec ...


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-27-2008, 02:49 AM
seamonster76@yahoo.com
 
Posts: n/a
Default DB2 SQLCode Connection lost.

Hi,

My program needs to handle losing connection when a statement is being
executed.

I plan to use SQLGetDiagRec to retrieve the native error code. Does
anyone have a reference to a list of all error codes? In particular
what is the error code if a connection is broken?


Thanks!
Andy

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 02:49 AM
Knut Stolze
 
Posts: n/a
Default Re: DB2 SQLCode Connection lost.

seamonster76@yahoo.com wrote:

> Hi,
>
> My program needs to handle losing connection when a statement is being
> executed.
>
> I plan to use SQLGetDiagRec to retrieve the native error code. Does
> anyone have a reference to a list of all error codes? In particular
> what is the error code if a connection is broken?


Have a look at the DB2 Message Reference:
http://publib.boulder.ibm.com/infoce...e/r0climsg.htm

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
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:53 AM.


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