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 (April 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 7 Apr 2005 10:16:40 -0700
Reply-To:     Nito@sbcaa.com
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Nito Abad <abad@YAHOO.COM>
Subject:      macro variable resolving with quotes
Content-Type: text/plain; charset=us-ascii

I beg the pardon of my SAS friends out there. After Toby sent me his answer, I realized the problem was his first example. The macro variable was created with quoted values and it was starring at me for hours without realizing it. Our old beliefs still stands. Thank you all for answering. Tony

From Taoby: Tony, Without looking at the code you were using we would be well guessing in the dark as to why your macro variable had quotes.

Ussually I see them with quotes when they are created several way (which does not mean that these are the only ways.):

%let aaa = "alpha" ; %let aaa = %quote(aaa) ; %let aaa = %sysfunc(quote(aaa)) ;

proc sql ; select quote(name) into : mac_var separated by " " from whatever_data ; run ;

There are many many more ways to get quotes, so show us some code and help us help you.

Toby Dunn

"Forget the past, do your best now, damn the future." Nito Abad ===================================================================


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