Thank you for your help.
Sorry, I wasn't really clear in my previous message.
I work in a windows environnment.
I developped a
VB program to request a DB2 table via ODBC.
I do connect and request the table, but my problem is that when I've got an error (because the syntax of the request is not correct for example) I only obtained the odbc error and not the db2 error. I want the db2 error message, which is much more explicit...
Cheers
Thom