Posted: Wed Jun 20, 2007 8:59 am Post subject: PROPAGATE STATEMENT
Partisan
Joined: 25 Jul 2006 Posts: 369
Hi Guys,
I am using the PROPAGATE STATEMENT in my ESQL statement.
IF interface = 'A' THEN
PROPAGATE TO TERMINAL 'out';
ELSE
PROPAGATE TO TERMINAL 'out1';
Afterwards I am supposed to use RETURN TRUE which outputs the PROPAGATE once again.
Now I am using RETURN FALSE which is good.
If I use RETURN TRUE statement after the PROPAGATE statements above, whether the RETURN statement will execute the statement after ELSE and the output will come onto 'out1' or will it execute PROPAGATE TO TERMINAL 'out'; and will output through 'out' terminal???
Unless you change the options on the PROPAGATE, the RETURN TRUE will propagate an empty message tree. This is almost never useful. _________________ I am *not* the model of the modern major general.
Mr chris boehnke, what jefflowrey told is right the information is clearly specified in the documentation .Right and propagation of statement to terminal depends on the condition that you have written. If you want to propagate to multiple output terminals you have to change yours logic.
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