I am trying to use my local DB2 Express-C
edition to access remotely a db2 database running on a remote machine at IP 192.168.48.189
. The remote machine is running a DB2 Workgroup Server
edition.
They are both version v10.1
and I am running them on LINUX.
First of all Is that possible?
When I try the following call it always returns me this error.
If I understood correctly
db2tcp1
is a new node I need to create on my local to be able to connectdb2inst1
is the db2 instance name of the remote db2 instance.
My local instance as well is named db2inst1
like the remote one.
Is my command below correct?
db2 "CATALOG TCPIP NODE db2tcp1 REMOTE 192.168.48.189 SERVER db2inst1"
SQL0512N A three-part name "" that references a remote object is not
supported in the context in which it appears. Reason Code = "".