We help IT Professionals succeed at work.

DB2 Client 8.2 on AIX

KhalidJ
KhalidJ asked
on
I have installed a DB2 Server on a remote machine and I want to connect to that database using a DB2 Client on AIX.  I have installed the DB2 run time client but I cannot find the db2ca command to configure the client.  Or let me re pharase    how do I configure the DB2 client on AIX?  Thanks
Comment
Watch Question

hi
you can configure it using the command line center
in order to access the remote machine using tcpip you will need to perform 2 operations
1) catalog tcpip node
2) catalog a database
for example
catalog tcpip node MyNode remote ServerIpAddr server DB2TCPPort
catalog database myDB at node MyNode

Author

Commented:
Thanks.  Where can i run catalog from?  The DB2 Client?  
the command line processor
in order to enter the command line processor you just enter the command "db2" from a console window
note that when you install the db2 client it creates a file called ". db2profile" under one of it's directories
you need to call that file in order to set some envrionment variables and then you can use the command line processor
if you don't wish to use the command line processor, you can just prefix each of the above commands with the word db2 and it will execute it
for example
db2 catalog tcpip node MyNode remote ServerIpAddr server DB2TCPPort
db2 catalog database myDB at node MyNode

Author

Commented:
Ok I can see the db2profile file.  What do I edit in order to enter the CLP mode?  thanks

DB2 command just gives me /usr/bin/ksh: db2 not found

Author

Commented:
Ok I am in

Author

Commented:
Thanks managed to get in but still trying to get this to work

Explore More ContentExplore courses, solutions, and other research materials related to this topic.