Have a look at the quick beginnings guide for information on how to configure clients ...
In short, at the client end you need a db2 client software installed ... Then catalog node and database ...
db2 catalog tcpip node <nodename> remote <ipaddress> server <server-port>
db2 catalog database <dbname> as <aliasname> at node <nodename>
You can find the server port using
On the server
db2 get dbm cfg
and see the value for the SVCENAME parameter ... If is a number, that is the port ... If it is a service name, refer /etc/services for the corresponding port number of the service
So in other words there is no other way to connect to a remote db2 server without the DB2 client? If I have the DB2 Client (using the trial version right now) then I don't need both UnixODBC and iODBC, I just go straight to the client from perl module. I just don't want to buy the client, and also, my os is not supported by the client. Does anyone have any suggestion?
Yes, connection with a language, preferably perl so I can query the database using sql commands. I'm willing to try any way possible to import data from the db2 server into my box. I will try JDBC. Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.