DB2 enterprise stage connectivity
Posted: Thu Aug 18, 2011 5:09 pm
I am trying to access a database named sitdb which is installed at instance
/db2home/db2inst8.
I am able to login to this database from unix using db2 connect command.
In my job I tried a couple of things to achive the connection.
DB2INSTANCE was set to /db2home/db2inst8
client instance was set to db2inst8.
when I try to view the data, it gives the following error
"SQL30082N Security processing failed with reason "3" ("PASSWORD MISSING").
>SQLSTATE=08001"
I am giving the same user name and password that is used to login through unix which sucessfully logs me into the database.
I have a basic question here. What is the difference between DB2INSTANCE and the client instance ?.
In this case what should these both be set to?.
Thanks,
/db2home/db2inst8.
I am able to login to this database from unix using db2 connect command.
In my job I tried a couple of things to achive the connection.
DB2INSTANCE was set to /db2home/db2inst8
client instance was set to db2inst8.
when I try to view the data, it gives the following error
"SQL30082N Security processing failed with reason "3" ("PASSWORD MISSING").
>SQLSTATE=08001"
I am giving the same user name and password that is used to login through unix which sucessfully logs me into the database.
I have a basic question here. What is the difference between DB2INSTANCE and the client instance ?.
In this case what should these both be set to?.
Thanks,