Unanswered: DB2/win32: Raiseerror and $handle->errstr()
to show an error to my user.
but the error is always:
[IBM][CLI Driver] CLI0125E Function sequence error. SQLSTATE=HY010
If I want to see the real errormessage I have to initialize my DB2 connection with 'RaiseError => 1'.
But now the script stops and show me the error without running the rest of my script :(
on the website I see now:
DBD::DB2::db prepare failed: [IBM][CLI Driver][DB2/NT] SQL0104N
with Problemdescription ...
all I want ... BUT the script stopps!!
Can I get these detailed errormessage without stopping of my script??
And how can I get this?