I tried to use Data Access Tool (v4.0) to connect a db2 instance.
The db2 and Data Access Tool are installed on same machine.
It ran into the error when I click the 'Connect'
Here was the connection string:
Provider=DB2OLEDB;User ID=test1;Password=Aa1!Aa1!;Initial Catalog=dbtest;Network Transport Library=TCPIP;Host CCSID=37;PC Code Page=1252;Network Address=test017330VM;Network Port=50000;Package Collection=MSPKG;Process Binary as Character=False;Units of Work=RUW;DBMS Platform=DB2/MVS;Use Early Metadata=False;Defer Prepare=False;DateTime As Char=False;Rowset Cache Size=0;Datetime As Date=False;AutoCommit=True;Authentication=Server;Decimal As Numeric=False;Derive Parameters=False;LoadBalancing=False;Persist Security Info=True;Cache Authentication=False;Connection Pooling=False;
Environment
===
Server name:test017330VM
OS:Windows Server 2012 R2 Datacenter
DB2 port:50000
DB2 Version:DB2 v11.1.1010.160
Database:dbtest. (this is created by 'DB2 Create database dbtest'
Local user:test1 . This user is a member of windows group 'testgroup' which belongs to DB2 SYSADM_GROUP
UPDATE DBM CFG USING SYSADM_GROUP testgroup
Password:Aa1!Aa1!;
Queries
===
1)What is Package Collection? Is MSPKG a correct value? If not, how do i get the value?
2)Is 'DB2/MVS' applicable for 'DBMS Platform' when DB2 is installed in windows?
3)Do i need to specify instance name?
Thanks very much