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 » Break the while loop in ESQL

Post new topic  Reply to topic
 Break the while loop in ESQL « View previous topic :: View next topic » 
Author Message
Harshalw
PostPosted: Thu Jul 31, 2008 1:33 am    Post subject: Break the while loop in ESQL Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

Hi,

I am using a WHILE loop for accessing the XML repeative element in ESQL for WMB 6.1. For some conditions i just want to skip the processing and start from next element. Is there any Keyword like CONTINUE and BREAK (C,C++ ) for ESQL?

Thanks
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Thu Jul 31, 2008 2:40 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Harshalw,

Look for the "LEAVE Statement" in the ESQL documentation.

Regards.
Back to top
View user's profile Send private message Send e-mail
Harshalw
PostPosted: Thu Jul 31, 2008 2:50 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

LEAVE is for Exit from loop.

Can i use ITERATE statement - for continue the loop from 1st statement with next iteration ? CONTINUE is also a keyword in ESQL, however it is giving me error over there.
Back to top
View user's profile Send private message
fschofer
PostPosted: Thu Jul 31, 2008 3:08 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
you have to add a label to the loop regardless is it is a WHILE or REPEAT or LOOP loop if you want to use LEAVE or ITERATE.

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Break the while loop in ESQL
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.