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 (November 2005, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: Jerry <greenmt@GMAIL.COM>
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 > >


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