Subject Re: [IBO] Stored procedure, ExecSQL and Suspend
Author Marco Menardi
--- In IBObjects@y..., Svein Erling Tysvaer <svein.erling.tysvaer@k...> wrote:
> <skipped a lot>
>
> > IF ((OUT_DIFFERENZIA='E') OR (OUT_DIFFERENZIA IS NULL)) THEN
> > OUT_DIFFERENZIA='N';
> > SUSPEND; /* ****************************** */
> >END
> >
> >Needs the final suspend...
>
> Are you sure? I would have thought EXIT would have been more appropriate.

No, it was a mistake by me in the SP :(
EXIT (or END) *is* enought.
But this has wake up the fact that I'm using SP withoud knowing exactly all the pitfalls involved, simply "coping old code" and adding some suspend around, just to make SP look better ;)
Hope that at the end I will understand the apropriate use of SP and IBO related components.
regards
Marco Menardi