BookmarkSubscribeRSS Feed
newbie
Calcite | Level 5

I have a very huge dataset with 23 column varibales.When using proc sort(with 13 varibales being mentioned as the by variables) options it takes more time to execute so tried using hash thinking it would be more efficient but the issue is, it errors out with a messgae something like "hash object has insuficient memory. aborted during the execution phase" .Could anyone help me to resolve this problem?.. If hashing is not the best approach for sorting then could anyone suggest me someother technique in place of proc sort.

Thanks.

Ken

2 REPLIES 2
art297
Opal | Level 21

Some questions:

  1. how many records do you have?

  2. what operating system are you using

  3. what version of SAS are you using

  4. why do you need to sort by 13 variables?

  5. what do you plan to do with the data?

Tom
Super User Tom
Super User

Hard to make a good diagnosis without more information, but it sounds more like a problem for PROC SUMMARY.  You can use CLASS statement and generate summaries for many combinations in a single pass.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 793 views
  • 0 likes
  • 3 in conversation