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 (December 1998, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 24 Dec 1998 00:39:24 +0000
Reply-To:   Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Peter Crawford <Peter@CRAWFORDSOFTWARE.DEMON.CO.UK>
Organization:   Crawford Software Consultancy Limited
Subject:   Re: Qstn: Proc Tabulate

In article <75rg95$vrb$1@nnrp1.dejanews.com>, owen_meany@rocketmail.com writes >I want to tabulate statistics for a series of array variables. I'm using the >following code: > >proc tabulate data=one format = 6.2; >class snftype; >var TFRCC1-TFRCC12; >tables snftype, TFRCC1*mean TFRCC2*mean TFRCC3*mean TFRCC4*mean TFRCC5*mean >TFRCC6*mean TFRCC7*mean TFRCC8*mean TFRCC9*mean TFRCC10*mean TFRCC11*mean >TFRCC12*mean; > >Writing out each variable in the tables statement is a pain. Is there a >shortcut? I was hoping for something like "tables (TFRCC1-TFRCC12)*mean" (this >doesn't work - I've tried). > > >TIA > >Dan L > >-----------== Posted via Deja News, The Discussion Network ==---------- >http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own

you want to find some kind of %repeat macro -- Peter Crawford


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