The meaning of DB2 ErrorCodes ?

If there occurs an SQLException in your code, well - DB2 will add some cryptic infocodes to help you. these look like: "DB2 SQL error: SQLCODE: -803, SQLSTATE: 23505." -> so -where can we find a human readable explaination to these codes without starting the IBM Webpage in an extra browserwindow using the SQLCODE search ? this could be found on: http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzala/rzalafinder.htm OK but... We dont want to use a browser everytime we get an exception so ?
1 answer

Use the DB2 comandlineTool

The meaning of Errorcodes can be found by doing this:
ENTER:
? sqlxxxx,
using the DB2 comandlineTool, where xxxx is the Errorcode of your message.
for the example above it would be:
? sql-803.

Answer: Duplicate key value specified.