To Execute DB2 commands on AIX with a user other than instance.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • robintwos
    New Member
    • Nov 2007
    • 24

    To Execute DB2 commands on AIX with a user other than instance.

    I recently installed DB2 and created users and one instance ID on an AIX Server machine. I am able to execute DB2 commands if i login with instance ID alone but not with the other users. I came to know that i need to edit some profile file . Can somebody tell me what needs to be edited
  • robintwos
    New Member
    • Nov 2007
    • 24

    #2
    Hi all

    I got the answer , we need to edit the particular user's .Profile file. by adding the information as
    *************** *************** *************** ********
    if [ -f /home/db2inst1/sqllib/db2profile ]; then
    . /home/db2inst1/sqllib/db2profile
    fi
    *************** *************** *************** **********

    Thanks

    Comment

    Working...