Hi,
So I am looking for a way to put a maximum size limit on my SAS EG so that if code ever loops, the project/query stops with an error (mentioning excess size hopefully).
I saw another article where someone has this as an error when their size went over 5MB and they turned off project logs, but I don't see an option to actually set it up with size.
I use SAS EG7.1 on a corporate network which I believe is connected to a remote server.
They send an automatic email if the maximum work library size has exceeded and I have asked them as well if this is a possible solution available on the remote server side.
Any help is greatly appreciated.
The size of 5 MB mentioned is about SAS logs. There are ways and means to overcome this.
What size you want to limit?
Need clarity on this.
If your code loops then it is good practice to set upper limits so it cannot go beyond these. Code does not loop unless you have logic to cause it. It would be helpful if you posted an example of the type of looping you have.
Applying ab observation limit will work, but most looping happens when I overlook something. For example, doing a join of two tables creating a huge amount of outcomes.
If there is a generic size I can put on my work library as when it goes over 50GB, crash all programs.
Setting individual space limits on WORK libraries is possible using OS commands like ulimit if your are running on Unix. What OS do your SAS servers run on?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: