| Date: | Fri, 31 Oct 2003 09:39:21 +0530 |
| Reply-To: | Arunk@DELHI.TCS.CO.IN |
| 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" |
|---|
Hi,
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...
Regards
Arun Kumar
PD <sophe88@YAHOO.COM>
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
10/31/2003 08:35 AM
Please respond to PD
To: SAS-L@LISTSERV.UGA.EDU
cc:
Subject: mask
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.
Thanks.
PD
|