Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2014
    Posts
    294

    Unanswered: Switching between instances

    Hi,

    I am working on a particular instance. Now i want to switch to another instance from the command prompt. under env variables i haven't set DB2INSTDEF parameter.
    Thus set db2instance = instance name , Is this the only command.
    for example If my current instance = d1
    after issuing this command as set db2instance = d2,
    & again get instance i can see d1 only.
    Please tel me the steps how to switch from one instance to other instance on db2 server running on a windows.

  2. #2
    Join Date
    Jul 2013
    Location
    Moscow, Russia
    Posts
    666
    Provided Answers: 55
    Hi,

    you should use instance names in uppercase and issue:
    db2 terminate
    before setting current instance by:
    set DB2INSTANCE=D2
    Regards,
    Mark.

  3. #3
    Join Date
    Jul 2014
    Posts
    294
    Thanks mark...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •