Using the INFORMIX_SQLCODE Keyword
The INFORMIX_SQLCODE keyword returns the Informix®-specific status code. The same value is also available in the global SQLCODE variable. For more information, see the discussion of the SQLCODE variable in the Informix® ESQL/C Programmer's Manual.