Date: Mon, 30 Aug 2004 22:49:04 -0400
Reply-To: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject: Re: Iteratively calling a macro
How was this list of variables built, and how is it stored?
On Mon, 30 Aug 2004 09:09:23 -0400, Susie Li <Susie.Li@TVGUIDE.COM> wrote:
>> Hi,
>>
>> A simple macro iteration question, I hope.
>>
>> I have the need to call a macro numerous times to do plots against a list
>> of variables. How do I make a loop out of calling the same macro. Right
>> now, I call the macro one at a time against one variable at a time as:
>>
>>
>> %let expvar=model_cat;
>> %rankplot(&expvar,indata)
>>
>> Susie Li
>> Gemstar-TV Guide
>> 1211 Avenue of the Americas
>> Tel 212.852.7453
>> Email susie.li@tvguide.com
>>
|