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 STATEMENT

Post new topic  Reply to topic
 PROPAGATE STATEMENT « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Wed Jun 20, 2007 8:59 am    Post subject: PROPAGATE STATEMENT Reply with quote

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???

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 20, 2007 9:15 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It will go to out terminal, not out1.

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.
Back to top
View user's profile Send private message
mrgate
PostPosted: Thu Jun 21, 2007 1:40 am    Post subject: Reply with quote

Centurion

Joined: 28 Feb 2007
Posts: 141
Location: India

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.
Back to top
View user's profile Send private message
raghug
PostPosted: Thu Jun 21, 2007 5:43 pm    Post subject: Please give me u r question clearly Reply with quote

Acolyte

Joined: 19 Jul 2006
Posts: 60
Location: NJ

Please give me u r question clearly ..And morever What you want to do that means what u have to do with propaget statement



Thanks
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » PROPAGATE STATEMENT
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.