Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Nguyen — — source: Informix-list mailing list archive (1991-1998)
bonk@positron.med.ge.com (Frank Bonk) wrote:
>
>We currently use rgetmsg to print out error messages but could use a
>little help. Some error messages are printed in the form -
>
>" Key value for constraint (%s) is still being referenced ".
>
>What do I need to do to also decode the value for the constraint name?
>
>Thanks in advance.
>
>Frank
$char errmsg[80];
rgetmsg((short)SQLCODE, errmsg,sizeof(errmsg));
printf(errmsg,sqlca.sqlerrm);
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.