Posted: Thu Mar 03, 2016 1:50 am Post subject: Not able to connect Database with IIB Broker
Novice
Joined: 09 Aug 2014 Posts: 21
Hi All,
I am using Message broker version 9 (IIB).I have configured the DSN and set the environment variables using the below command.
export ODBCINI = /var/mqsi/odbc/odbc.ini
after that i ran the mqsicvp command it's working fine.
But when i closed the putty session and opened the new session,ran mqsicvp command...it's throwing the below error like odbc environment variables not set.
mqsicvp command working when i ran the export ODBCINI = /var/mqsi/odbc/odbc.ini command every new session.
Posted: Thu Mar 03, 2016 2:04 am Post subject: Re: Not able to connect Database with IIB Broker
Partisan
Joined: 17 Apr 2014 Posts: 358
mahesh4eai wrote:
Hi All,
I am using Message broker version 9 (IIB).I have configured the DSN and set the environment variables using the below command.
export ODBCINI = /var/mqsi/odbc/odbc.ini
after that i ran the mqsicvp command it's working fine.
But when i closed the putty session and opened the new session,ran mqsicvp command...it's throwing the below error like odbc environment variables not set.
mqsicvp command working when i ran the export ODBCINI = /var/mqsi/odbc/odbc.ini command every new session.
How to resolve this issue.Please help us.
by adding the export to the profile that is run when you login to the session.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
and did you logout and login in again? What happens the nusing the mqsicvp command then? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum