|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?|
|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
> 2) Also what does %ABORT statement do?
> Amar Mundankar.
see also: %return, which exits macro execution at that point:
%If &Condition. %then %return;
Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov