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 » ESQL continue equivalent??

Post new topic  Reply to topic
 ESQL continue equivalent?? « View previous topic :: View next topic » 
Author Message
NiceGuy
PostPosted: Tue May 11, 2010 10:23 am    Post subject: ESQL continue equivalent?? Reply with quote

Apprentice

Joined: 11 Jun 2009
Posts: 37

Hi everyone,

Quick question. I am relatively new to ESQL was wondering if there is
a C programming language "continue" equivalent in ESQL.

Specifically I am looking for a way to continue to the top of a loop once a condition is examined.

For example:

WHILE some_counter condition

IF condition THEN
continue;
END IF;

//do something else
SET some_counter = some_counter +1;

END WHILE
Back to top
View user's profile Send private message
mgk
PostPosted: Tue May 11, 2010 10:34 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Yes, in ESQL the ITERATE and LEAVE statements are for this type of use inside the various loop constructs (WHILE, REPEAT etc).

See http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ak05060_.htm for the ITERATE docs and work from there...


Kind Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
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 » ESQL continue equivalent??
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.