LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 17 Sep 2009 09:57:50 -0400
Reply-To:   "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject:   Re: what are the similar statements in macro for LEAVE , STOP and CONTINUE statements in Data step?
In-Reply-To:   <b094c935-a7bb-41fc-bd83-d51c0c529480@d23g2000vbm.googlegroups.com>
Content-Type:   text/plain; charset=us-ascii

> From: Amar Mundankar > Subject: what are the similar statements in macro for LEAVE , > STOP and CONTINUE statements in Data step? > > Hi All, > I have got 2 questions. > In data step (e.g in do loop) we use LEAVE and STOP statements. > > 1) While writing Macros, what can we use instead of LEAVE ,STOP and > CONTINUE statements. I didn't see anything like %LEAVE, %STOP or > %CONTINUE. > 2) Also what does %ABORT statement do? > > Regards, > Amar Mundankar.

see also: %return, which exits macro execution at that point:

usage:

%If &Condition. %then %return;

Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov


Back to: Top of message | Previous page | Main SAS-L page