ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ Client Configuration

Post new topic  Reply to topic
 MQ Client Configuration « View previous topic :: View next topic » 
Author Message
MQSeriesTest
PostPosted: Mon Apr 09, 2007 1:55 pm    Post subject: MQ Client Configuration Reply with quote

Novice

Joined: 09 Apr 2007
Posts: 13

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?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 09, 2007 2:02 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

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.
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Tue Apr 10, 2007 1:16 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Moving to General WebSphere MQ Support
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ Client Configuration
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.