Date: Tue, 31 May 2005 09:25:16 -0400
Reply-To: Lingqun Liu <lingqun@gmail.com>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Lingqun Liu <lingqun@GMAIL.COM>
Subject: Re: create table from output dataset of PROC TABULATE
In-Reply-To: <3fq2heF925orU1@individual.net>
Content-Type: text/plain; charset=ISO-8859-1
Thanks all for your responses. I am not concerning about how to get
the output dataset. I am wondering what's the use of this kind of
dataset that SAS intends?
If we can not reproduce tables from it, why bother to save the dataset?
Thanks,
Liu
On 5/27/05, Richard A. DeVenezia <radevenz@ix.netcom.com> wrote:
> Lingqun Liu wrote:
> > Is there a way to use output dataset of PROC TABULATE to create the
> > original table? I like to do some editing on the output dataset, and
> > then print the table. Thanks,
>
> Use ODS to capture the data used in output rendering
>
> ---------------------
> filename report temp;
> ods html file=report;
>
> ods trace on;
>
> ods output table = myTabulatedData;
>
> proc tabulate data=sashelp.class;
> class sex age;
> var weight;
> table sex*age,weight*(mean range min max);
> run;
>
> ods html close;
> ---------------------
>
> or, you might want ODS DOCUMENT
> <help>
> Opens, manages, or closes the DOCUMENT destination, which produces a
> hierarchy of output objects that enables you to produce multiple ODS output
> formats without rerunning a PROC or DATA step
> </help>
>
> By what right do you edit the output ? Isn't it more ethical to edit
> (update or make corrections to) the input?
>
>
> --
> Richard A. DeVenezia
> http://www.devenezia.com/
>
|