Date: Wed, 22 Oct 2008 02:04:28 -0700
Reply-To: karma <dorjetarap@GOOGLEMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: karma <dorjetarap@GOOGLEMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Supressing PROC MEANS output
Content-Type: text/plain; charset=ISO-8859-1
On 22 Oct, 04:17, laughing_beg...@HOTMAIL.COM (Laughing Beggar) wrote:
> Hi all=2C
> I've successfully used PROC MEANS to generate a dataset (thanks LIST)=2C bu=
> t it also puts a whole lot of stuff in my output window that I don't want (=
> 'cos I just have to go through and edit it out from the stuff I do want fro=
> m other parts of the program). Is there some way of having PROC MEANS creat=
> e the dataset without it putting anything in the OUTPUT window?
> Cheers
> L_B
>
> "The beggar laughs in the face of the thief"
> _________________________________________________________________
Hi
Use the noprint option to supress results to the output window and the
output statement to specify an output dataset.
data test;
input val1 val2 @@;
cards;
1 9 2 8 3 7 5 6
;run;
proc means data=test noprint;
class val1;
var val2;
output out=means;
run;
HTH
|