Interaction Between iiseterr() and inquire_sql
The user-written error handler and 4GL's inquire_sql statement never interact. The use of iiseterr() does not affect the error information or rowcount available to your program via the inquire_sql statement. Even if the error handler routine suppresses an error message by returning 0, the error number is still available to your 4GL program through the statement:
inquire_sql (errno = errno)