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 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 19 Mar 2004 14:38:03 -0800
Reply-To:     Garland <quandagarland@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Garland <quandagarland@YAHOO.COM>
Organization: http://groups.google.com
Subject:      Re: proc freq tweak
Content-Type: text/plain; charset=ISO-8859-1

Thanks very much for everybody who responed to my query.

aimeic@YAHOO.COM (aimei chen) wrote in message news:<20040318034209.11851.qmail@web21409.mail.yahoo.com>... > Hi Garland, > > You can also try this. > > ods output CrossTabFreqs=test1; > proc freq data=test; > tables a*b; > run; > > You can use the following codes to find out the data > set name of the output tables you need. > *ods trace on/listing; > *ods trace off; > > Best > Daisy > > --- Kerri Rivers <kerrir@PRB.ORG> wrote: > > hi garland, > > > > try this: > > > > proc freq data=test; > > tables a*b / outpct out=test1; *added outpct to > > tables statment; > > run; > > > > hth, > > ~kerri > > > > -----Original Message----- > > From: SAS(r) Discussion > > [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of > > Garland > > Sent: Wednesday, March 17, 2004 2:11 PM > > To: SAS-L@LISTSERV.UGA.EDU > > Subject: proc freq tweak > > > > > > Hi, > > > > I am having difficulty to get the output results in > > to an output > > dataset produced by proc freq. See the example > > below. > > In my output window I am getting the results I > > wanted but in my output > > dataset not. How can I get cross tabulation results > > that I see in output window as is. I tried the list > > and I did not > > succeed. Any help would be appreciated. > > > > thanks, > > Garland > > > > data test; > > input a b; > > cards; > > 1 2 > > 1 3 > > 2 3 > > 2 8 > > 3 9 > > 5 9 > > 7 9 > > 9 0 > > 6 0 > > ; > > run; > > > > proc freq data=test; > > tables a*b / out=test1; > > run; > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - More reliable, more storage, less spam > http://mail.yahoo.com


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