Global ESQL/C variables in a Windows™ environment
Global variable | Description |
---|---|
SQLSTATE | An ANSI-compliant status code as a five-character
string (plus null terminator) For more information about SQLSTATE, see Exception handling. |
SQLCODE sqlca.sqlcode | A status code specific to Informix® as
an integer value For more information about SQLCODE, see Exception handling. |
sqlca structure | Diagnostic information specific to Informix® For more information about this structure, see Exception handling. |
FetBufSize and BigFetBufSize | The size of the fetch buffer BigFetBufSize is same as FetBufSize except for a higher upper limit value of the cursor buffer For more information about FetBufSize and BigFetBufSize, see Using dynamic SQL. |
InetLogin structure | Environment information for the client ESQL/C application For more information, see The InetLogin structure. |
In environments, Informix® ESQL/C implements the global variables in Global ESQL/C variables as functions, which the sqlhdr.h file defines. These functions return values that have the same data types as their global-variable counterparts. Therefore, this change in implementation does not require modification of existing Informix® ESQL/C code. You can still use these functions in the same context as their global-variable counterparts.