I've been attempting to establish a connection with an IBM DB2 database with which I can extract the data.
The details I have are:
- Server Name
- Data Library
- Username/Password.
I've tried two different ways:
Using Excel:
Within Excel, I have gone onto data-> From other sources -> From data connection wizard -> other/advanced -> Microsoft OLE DB Provider for DB2.
I have entered the server name for the data source parameter and the username and password in the appropriate parameters. Whenever I click on the "test" button, the same error is returned: "Test connection failed because of an error in initializing the provider.- The parameter is incorrect"
Using SQL Server 2008:
I have also attempted to connect to this DB2 database through SQL Server 2008 creating a new linked server and entering the server name in the data source parameter and username and password in the security page.
The provider I've selected there is "IBM DB2 UDB for iSeries IBMDA400 OLE DB Provider". The error I get here is: "The linked server has been created but failed a connection test"
Any advice on how to connect to the DB2 database from excel or SQL Server 2008 would be extremely helpful.
Thanks