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