Subject Re: [IBO] message length error (encountered 0, expected 8
Author Helen Borrie
At 05:23 PM 6/06/2007, you wrote:
>when my application runs a sqlscript using TIB_Script, the first
>command fails with the errormessage: message length error
>(encountered 0, expected 8
>The same sqlcommand works with TIB_DSQL.
>The whole script works with isql or IBExpert.
>- IBO 4.6B
>- Firebird-
>- SQLDialect 3
>- D2006
>- sql-command:
>execute procedure INS_CSM_DATATRANSFER_1

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.