Subject Re: [IBO] message length error (encountered 0, expected 8
Author Helen Borrie
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
>
>The same sqlcommand works with TIB_DSQL.
>The whole script works with isql or IBExpert.
>
>- IBO 4.6B
>- Firebird-1.5.4.4910-0_embed_win32
>- SQLDialect 3
>- D2006
>- sql-command:
>execute procedure INS_CSM_DATATRANSFER_1
>('authorizationlist',1,29999,'Tourtickets','cardservice','https://192
>.168.1.1:443/cardservice/index.php?
>fuseaction=download.authorizationlist')

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