Thanks everyone for the help. Actually I was hoping to get error
messages directly from java, without extra lookup. Perhaps I can use
this sp somehow..
Regards, Juha
Serge Rielau wrote:
> Jan Nelken wrote:
> > JuhaM wrote:
> >> Hi All
> >> Just wondering if its possible get more descriptive error messages in
> >> to com.ibm.db2.jcc.b.SqlException. getMessge or toString() methods
> >> gives only SQL-error codes like:
> >> SQLCODE: -1218, SQLSTATE: 57011, SQLERRMC: 4096
> >>
> >> I am using universal driver...
> >> Thanks for any help
> DB2 9 for LUW has a stored procedure to retrieve the messagetext for any
> SQLCODE in the server language.
> Check under "Administrative routines"
>
> Cheers
> Serge
> --
> Serge Rielau
> DB2 Solutions Development
> IBM Toronto Lab
>
> WAIUG Conference
> http://www.iiug.org/waiug/present/Fo...Forum2006.html