Pro*C error message location ?

From: John Strange <jstrange_at_imtn.dsccc.com>
Date: 2 Nov 2000 22:10:52 GMT
Message-ID: <8tsopc$8$1_at_relay1.dsccc.com>


Some where along the line, Oracle decided to add  sqlcxt((void **)0, &sqlctx, &sqlstm, &sqlfpn);

to the end of a EXEC SQL any_command_here ; in the Pro*C pre-processor.

One of the effects of this is that it nulls out

    sqlca.sqlerrm.sqlerrmc
which contains the failure reason when the command fails.

Does anyone know where else I can get an EXEC SQL failure message?

--
While Alcatel may claim ownership of all my ideas (on or off the job),
Alcatel does not claim any responsibility for them. Warranty expired when u
opened this article and I will not be responsible for its contents or use.
Received on Thu Nov 02 2000 - 23:10:52 CET

Original text of this message