Date: Wed, 28 Jul 2010 10:00:05 -0400
Reply-To: Jim Groeneveld <jim.1stat@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jim Groeneveld <jim.1stat@YAHOO.COM>
Subject: Re: SAS macros
That is interesting. For a long time already I was planning to write a SAS
macro %_Recode_ with SPSS syntax and functionality (possibly including
virtual type conversion), similar to the %_Count_ macro and present a paper
on it. The only thing delaying that is my spare time. I'll have a close look
at your code.
Regards - Jim.
Jim Groeneveld, Netherlands
On Wed, 28 Jul 2010 09:31:30 -0400, Chang Chung <chang_y_chung@HOTMAIL.COM>
>On Tue, 27 Jul 2010 17:44:47 -0400, Jim Groeneveld <jim.1stat@YAHOO.COM>
>>Maybe not entirely to the point, but one could write any interpreter in SAS
>>macro, though limited to whatever can be converted to equivalent SAS
>>commands. An example is my macro %_COUNT_ that accepts SPSS COUNT syntax as
>>an argument with the same (and even extended) functionality. It converts
>>syntax to series of (more complex) SAS statements. Yet the macro has been
>>designed for that dedicated purpose only.
>Very nice! I once posted a similar thing on sas-l, not as complete as yours
>but a basic implementation of recode command (similar to SPSS and STATA).