?
Solved

DB2 Drivers Windows Server - Database port number

Posted on 2015-01-12
4
Medium Priority
?
491 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 46

Accepted Solution

by:
Kent Olsen earned 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

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 (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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

752 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