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.
Rob Prop — — source: Informix-list mailing list archive (1991-1998)
Shril Nyesburg wrote:
>
> I have a large batch program that is producing non-fatal errors like this:
>
> Forms statement error number -1214
> Value exceeds limit of smallint precision
>
> Does anyone know a direct approach for locating the program variables
> responsible for these errors, so that I may retype them as integer? In
> such a large program, finding by trial and error would take forever.
Hi,
I think you can try the following.
WHENEVER ANY ERROR STOP
or
WHENEVER ANY WARNING STOP
Using this statements you can make your program stop. At the point the
warning is generated the program will be terminated and the line number
is given. This should be a way to locate the kind of warnings you get.
Good luck trying,
Rob Prop
--
===============================================================
Rob Prop Tel. : +31-164-255300
Consultant Fax. : +31-164-246162
Informa Automatisering bv Email: rprop@concepts.nl
Bergen op Zoom informa@pi.net
The Netherlands Web : http://www.informa.nl
===============================================================
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.