Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 663775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:31:35+00:00 2026-05-13T23:31:35+00:00

Database: DB2 v9.5 on AIX Scenario: I have 2 instances- db2inst1 and db2inst2. I

  • 0

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.

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T23:31:36+00:00Added an answer on May 13, 2026 at 11:31 pm

    DB2INSTDEF does not apply on AIX (it’s only used on Windows systems), so it doesn’t really matter if (or what) it is set to. Why is this a problem?

    If you really want to eliminate the variable, then run (as root):

    /opt/IBM/db2/V9.5/adm/db2set -g DB2INSTDEF=
    

    (The path /opt/IBM/db2/V9.5 may be slightly different on your system, depending on whether you installed DB2 into the default location or not).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a Database in DB2 and tables with relationships. I would like
I have a db2 database file, but do not have a db2 server. I
I have two Database, DB1 and DB2. How can I transfer data of DB1
I have to fetch only 50 records at a time from database (DB2), for
In my application I have a bool property named DisplayIndicator. In the database (DB2)
I have a (DB2) database table containing location information, one column of which is
I have an existing DB2 database at my job. (At least, I think it's
I have a mySQL with a few database instances. Each database is identical with
I have to search a DB2 database for a string that is a concatenation
Background: I am working on a legacy DB2 database, so I have no control

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.