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 2002, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 26 Nov 2002 10:24:27 -0500
Reply-To:     Paul McDonald <pdm@SPIKEWARE.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Paul McDonald <pdm@SPIKEWARE.COM>
Subject:      Re: Set statement bug?

Exactly right, Quentin! I forgot that I had put it in there...

%macro data (data) /des='standardize dataset name' ; %local data ;

%if %index(&data,.) = 0 %then %let data=%upcase(work.&data.) ; %else %let data=%upcase(&data) ;

&data %mend data ;

Although I had not thought about adding the _LAST_ feature... good idea!

Paul McDonald pdm@spikeware.com -------------------- Free SAS training and newsletter http://www.spikeware.com/


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