Date: Wed, 28 Jul 2010 09:31:30 -0400
Reply-To: Chang Chung <chang_y_chung@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Chang Chung <chang_y_chung@HOTMAIL.COM>
Subject: Re: SAS macros
On Tue, 27 Jul 2010 17:44:47 -0400, Jim Groeneveld <jim.1stat@YAHOO.COM>
wrote:
...
>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
the
>syntax to series of (more complex) SAS statements. Yet the macro has been
>designed for that dedicated purpose only.
>
>http://home.hccnet.nl/jim.groeneveld/software/SASmacro/_Count_.zip
>http://www.lexjansen.com/phuse/2008/cc/cc01.pdf
...
Hi, Jim,
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).
http://tinyurl.com/2e4n9vv or
http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0710d&L=sas-
l&D=1&O=D&F=&S=&P=10624
Cheers,
Chang
|