Note this question is specific to "IBM DB2 for i", the IBM i operating system's version of DB2.
The below screenshot shows a purposely erroneous INSERT statement that produces an SQL error of SQL0407.
My question... Is there a DB2, JDBC, or other setting I can alter so the long column names are used in the error vs. the cryptic short ones? Note I used the long column names in the INSERT statement.
After looking over the JDBC properties documentation on InfoCenter ... Have you tried the JDBC properties of "errors"="full" and/or "extended metadata" = "true"?
Carol Ramler, DB2 for i Senior Software Engineer at IBM, responded with this:
Given her title I trust she is right :-)