| Date: | Mon, 4 Feb 2002 15:08:03 -0800 |
| Reply-To: | RAHUL CHAHAL <rahulchahal@YAHOO.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | RAHUL CHAHAL <rahulchahal@YAHOO.COM> |
| Subject: | Stupid Q on Sorting |
| Content-Type: | text/plain; charset=us-ascii |
|---|
Hi,
I know there "may" not be a shorter solution but just
to know if there is a solution to the following:
/************************/
proc sort data=tmp;
by var1 descending var2;
run;
proc sort data=tmp nodupkey;
by var1;
run;
/************************/
What I am doing is first sorting on 2 variables and
then deleting dups based on 1 variable. Is it
possible to do it in 1 step.
Thanks in advance.
-Rahul
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
|