Re: Informix messages in ESQL/C
Posted in 1991
Walt Hultgren (walt@mathcs.emory.edu) writes: > There is a function provided in the INFORMIX-provided sql library: > rgetmsg( code, buf, buffer_length ) > long code; > char *buffer; > int buffer_length; > rgetmsg() will populate a caller-provided character buffer, 'buffer' > with the error message corresponding with database error code > 'code'. The maximum length of 'buffer' is passed in as > 'buffer_length'. Query: Is there any implementation scheme usable in I4GL or RDS? I.E., is there any way to get to this function via undocumented-yet-still-"standard" 4GL statements? Would be nice, but . . . *sigh.* > I also was told by INFORMIX support that there was no way to read those > .iem files. I discovered rgetmsg() by disassembling some of the > sql library functions. Sounds like something we'd try! :-) bw