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 » PROPAGATE STATEMEN:Propagating specific part of message tree

Post new topic  Reply to topic
 PROPAGATE STATEMEN:Propagating specific part of message tree « View previous topic :: View next topic » 
Author Message
JVR
PostPosted: Wed Aug 05, 2015 4:15 am    Post subject: PROPAGATE STATEMEN:Propagating specific part of message tree Reply with quote

Newbie

Joined: 05 Mar 2012
Posts: 8

Developing an application, where I have to use PROPAGATE statements in esql compute node.                                        
I'm trying to achieve a scenario to Propagate a specific part of the message tree like outputlocalenvironement/environment (which should be possible as per IIB help contents) .      

Below is the piece of code to propagate the data.  
Code:
CREATE LASTCHILD OF OutputRoot DOMAIN 'XMLNSC';                         
SET OutputRoot.XMLNSC.abc = 'abc';                                    
                                                                        
SET Environment.Variables.Log.Facility = 'FACILITY_BUS';             
SET Environment.Variables.Log.Log_Group = 'GROUP_FLW';                
SET Environment.Variables.Log.Activity = 'ACTIVITY_LOB';            
SET Environment.Variables.Log.Severity = 'SEVERITY_INFO';           
SET Environment.Variables.Log.LogMsg = 'LOB Callout-Start';         
                                                                        
SET OutputLocalEnvironment.Var.ABC='ABC';                             
PROPAGATE TO LABEL 'Label1' ENVIRONMENT OutputLocalEnvironment DELETE NONE;  


After this statement is executed , apart from OutPutLocalEnvironment, I see that OutputRoot is propagated as well to the label node. I would like to see only the specific message tree portion(OutputLocalEnvironment) to be propagated to the label node. The Compute Mode is set to Messages. 

Is this the right behavior of PROPAGATE statement?
Thanks in advance.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 05, 2015 4:57 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you want an empty OutputRoot as an empty InputRoot, send an empty OutputRoot.

Also, as a side note. LocalEnvironment is a *separate* message tree from Root and Environment and Exception.
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 » PROPAGATE STATEMEN:Propagating specific part of message tree
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.