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 > db2greg

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-18-05, 14:39
mvo@work mvo@work is offline
Registered User
 
Join Date: Nov 2004
Posts: 15
db2greg

Hi,

I can't find any IBM documentation on command db2greg. It's in $HOME/sqllib/bin (V8.1)

Anyone can help ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-18-05, 16:14
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If you are a brave soul, you can try db2greg -h

Sounds like you have too much time on your hands.
__________________
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
  #3 (permalink)  
Old 01-19-05, 12:48
mvo@work mvo@work is offline
Registered User
 
Join Date: Nov 2004
Posts: 15
Marcus_A,

I don't know what you meant by "have too much time" ? If you can help please post a reply, otherwise please skip it. Please do not insult people.

We're setting up DB2 to run on a HA environment and getting an error db2greg not found when running the regudbdb2 script. That's why I asked.

Thanks for nothing anyways.
Reply With Quote
  #4 (permalink)  
Old 01-19-05, 14:40
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You are welcome. Glad I could help.
__________________
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
  #5 (permalink)  
Old 04-22-10, 08:44
karthik.try20 karthik.try20 is offline
Registered User
 
Join Date: Apr 2010
Location: Chennai
Posts: 4
Hi Friend,

Plz find the below info which will be really helpful to u....

db2greg - Displaying and altering the Global Registry (UNIX)
The Global Registry lives in /var/db2/global.reg (/var/opt/db2/global.reg on
HP-UX) and only exists on UNIX and Linux platforms. It consists of three different
record types:
v ″Service″: Service records contain information at the product level - i.e. version,
install path, etc.
v ″Instance″: Instance records contain information at the instance level - i.e.
Instance name, instance path, version, the ″start-at-boot″ flag, etc.
v ″Variable″: Variable records contain information at the variable level - i.e.
Variable name, Variable value, and Comment
One can view (and manipulate with root access) the Global Registry with the
″db2greg″ tool. This tool is located in sqllib/bin, and in the install directory under
bin as well (for use when logged in as root). You should only use this tool if
requested to do so by DB2 Customer Support.

By
KK
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