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 » Query on propagate

Post new topic  Reply to topic
 Query on propagate « View previous topic :: View next topic » 
Author Message
Sanjayy
PostPosted: Mon Oct 19, 2015 3:50 am    Post subject: Query on propagate Reply with quote

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.

Thank you
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Oct 19, 2015 4:00 am    Post subject: Reply with quote

Jedi Council

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.
Back to top
View user's profile Send private message
Sanjayy
PostPosted: Mon Oct 19, 2015 8:40 pm    Post subject: Reply with quote

Novice

Joined: 06 Oct 2015
Posts: 12

thank you for your reply.
if i use return false after propagate,syntax error is happening while deploying my flow.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Oct 19, 2015 10:32 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

This sounds like you are working on the same thing as described here
http://www.mqseries.net/phpBB2/viewtopic.php?t=71207

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.
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 » Query on propagate
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.