Date: Mon, 21 Dec 2009 18:01:26 -0500
Reply-To: Scott Bass <sas_l_739@YAHOO.COM.AU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Scott Bass <sas_l_739@YAHOO.COM.AU>
Subject: Re: Is this a macro bug???
On Mon, 21 Dec 2009 06:38:10 -0600, Data _null_; <iebupdte@GMAIL.COM> wrote:
>On 12/21/09, Scott Bass <firstname.lastname@example.org> wrote:
>> The first version works, the 2nd and 3rd versions don't. Any ideas why
>> macro parameters (even if they aren't used) cause the outer %loop macro
>> variable parsing logic to fail? Could this be a bug in macro?
>Don't think it is a bug. I can't explain the reason but I know who
>can. You can fix it with %UNQUOTE.
>%unquote(%&mname) /* do not indent macro call */
Thanks Data for the workaround. If the "person who can explain the reason"
(or even a little birdie) could explain why this works the way it does, that
would be great. Otherwise I'll enter a support track and post back what
Tech Support says.