how to use db2gerg to delete the entry in global.reg

Hi Expert,

Could you help me how to use the command db2gerg to delete the entry in global.reg
参与5

4同行回答

wangzhonnewwangzhonnew软件工程师IBM Canada Ltd.
(taoewang@panipuri) /home/taoewang/sqllib/db2dump $ db2gregdb2greg Usage:  -dump  : Dump the registry's contents to the screen  -g     : Display the full pathname of the Global Registry  -v&...显示全部
(taoewang@panipuri) /home/taoewang/sqllib/db2dump $ db2greg
db2greg Usage:
  -dump  : Dump the registry's contents to the screen
  -g     : Display the full pathname of the Global Registry
  -v     : Verbose output

  Record Manipulation Actions:
    -addinstrec
    -addservrec
    -addvarrec  
    -delinstrec
    -delservrec
    -delvarrec  
    -getinstrec
    -getservrec
    -getvarrec  
    -chginstrec !
    -chgservrec !
    -chgvarrec  !
    -updinstrec !
    -updservrec !
    -updvarrec  !

    Note: -updXXXXrec differs from -chgXXXXrec in that the original record is preserved
          and only the fields in are "updated"

    are comma seperated FIELD=VALUE definitions.
    Instance record fields are:
      service version instancename instancepath usage startatboot maintenance installpath remoteprof comment
    Service record fields are:
      service version installpath gcfmodule comment fixpacknumber installeruid interimfixletter timestamp specialinstallnumber
    Variable record fields are:
      service variable value installpath comment

    Example: Add a simple instance record:
      db2greg -addinstrec service=DB2,instancename=db2user,maintenance=1

    Example: Change instance name to 'db2inst1' in the record added above
      db2greg -chginstrec instancename=db2user!service=DB2,instancename=db2inst1,maintenance=1



personally i don't suggest you to run this tool without checking with ibm db2 support. incorrect usage of this tool might damage the global registry...收起
IT分销/经销 · 2010-09-03
浏览2644
Thanks very much!LS, Could you give the syntax of the command db2greg?I can't find it.显示全部
Thanks very much!
LS, Could you give the syntax of the command db2greg?
I can't find it.收起
2010-09-03
浏览2094
wangzhonnewwangzhonnew软件工程师IBM Canada Ltd.
db2greg -delinstrec service=DB2,instancename=db2inst1显示全部
db2greg -delinstrec service=DB2,instancename=db2inst1收起
IT分销/经销 · 2010-09-03
浏览2099
db2gerg?恕俺孤陋寡闻  没听说过啊显示全部
db2gerg?恕俺孤陋寡闻  没听说过啊收起
2010-09-03
浏览2089

提问者

becks1986
擅长领域: 数据库

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2010-09-03
  • 关注会员:1 人
  • 问题浏览:9432
  • 最近回答:2010-09-03
  • X社区推广