Removing DB2INSTDEF value from registry

Posted by Peter on Stack Overflow See other posts from Stack Overflow or by Peter
Published on 2010-03-08T19:51:35Z Indexed on 2010/04/12 9:03 UTC
Read the original article Hit count: 535

Filed under:

Database: DB2 v9.5 on AIX

Scenario: I have 2 instances- db2inst1 and db2inst2. I created db2inst1 first. I went ahead and created db2inst2 next and I do 'db2set -all' on db2inst2 instance I see this:

[g] DB2INSTDEF=db2inst1

I would like to reset DB2INSTDEF and make it not show up when I do 'db2set -all' (other than dropping and recreating db2inst1).

Thanks.

© Stack Overflow or respective owner

Related posts about db2