Hi,
Here are the config parameters given to me for establishing the connection and I was told that the remote DB2 resides on an OS/390 box .
DB2SYSTEM=system_name
Instance=DB2
ServerType=DB2MVS
Nodetype=U
Protocol=TCPIP
Hostname=host_ip_address
Portnumber=5010
Security=0
[DB>NDE4E458:DP2H]
Dir_entry_type=DCS
Authentication=SERVER
DBName=DCS4FAF6
TargetDatabase=USIBMVRDP2H
[CLI_ODBC>DP2H]
DataSourceName=DP2H
DataSourceType=System
DBALIAS=DP2H
ODBCParameters=No
I have been given the access credentials to connect to this DB.
I tried thro windows ODBC andeven thro CLP.
I get the same error everywhere . I was not sure what the “Location Name” means . I am new to DB2 .
Here is what I get in CLP
db2 => list node directory
Node Directory
Number of entries in the directory = 1
Node 1 entry:
Node name = TCP0001
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = stfmvs1q.pok.ibm.com
Service name = 5010
db2 => list db directory
System Database Directory
Number of entries in the directory = 1
Database 1 entry:
Database alias = DCS4FAF6
Database name = DCS4FAF6
Node name = TCP0001
Database release level = f.00
Comment =
Directory entry type = Remote
Authentication = SERVER
Catalog database partition number = -1
Alternate server hostname =
Alternate server port number =
db2 => connect to DCS4FAF6 user [username] using [password]
SQL30061N The database alias or database name "DCS4FAF6 " was not
found at the remote node. SQLSTATE=08004
Thanks in advance for your help