Date: Wed, 9 Nov 2005 09:13:13 -0500
Reply-To: Michael Ni <Michael.Ni@COGNIGENCORP.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Michael Ni <Michael.Ni@COGNIGENCORP.COM>
Subject: Re: how to simplify this data step
In-Reply-To: <1131489832.485030.70360@z14g2000cwz.googlegroups.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Jerry,
You need to use the macro variable in the set statement like this:
data one;
set &name;
run;
%put statement is to put the resolved macro value in the log.
Best,
Michael
Jerry wrote:
>Michael ,
>
>This macor is really neat. but how to integrate it to "set" statement?
>
>I tried "set %put &name;;", which didn't work. :(
>
>Your continued help will be greatly appreciated!
>
>Jerry
>
>
|