Now I am getting error/execption which is to be trapped into a variable V_SQLCODE - DB2 "Database Error: ERROR  [IBM][DB2/AIX64] SQL0413N Overflow occurred during numeric data type conversion. SQLSTATE=22003"
Right now although I am getting the error but unable to get error number in SQLCODE variable.
How can we record all the attributes/values like SQLSTATE,SQLCODE etc. of the exception
Last edited by 2k.pravin; 07-17-12 at 09:21.
Reason: Provided OS/Version info