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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| 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 |