Solved

DB2 Drivers Windows Server - Database port number

Posted on 2015-01-12
4
439 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

17 Experts available now in Live!

Get 1:1 Help Now