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.
Roger Tomas — — source: Informix-list mailing list archive (1991-1998)
Jonathan Leffler kinda' wrote:
>
> So, you should probably do something like:
> IF (<condition>) THEN
> RAISE EXCEPTION -746, SQLCode, "<A descriptive error message !!>";
> END IF
Not only can your ESQL/C program check the SQLCode, it can also access
the
error message string via the sqlca.sqlerrm field.
-----------
Roger Tomas
AG Communication Systems
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.