7. OpenSQL Features : Error Handling : Error Message Suppression
 
Share this page                  
Error Message Suppression
The IIseterr function is a feature that allows the display of error messages to be suppressed. Although IIseterr is intended for use in Ingres 4GL applications, it can also be used to suppress error messages generated by forms statements. For details, see the 4GL Reference Guide.
If IIseterr is used in an embedded OpenSQL program that makes use of the SQLCA, errors returned by embedded OpenSQL database statements do not interact with IIseterr. If your program does not use the SQLCA, errors resulting from both forms statements and embedded OpenSQL database statements are passed through IIseterr, if it is present. For ease of use and implementation, it is recommended that you use the SQLCA and WHENEVER statements to handle embedded OpenSQL database statement errors.