Subject Re: [firebird-support] Using the API to execute a stored proceedure with out params
Author ���������
On 5 Jul 2005 at 15:10, edcurren wrote:

> I am writing code to call a SP w/ 7 in parameters and 1 out
>parameter. The code I'm calling is below. On the isc_dsql_execute
>function I am getting the following error message:
>
>Unsuccessful execution caused by system error that does not preclude
>successful execution of subsequent statements message length error
>(encountered 0, expected 8)

Read ApiGuide carefully:

"Note To execute a statement repeatedly when it both has input
parameters and return values, such as EXECUTE PROCEDURE, use
isc_dsql_execute2() which requires both an input and an output
XSQLDA."
--
SY, Dimitry Sibiryakov.