LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (July 2010, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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

Hi Chang,

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 Statistician/SAS consultant http://jim.groeneveld.eu.tf

On Wed, 28 Jul 2010 09:31:30 -0400, Chang Chung <chang_y_chung@HOTMAIL.COM> wrote:

>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


Back to: Top of message | Previous page | Main SAS-L page