View Single Post

   
  #2 (permalink)  
Old 02-27-2008, 03: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
Reply With Quote