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 » Local environment/Destinaltion List

Post new topic  Reply to topic
 Local environment/Destinaltion List « View previous topic :: View next topic » 
Author Message
Lillian
PostPosted: Mon Nov 08, 2004 5:45 am    Post subject: Local environment/Destinaltion List Reply with quote

Centurion

Joined: 15 Apr 2002
Posts: 102

Hi

We are using WMQI v2.1 CSD06.
The flow consists of a subflow, compute, outputnode(in order). The compute node has been set up to pass the localEnvironment and Message and the Output is to a destinalist List set up in the subflow. The problem is :
The trace after the subflow shows the localenvironment variables ( queuename) but as soon as it passes the compute the data is no longer there..thus crashing on output. If the subflow is moved to after the compute, the message is output to the destination queue.

We have even tried setting the compute mode to all.. Why does the local environment get overwritten??


Code:
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName = WS_REQUEST_Q;
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 08, 2004 5:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Does the code inside the Compute Node do anything to erase the LocalEnvironment?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Lillian
PostPosted: Mon Nov 08, 2004 5:53 am    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2002
Posts: 102

Not that I can see. It merely does mapping to a new MRM definition and copies message headers.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 08, 2004 6:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Try adding "Set OutputLocalEnvironment = InputLocalEnvironment;" in your compute node.

I think the Local Environment doesn't get copied normally. The mode of the node merely controls whether OutputLocalEnvironment gets propagated or not, as I understand it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
leongor
PostPosted: Mon Nov 08, 2004 7:35 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

Quote:

The compute node has been set up to pass the localEnvironment and Message

Ensure that you are really set this because otherwise your changes to LocalEnvironment are lost.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Nov 08, 2004 9:15 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

If you use Set OutputLocalEnvironment = InputLocalEnvironment; then make sure your compute mode includes LocalEnvironment also. It is best practice to select only the tree that you are modifying in your Compute node. For example, if you are building a new Message then compute mode should be set to "Message" only.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

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

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Local environment/Destinaltion List
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.