Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Location
    Phoenix, AZ
    Posts
    42

    Unanswered: db2 environment question

    Has anyone run into any issues with setting the DB2 environment when you are running different versions of DB2 on the same box?

    Thanks for any input...

  2. #2
    Join Date
    Aug 2001
    Location
    UK
    Posts
    4,650
    There are some links which are stored in /usr/lib directory ... So, if you install multiple versions, only one of them can be available in that directory ... Therefore care has to be taken to know when using those files .. IBM recommends to use db2rmln to remove those links before installing multiple versions

    HTH

    SAthyaram
    Visit the new-look IDUG Website , register to gain access to the excellent content.

  3. #3
    Join Date
    Jan 2004
    Location
    Phoenix, AZ
    Posts
    42
    Thanks Sathyaram,

    The problem we were having was that the db2 environment was not being set properly and therefore we were having strange things happen when we ran normal db2 commands against the instance we wanted to be connected to.

    We wound up changing our db2env script to include an if statement, where if it is the 8.1.7 instance, it ran the .db2env for that instance. That way, we can switch between the different (v8.1.5 and v8.1.7) binaries.

    On your comment on the "db2rmln" command that IBM recommends... We did not see in the fixpack instructions where this was said to run. Because of this, the db2rmln was not run before we applied the 8.1.7 altfixpack. Things seem to be working okay so far. Please let me know if you think this could become an issue...

    Thanks again for your comments.

Posting Permissions

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