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 » Environment Variables

Post new topic  Reply to topic
 Environment Variables « View previous topic :: View next topic » 
Author Message
neo_revolution
PostPosted: Wed Jan 28, 2004 10:31 am    Post subject: Environment Variables Reply with quote

Voyager

Joined: 21 Oct 2003
Posts: 80
Location: NJ

I am setting many variables using "Environment.Variables" like

Environment.Variables.Header = InputRoot.XML.Header.field1;

Can I reference Environment.Variables like this

DECLARE refToEnv REFERENCE TO Environment.Variables;

I tried this but seems not working.

Thanks
Back to top
View user's profile Send private message Yahoo Messenger
CoolDude
PostPosted: Wed Jan 28, 2004 11:20 am    Post subject: Reply with quote

Apprentice

Joined: 17 Jan 2004
Posts: 39

Yes you can reference to the environment variables.

SET Environment.Variables.dummy = 'dummy';
DECLARE myEnvRef REFERENCE TO Environment.Variables;

may be your Environment.Variables.Header is null/unknown.

when ever you want to use the reference you need to have the element existing.

Thanks,

_________________
Correct Me from Wrong . If i am correct Appreciate Me
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 » Environment 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.