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 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 12 Mar 2008 16:00:14 -0400
Reply-To:     "Howard Schreier <hs AT dc-sug DOT org>"
              <schreier.junk.mail@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Howard Schreier <hs AT dc-sug DOT org>"
              <schreier.junk.mail@GMAIL.COM>
Subject:      Re: simple freq question

On Wed, 12 Mar 2008 15:21:43 -0400, =?ISO-8859-2?Q?Fato=BA_US?= <fatosus@GMAIL.COM> wrote:

>I am sorry this msg went under another ref... > >here is my question: > >When I do >proc freq data=a; >tables abc*def /out=x; >run; > >The new dataset (data=x) doesn't have the values for the for the abc values >but only the def. > >How can I have both abc and def columns in the x dataset? > >thank you -

Works as expected for me. I run:

proc freq data=sashelp.class; tables age*sex /out=x; run;

proc print data=x; run;

I see:

Obs Age Sex COUNT PERCENT

1 11 F 1 5.2632 2 11 M 1 5.2632 3 12 F 2 10.5263 4 12 M 3 15.7895 5 13 F 2 10.5263 6 13 M 1 5.2632 7 14 F 2 10.5263 8 14 M 2 10.5263 9 15 F 2 10.5263 10 15 M 2 10.5263 11 16 M 1 5.2632


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