BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I'm running into a problem after I hit run for my code in EG, the program executes for a while and then becomes stuck (i.e., the status message stays the same) and I have to kill sas.exe or EG. The program doesn't appear to get stuck in the same spot.

I'm wondering if this is a memory issue of some sorts. My code essentially runs through a data set where at each row I perform a call execute to run a macro. The macro runs a GLMSELECT, REG and returns some summary stats. If I limit my number of calls, the code is fine. However, when I run my full list (about 200 calls to the macro), I run into trouble. Many times it get's stuck on "Collecting...".

I've tried turning off the ODS results and log file but still have it stalling. all of this is run locally.

Also, this code runs fine in SAS when I wanted to see if it was EG or a SAS issue.

thanks. Message was edited by: dr. x
3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12
A couple of things that you could try:

--Watch the task manager's Performance screen to see if you are running out of memory.
--Explicitly declare your macro variables as "local" so they are freed at the end of the call.
--Check out http://support.sas.com/kb/33/007.html .
deleted_user
Not applicable
Thanks. Unfortunately it still hangs. Via task manager, it doesn't look close to running out of memory.

I've even taken out all macro variables and placed the code directly in the call execute.

something like the following which call GLMSELECT about 200 times (even if I run it 50 times it may fail) and in the code below it is just being repeated on the same data:

data response_list2;
set response_list;
call execute(' ');
run;
quit;
ChrisHemedinger
Community Manager
Can you work with SAS Technical Support on this? It would help if you can provide a sample program, plus the logging output from following these steps:

http://support.sas.com/kb/17/730.html

That will help us to see where things are hanging up.

Chris
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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