Posted: Mon Oct 19, 2015 3:50 am Post subject: Query on propagate
Novice
Joined: 06 Oct 2015 Posts: 12
Hi folks,
I am using this code in my compute node:
if condition then
if condition then
Statements;
else
Propagate to terminal 'out1';
end if;
elseif condition then
statements;
end if;
In else condition the condition is executing successfully. But the thing is again it is going to mqoutput from the compute node. My requirement is the message has to go mqoutput1( it is going mqoutput1 but again it is going to mqoutput node) please help me in this.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
IF you don't want it to go out of the 'out' terminal of the compute node then you need to do a
Code:
RETURN FALSE;
in the outermost ESQL Function.
This is a common problem when using PROPAGATE for the first time. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Note that I said to use the RETURN FALSE in the OUTERMOST level of ESQL
Read the suggestions in that post and talk to your colleague. together you should be able to get a working solution. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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