|Date: ||Fri, 31 Oct 2003 09:39:21 +0530|
|Sender: ||"SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>|
|From: ||Arun X Kumar <Arunk@DELHI.TCS.CO.IN>|
|Subject: ||Re: mask|
|Content-Type: ||text/plain; charset="us-ascii"|
As there is no macro variable with name C, so &C is not getting resolved
and so you get the message. You just replace double quotes with single
quotes, it should work...
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
10/31/2003 08:35 AM
Please respond to PD
One var has character values such S&C, F&B and so on.
So when code like this
if var in ("S&C") then brother =1; else brother =0;"
is executed, SAS said macro can not be resolved. Of course.
I know we can mask &, as I learned from SAS training course. Can
somebody provide a quick tip? I can not find my example quickly.