Question 1.
Does MQ Client use the MQSERVER environment variable which is created by set command?
[ One way to define channel for MQ Client is (using MQSERVER environment variable) as follow:
SET MQSERVER=ChannelName/TransportType/ConnectionName
But the set command creates variables in the current shell environment only. ]
Question 2.
What could be the type for MQ Client environment variable on a Windows platform?
(on Windows there could be three types of environment variables:
a) shell environment variable (defined using set command)
b) User environment variable
c) System environment variable)
Question 3.
If we can have user environment variable for MQ Client channel then is it possible that on a single machine different user have different value for the MQSERVER environment variable?
The three "types" of environment variables are really three "levels".
All three levels are flattened at the point of starting a program.
Variables set directly in the current shell will override user variables. user variables will override system variables.
So you can start multiple copies of the same MQ Client program, pointing at different servers, by running batch or command files that will SET MQServer to something, and then start the MQ client program.
And, yes, different users have different user variables. _________________ I am *not* the model of the modern major general.
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