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 HCL
OneDB™ as
an integer value For more information about SQLCODE, see Exception handling. |
sqlca structure | Diagnostic information specific to HCL
OneDB 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, 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 code. You can still use these functions in the same context as their global-variable counterparts.