Programming Guide : 9. Using 3GL in Your Application : How You Can Use Exec 4GL Statements in 3GL Procedures : How You Can Check for Errors
 
Share this page                  
How You Can Check for Errors
Use the inquire_4gl statement to check for errors resulting from exec 4GL statements. By default, any such errors are directed to the trace window and the log file. To turn off the display of these errors, use the set_4gl statement with the messages keyword.
Neither the global error handler that set_sql defines nor the sql whenever statement apply to exec 4GL errors. An error handler specified with the IIseterr function is not called when an error occurs.