If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 application ID: Conver hex IP address to decimal address

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-15-05, 12:48
DBA-Jr DBA-Jr is offline
Registered User
 
Join Date: Mar 2005
Posts: 108
DB2 application ID: Conver hex IP address to decimal address

Hi All
According to the book, the first 8 characters of "Applications Id" is the IP address (in hex) of hosts who have connections to DB2. I don't have problem to convert A2462315 to 162.70.35.21. But how to convert GAADC916 starting with G? Thank you for advice.

$ db2 list applications

Auth Id Appl-name Appl-handl Application-Id DB #agnt

-------- -------------- ---------- ------------------------------ -------- -----
AF36D1 db2jccThread-8 479 A2462315.H02A.01082F503165 AH3D_02 1
AF36DAT dbsurfer.exe 150 GAADC916.N807.01A6C5163135 AH3D_02 1

Last edited by DBA-Jr; 12-15-05 at 23:06.
Reply With Quote
  #2 (permalink)  
Old 12-15-05, 20:17
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
For DRDA connections (the only time you will see these hex numbers > F), make the following conversion:

G=0
H=1
I=2
J=3

etc.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On