Date: Wed, 13 May 2009 13:52:29 -0400
Reply-To: Ya Huang <ya.huang@AMYLIN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ya Huang <ya.huang@AMYLIN.COM>
Subject: Macro quoting again !
Hi there,
Macro a with a get the result as expected. But macro b
is not, why is that?
Thanks
Ya
1 %macro a(tit=);
2 %put &tit;
3 %mend;
4
5 %a(tit=%str(Change %(%%%)));
Change (%)
6
7 %macro b(mlst=);
8 %unquote(&mlst);
9 %mend;
10
11 %b(mlst=%nrstr(
12 %a(tit=%str(Change %(%%%)))
13 ));
|