Subject Re: [IBO] message length error (encountered 0, expected 8
Author scr0546
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@...> wrote:
>
> At 05:23 PM 6/06/2007, you wrote:
> >Hello,
> >
> >when my application runs a sqlscript using TIB_Script, the first
> >command fails with the errormessage: message length error
> >(encountered 0, expected 8
>
> It seems your procedure has been written with a RETURNS() clause
in
> the header. You can't execute such procedures in a script,
> obviously, since the output has nowhere to go.
>
> Helen
>


Thanks Helen.

You are right, the procedure returned the last id (primary key),
Now it works with a new procedure.

Best regards
Joe