Re: API for error codes.
Posted in 1995
rahulv@cyst.glta.ibm.com wrote: : Hello, : Is there an way to get Informix database error codes within a : program ? I know that one can use finderr to find out detail : information about Informix error message. What I am looking for : is some kind of APIs which I can call from my program, and the : API returns a string containing detail information about the : error message. : Any help ? Isn't that what err_get(msgnum) and rgetlmsg(msgnum,msgstr,lenmsgstr,msg_len) do? Are the manuals really so obtuse? -- graeme -- Disclaimer: The author's opinions are his own, and not necessarily those of Pyramid Technology Ltd. or Pyramid Technology Inc. --------------------------------------------------------------------------- -m------- Graeme Sargent Voice: +44 (0)252 373035 ---mmm----- Senior Database Consultant Fax : +44 (0)252 373135 -----mmmmm--- Pyramid Technology Ltd. Telex: Tell who??? -------mmmmmmm- Farnborough, Hants GU14 7PL Email: graeme@pyra.co.uk --------------------------------------------------------------------------- We have the technology. The tricky bit is learning how to use it.