Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2005
    Posts
    127

    Unanswered: How to find the DB2'sport number?

    I need to find the Port number in which the DB2 runs. Is there any DB2 function calls to do this ?

    Sn

  2. #2
    Join Date
    Oct 2004
    Location
    DELHI INDIA
    Posts
    338
    Step1> db2 "get dbm cfg" | grep SVCENAME

    note the result, suppose the SVCENAME is db2inst2_db2ic

    step2>
    cat /etc/services | grep 'db2inst2_db2ic'

    50001

    Then 50001 will be your db2 port, on windows search this file on WINNT/SYSTEM32/DRIVERS/ETC

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •