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 > Please Help!!!!!running db2profile for different instance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-05, 09:36
huss0027 huss0027 is offline
Registered User
 
Join Date: May 2005
Posts: 4
Please Help!!!!!running db2profile for different instance

The DB2 version is: DB2 v7.1.0.40

OS is AIX: 5200-06

Scenerio: I am logged in as db2inst1. After typing "db2 get instance".

I get "The current database manager instance is: db2inst1". Now what I do is run the db2profile for another instance(db2inst2) just by typing '. /db2inst2/sqllib/db2profile". It shows me it ran the profile fine I can also list db directory and get DBs for db2inst2 but for reason when I type "db2 get instance" my response is ""The current database manager instance is: db2inst1" which is not expected I am expecting to see db2inst2. The IBM document says this command shows the value of DB2INSTANCE environment variable. The DB2INSTANCE variable shows db2inst2.

Any response is greatly appreciated
Reply With Quote
  #2 (permalink)  
Old 09-22-05, 10:04
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
try "db2 terminate" before running another profile
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