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 (December 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 17 Dec 2004 13:13:49 +0000
Reply-To:     datametric@CLUB-INTERNET.FR
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         SUBSCRIBE SAS-L Stephane <datametric@CLUB-INTERNET.FR>
Subject:      Re: to iterate a macro
Comments: To: mayukh.dass@gmail.com
Content-Type: text/plain; charset=ISO-8859-1

Hi,

try this

%macro looping;

%do i=1 %to 100; %iterate; %end;

%mend;

%looping;

Stéphane.

----Message d'origine---- >Date: Thu, 16 Dec 2004 23:06:35 -0500 >De: Mayukh Dass <mayukh.dass@GMAIL.COM> >Sujet: to iterate a macro >A: SAS-L@LISTSERV.UGA.EDU > >Hi, > >I have a macro %iterate. with no return value. How do I execute this >macro 100 times? > >I tried something like: > >data one; >do i=1 to 100; > %iterate; >end; >run; > >but its giving an error saying that a do loop is open. > >Thanks, >Mayukh > >


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