In the "Import DB schema from ODBC source" window, upon clicking the [...], in the following popup under the "Machine Data Source" tab, I am able to see my DB2 database. I select it and click OK, and in the following window if I enter the username and password and hit OK, I get "Unable to obtain table information" message.
We are using the IBM DB2 ODBC Driver.
In the "Open Project" window, after checking the 'Connect to server' box and hitting on the [...], the Data Link Properties window comes up. On this under the Provider tab, should I be selecting the 'IBM OLE DB Provider for DB2' or the 'Microsoft OLE DB Provider for ODBC Drivers' ?
If I pick the 'IBM OLE DB Provider for DB2', under the 'Connection' tab the Datasource dropdown is disabled.
If I pick 'Microsoft OLE DB Provider for ODBC Drivers' I am able to see my DB2 database under the Datasource name dropdown.
I pick my database, enter username and password, and hit TestConnection, I get an error saying 'Test connection failed because of an error in initializing provider. [IBM][CLI Driver] SQL1039C An I/O error occurred while accessing the database directory. SQLSTATE=58031'. If I still go ahead and click on 'OK', then the message is 'Invalid datasource check configuration'
Using TOAD for DB2 I am able to connect to the database perfectly fine with the same username and password.
Please advise a solution.