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 2000, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 29 Sep 2000 13:49:06 -0400
Reply-To:   Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject:   Re: How to omit N, min, max and Std in _stat_

I like Ron's solution for the situation in which there is no other need for the PROC MEANS output.

But perhaps the full output is required, but only part is to be exported.

Toni does not say what mechanism he is using for export. But it must somehow reference the data set. So just code the DROP= data set option on that reference.

On Thu, 28 Sep 2000 14:56:53 -0400, Fehd, Ronald J. <rjf2@CDC.GOV> wrote:

>> From: Toni Zhang [mailto:thesis8@HOTMAIL.COM] >> I need to export a file that is a output data set from 'Proc >> mean'. I wonder >> if there is a way that it doesn't show 'N, min, max and Std' >> in variable >> _stat_. I tried to use > > >> if _stat_ in (N, min, max, Std) then delete; > >this is a data step statement, it will not work in a proc. > >> However, it doesn't seem to work. Please help. > >tell MEANS what you want: >proc MEANS data = WHATEVER; > var ??; > class CharVars; > output > out = MEANS > %*; > max = > min = > ; > >got to RTFM if you want a proc to do what you want. > >Ron Fehd the macro maven CDC Atlanta GA USA >OpSys: WinNT Ver: 8.1 >---> cheerful provider of UNTESTED SAS code!*! <---

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