Easysoft ODBC-ODBC Bridge

Why do I get "IM004, Driver's SQLAllocHandle on SQL_HANDLE_HENV failed" connecting to DB2?

Article:
00106
Last Reviewed:
19th July 2005
Revision:
1

This error generally occurs in UNIX because the environment variable DB2INSTANCE is not set and exported before the Easysoft ODBC-ODBC Bridge Server is started. You need to either:

Alternatively, if you are using the unixODBC driver manager, you can use SQL_ATTR_UNIXODBC_ENVATTR in the odbc.ini file to set environment variables per DSN.

Applies To

Knowledge Base Feedback

* Did this content help you?
* Please select one option based on your first choice:

(* Required Fields)