Runtime Error Processing
This appendix discusses two methods of handling errors.
By default, ABF and Vision applications print Ingres error messages on the standard output device. To customize error handling in your application, use one of the following methods:
• Use the 4GL statement inquire_sql to return error numbers to your application and code your application to take certain actions when particular errors occur. However, with this method, you cannot prevent an error message from printing to the user's screen.
• Write your own routine for handling selected errors. Declare your error handler to the FRS with the Ingres-provided routine called IIseterr(). Whenever an error occurs, Ingres invokes your error handler, passing the error number as an argument.
Last modified date: 08/14/2024