Solved

DB2 Drivers Windows Server - Database port number

Posted on 2015-01-12
4
431 Views
Last Modified: 2015-04-27
We are trying to install DB2 Drivers on a windows server but are being asked for the database port number. Where would I find the port number?
0
Comment
Question by:OST-IS
4 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 40545841
That will be on the DB2 server, its the TCP ports that it is listening on.
0
 
LVL 45

Accepted Solution

by:
Kdo earned 500 total points
ID: 40545916
Hi OST-IS,

Most of the DB2 parameters that you'll care about can be found with these two commands:

db2>  get dbm cfg
db2>  get db cfg

In this case, the parameter that you want is returned by the first command.  It will look something like this:

 TCP/IP Service name                          (SVCENAME) = db2c_DB2

The value will be the port number as is defined in the etc/services file, or the absolute port number.

Until you get the DB2 command line processor set up on your desktop, that will have to be run on the server side.


Good Luck,
Kent
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now