BookmarkSubscribeRSS Feed
Kun
Calcite | Level 5 Kun
Calcite | Level 5

Hello, i am processing a dataset with more than 6M records in WPS. when i ran the following code, the error message popped up: ERROR: Too little memmory to complete ranking

please see the log below:

MPRINT(THETA):  proc rank  data=dsn1 out=ranked1;

MPRINT(THETA):  ranks rk_edf;

MPRINT(THETA):  var CCAEDF1;

MPRINT(THETA):  run;

NOTE: Line generated by the invoked macro "THETA"

15070   +  proc sql noprint;    select count(*) into :numall from &dsn;    select sum(&defvar) i

15070   +! nto :noOfdef from &dsn; quit;  proc rank  data=&dsn out=ranked1; ranks rk_edf; var &e

15070   +! dfvar; run;  data dsn_defaults; set ranked1;  if (&defvar eq 1);  run;  pro

ERROR: Too little memmory to complete ranking

NOTE: Procedure rank step took :

      real time : 30.628

      cpu time  : 6.177

can anyone help me?

Thanks.

2 REPLIES 2
Ksharp
Super User

Why did not you use GROUPS=  option in proc rank ?

scmebu
SAS Employee

I suggest you contact World Programming System technical support at World Programming.

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
  • 825 views
  • 0 likes
  • 3 in conversation