----- Original Message -----
From: "Jason Wharton" <jwharton@...>
> Perhaps you could try investigating the use of SUSPEND and EXIT in
different
> combinations in the SP.
>
> I suggest this be taken up in an InterBase/Firebird forum as it appears to
> be a situation outside of IBO's control.
sorry Jason, but to me this seems NOT to be a problem of IB/FB.
the SP is working.
when I call it from IB_storedprocedure everything is fine.
when I call it from ib_cursor it is executed twice.
I will investigate this again and send an example.