|
Jess,
You can simply put your calls in a macro.
An example would be:
%macro test;
%do i=1 %to 8;
%macro_name(&i);
%end;
%mend test;
% test;
Shawn Edney
Analyst/Programmer
Dyncorp
79 T.W. Alexander Drive
Bldg. 4201 Suite 201
Research Triangle Park, NC
27709
(919) 558-8782 ext 216
fax 558-8788
edney.shawn@epa.gov
"Balint, Jess"
<JBalint@ALLDATA. To: SAS-L@LISTSERV.UGA.EDU
NET> cc:
Sent by: "SAS(r) Subject: For Loop: %For. Does it exist?
Discussion"
<SAS-L@LISTSERV.U
GA.EDU>
06/11/2002 01:00
PM
Please respond to
"Balint, Jess"
Hello SAS-L.
I am attempting to run a macro eight times. The code I have is something
like this:
%macro(1);
%macro(2);
%macro(3);
%macro(4);
%macro(5);
%macro(6);
%macro(7);
%macro(8);
However, I wish to use a loop to do this. SAS said %do is not valid in
open
code. Is this possible. Thank you.
~Jess
|