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 2006, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 4 Jan 2006 10:05:10 -0600
Reply-To:   baogong jiang <bgjiang@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   baogong jiang <bgjiang@GMAIL.COM>
Subject:   select distinct id from a big dataset
Content-Type:   text/plain; charset=ISO-8859-1

hello, Happy new year to all,

I need to get the distinct recip_id from a big file (100 million records with 8 variables). I tried the following code:

proc sql; create table recip_id as select distinct recip_id from srcdata.98statin;

I got the error: Insuffient memory, then I tried: proc sql; create table recip_id as select distinct recip_id from srcdata.98statin(keep=recip_id);

Still, it not working. I also tried:

proc sort data=srcdata.98statin(keep=recip_id) out=recip_id nodup;by recip_id;run;

this run out work space.

Is there any other ways I can slover this problem. at end, I will use this recip_id as look up table to pull information related to thoes recip_id.

thank you,


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