Hi everyone,
I'm struggling a bit with signalling.
I have a procedure that calls two other procedures. Lets call them Procedure Main, that calls Procedure 1 and Procedure 2.
Now, what I need is to signal an exception from Procedure 1 to Procedure Main.
What's happening is that, even though I have a declare exit handler for SQLEXCEPTION in Procedure Main, when I signal the exception in Procedure 1, it's going to blow up to process and not execute Procedure 2.
Is there some way to achieve this?
Thank you,
Fábio