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 (January 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 13 Jan 2010 09:23:03 -0600
Reply-To:   Joe Matise <snoopy369@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Joe Matise <snoopy369@GMAIL.COM>
Subject:   Re: how to find max value in one varaible
Comments:   To: Shaik Hymad <hymadsk@gmail.com>
In-Reply-To:   <201001130634.o0CNnqXw005833@malibu.cc.uga.edu>
Content-Type:   text/plain; charset=ISO-8859-1

If you prefer to not use SQL (which I think is the easiest option), PROC MEANS/SUMMARY will give you max and min (and lots of other more complex stat procs, like UNIVARIATE, will as well). Just include it in the statistics keywords for output.

-Joe

On Wed, Jan 13, 2010 at 12:34 AM, Shaik Hymad <hymadsk@gmail.com> wrote:

> Hi to all, > > I have data like > > patid value > 011 22.3 > 012 25.3 > 013 29.3 > 014 32.3 > > I want to output like max value in above dataset > > Thanks, > Hymad >


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