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 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 19 Sep 2006 14:18:26 -0400
Reply-To:     "data _null_;" <datanull@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "data _null_;" <datanull@GMAIL.COM>
Subject:      Re: ods output assistance
Comments: To: vncntj@hotmail.com
In-Reply-To:  <1158689116.642448.6990@k70g2000cwa.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Use ODS trace to determine the name of the table. Then use ODS output to write the data to a SAS data set. Depending on your needs you might want to use an output statement. See proc summary below.

ods trace on; ods output Summary=work.Summary; proc means data = sashelp.class n mean min max; class sex; var age; run; quit; ods trace off;

proc contents varnum; proc print; run;

proc summary data = sashelp.class; class sex; var age; output out=work.stats n= mean= min= max= / autoname; run; quit;

proc contents varnum; proc print; run; On 9/19/06, vncntj@hotmail.com <vncntj@hotmail.com> wrote: > how can i take this: > > proc means data = pma.Yf n mean min max; > class city; > var cost; > run; > quit; > > and > > create an ods "table" of the data? >


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