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 (September 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 1 Sep 2004 16:00:04 -0400
Reply-To:     "Chang Y. Chung" <chang_y_chung@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Chang Y. Chung" <chang_y_chung@HOTMAIL.COM>
Subject:      Re: Multiples files
Comments: To: Silvano Cesar da Costa <silvano@UEL.BR>

On Wed, 1 Sep 2004 16:58:52 -0300, Silvano Cesar da Costa <silvano@UEL.BR> wrote:

>Hi, > >I have about 70 variables in my file. I have 500 data lines. >One variable has 10 levels. I would like creating 10 files (one for each >level) whith every variables (70 variables)

Hi,

It is very easy to do this, but my best quess is that you don't have to. Most of the sas proc's support by (sub) statements, that enables you to repeat the same analysis within each of the 10 levels. For example,

proc sort data=yourdata out=sorted; by yourLevelVar; run; proc freq data=yourdata; table anotherVar; by yourLevelVar; run;

HTH. Cheers, Chang


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