David McCreery wrote:
>
> We have an application that is causing errors. It used Informix 7.12
>
> But the only error that the application reports back is the SQL error.
> What I need to get is the ISAM Error. Is there any way that I can record
> the full error without having to modify the application code.
>
> This error is difficult to recreate and I cannot pin-point exactly when it
> happens.
>
> Thanks in Advance
>
> David McCreery
David,
If you use 4GL, the ISAM code is in sqlca.sqlerrd[2] when sqlca.sqlcode
< 0.
If you use ESQL/C, it is in sqlca.sqlerrd[1] when sqlca.sqlcode < 0.
Peter
--
Peter Lancashire
Information Systems Specialist, Bayer plc
Eastern Way, Bury St Edmunds, Suffolk, IP32 7AH, UK
Tel: +44-1635-562258, Fax: +44-1635-562281
Mail: Peter.Lancashire.PL1@bayer.co.uk
My Internet plumbing does not allow me to mail and post news together.
Sorry.
All opinions are my own and not those of Bayer plc.