Author |
Message
|
Lillian |
Posted: Mon Nov 08, 2004 5:45 am Post subject: Local environment/Destinaltion List |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Nov 08, 2004 5:49 am Post subject: |
|
|
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 |
|
 |
Lillian |
Posted: Mon Nov 08, 2004 5:53 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Nov 08, 2004 6:07 am Post subject: |
|
|
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 |
|
 |
leongor |
Posted: Mon Nov 08, 2004 7:35 am Post subject: |
|
|
 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 |
|
 |
kirani |
Posted: Mon Nov 08, 2004 9:15 am Post subject: |
|
|
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 |
|
 |
|