Date: Fri, 14 May 2004 04:22:16 -0700
Reply-To: pete <twiddler81@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: pete <twiddler81@HOTMAIL.COM>
Subject: An easy one for you
Content-Type: text/plain; charset=ISO-8859-1
All sas dudes,
I have a dataset with over 1 million records of which i need to output
the top 1000 based on a numerical 'by' variable. After it has been
sorted in decending order on the 'by' variable (which i can do) how
would I go about outputting the top 1000 records?
Also what would happen if there was a tie for the 1000th place?
Cheers for the help, Richard