I have a problem on AIX while calling API function for DB2:
C program on AIX is connecting via ODBC driver to a DB2 on remote server
(created from a proposed template so all the sequence of API function
calls is standard).
First it tries to allocate environment handle SQL_HANDLE_ENV using the CLI/CAE function SQLAllocHandle, but sometimes failed with error log only like:
Sat Jul 19 03:52:27 2003
Where can I look at more detailed information, e.g. SQL state or other
information to find cause of error (looks like DB2 log on AIX started only after successful allocation of the handle).
Can someone help me understand where can root of the problem.
I guess environment handle should be always available.
Sorry, I'm not familiar with AIX and ODBC.