Posted: Wed Aug 05, 2015 4:15 am Post subject: PROPAGATE STATEMEN:Propagating specific part of message tree
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.
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