Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old October 6th, 2008, 09:41 AM
Newbie
 
Join Date: Nov 2007
Posts: 24
Default 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
Reply
  #2  
Old October 7th, 2008, 07:54 AM
Newbie
 
Join Date: Nov 2007
Posts: 24
Default

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
Reply
Reply

Bookmarks

Thread Tools

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles