I have been working on resolving the error "SQL0435N An invalid application defined SQLSTATE " " was specified" for quite some time.
Here is what is happening...
I have a parent procedure that loops around a variable, and this variables is the input parameter to the child procedure.
I have tested the child procedure with the same parameter that the looping variable is assigned. And it works absolutely fine.
However when the same is being run in the cursor it fails with the error highlighted in the top.
Can anyone suggest/advice what could be the cause of this issue.
Thanks