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 » WebSphere Message Broker (ACE) Support » Usage of Environmental Variables

Post new topic  Reply to topic
 Usage of Environmental Variables « View previous topic :: View next topic » 
Author Message
Maverick_in
PostPosted: Wed Mar 08, 2006 1:57 am    Post subject: Usage of Environmental Variables Reply with quote

Novice

Joined: 08 Mar 2006
Posts: 13

hi,

Please help me understand if the below syntax is Valid.
Environment.variablename.
eg:- Environment.ChannelID= channelID.

Note: I have not mentioned (the keyword Variables)

In all the manuals, it says that syntax is Environment.Variables.XYX,
however, I saw the above syntax in one of the Flows which is successfully running in the production. Hence please clarify.

Thanks for your speedy response.
_________________
Thanks,
Maverick
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Mar 08, 2006 2:17 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Maverick_in,

http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.etools.mft.doc/ac12620_.htm

A line from this link:
Quote:
You are recommended to create information in the Environment tree within a subtree called Variables (although this is not enforced).


Regards.
Back to top
View user's profile Send private message Send e-mail
Maverick_in
PostPosted: Wed Mar 08, 2006 2:39 am    Post subject: Reply with quote

Novice

Joined: 08 Mar 2006
Posts: 13

hi elvis
thanks for ur valuable suggestion,

can we write like this (Environmental.variablename..) in MQSI 2.1

elvis_gn wrote:
Hi Maverick_in,

http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.etools.mft.doc/ac12620_.htm

A line from this link:
Quote:
You are recommended to create information in the Environment tree within a subtree called Variables (although this is not enforced).


Regards.

_________________
Thanks,
Maverick
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Mar 08, 2006 2:58 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Maverick_in,

I guess you should be able to....it should apply accross all versions.

Regards.
Back to top
View user's profile Send private message Send e-mail
shalabh1976
PostPosted: Wed Mar 08, 2006 3:54 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

It works in V2.1
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Wed Mar 08, 2006 5:37 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Environment.Variables has always only been a convention.

You can create any subtrees of Environment that you want, using any names. But it makes it easier for everyone if you keep stuff in Environment.Variables. Then if I write a plug-in, for example, I know that I can create Environment.PluginName, and never worry about having my Environment.PluginName.Date overwrite your Environment.Variables.Date.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Usage of Environmental Variables
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.