Troubleshooting
Problem
When attempting to connect to DB2 from my remote Modeler server located on a Unix platform I get the following error. SQLDriverConnect failed :[DataDirect][ODBC DB2 Wire Protocol driver][DB2]Unkown error: SQLCODE -1001 How can I fix this?
Resolving The Problem
The default odbc.ini is a template for future datasource connection information. In the case of DB2 it has entries appropriate for DB2 on z/OS as well as other platforms. If you are connecting to a non z/OS platform, then you must comment these properties out. If instead you are connecting to DB2 on z/OS you need to supply valid property values.
Please edit your odbc.ini file to simply comment out these two lines in the datasource configuration:
This:
#Collection applies to z/OS and iSeries only
Collection=
needs to be this:
#Collection applies to z/OS and iSeries only
#Collection=
and this:
#Location applies to z/OS and iSeries only
Location=<location_name>
needs to be this:
#Location applies to z/OS and iSeries only
#Location=<location_name>
Related Information
Historical Number
90556
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21488770