LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (March 2009, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 31 Mar 2009 17:06:04 -0400
Reply-To:     "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject:      Re: How to execute a macro containing a macro
In-Reply-To:  <9fff4ced-7de7-4c4d-afa0-8b5af5efc98b@f19g2000yqh.googlegroups.com>
Content-Type: text/plain; charset=us-ascii

Art Carpenter and I covered these tricks in our paper:

http://tinyurl.com/5p3j2z for

http://www.sascommunity.org/wiki/List_Processing_Basics_Creating_and_Usi ng_Lists_of_Macro_Variables

Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov

> -----Original Message----- > From: owner-sas-l@listserv.uga.edu > [mailto:owner-sas-l@listserv.uga.edu] On Behalf Of ash007 > Sent: Tuesday, March 31, 2009 4:16 AM > To: sas-l@uga.edu > Subject: How to execute a macro containing a macro > > Hello SasUsers, > > How to execute a macro containing a macro ? > > Thanks. > > Ash007. > > this pgm doesn't work. > > %MACRO AUTO_TYP_ADH > ( > __YEAR = > ); > FOR &I = 1 TO 12; > %DO; > PUT &I Z2.; > %TYP_ADH > ( > __INPUTTABLE1 = SRC.TW_&__YEAR.&I.01, > __INPUTTABLE2 = CODE_TARIF_SANTE, > __OUTPUTTABLE = SRCTA.TW_&__YEAR.&I.01 > ); > %END; > %MEND AUTO_TYP_ADH; > > %AUTO_TYP_ADH > ( > __YEAR = 2008 > ); > >


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