BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SASdevAnneMarie
Barite | Level 11

Hello Experts,

 

I have a question. I don't understand why my SAS egp project became very huge (10 365 Ko):

MarieT_0-1598601808551.png

I use the proc datasets to delete all the table in library work, so I yhave no table.

 

Thank you very much! 

1 ACCEPTED SOLUTION

Accepted Solutions
Quentin
Super User

No log is a scary thing, but you can do it with:

 

proc printto log="NUL:";
run;
The Boston Area SAS Users Group (BASUG) is hosting an in person Meeting & Training on June 27!
Full details and registration info at https://www.basug.org/events.

View solution in original post

11 REPLIES 11
SASdevAnneMarie
Barite | Level 11
Thank you for your answer!
I have no data in project and I put the "options nosource";
I still have the same size of project. 😞

Kurt_Bremser
Super User

@SASdevAnneMarie wrote:
Thank you for your answer!
I have no data in project and I put the "options nosource";
I still have the same size of project. 😞


Please re-read my post with proper diligence. I explicitly did not talk about data, but results and logs. Check all those with your own eyes.

SASdevAnneMarie
Barite | Level 11
Thank you, I see.
I have no results because I used "ODS NORESULTS;"

I can't understand why the log is not deleted with "options nosource";

Thank you!
Kurt_Bremser
Super User

The SOURCE option controls if the original code statements are sent to the log or not. NOTEs, WARNINGs and ERRORs are still sent to the log. If you repeat 10 steps for 5000 times in a macro, you'll have all those from 50.000 steps in the log.

If you have lots of data errors in your data, and a large value in the ERRORS option, this will also cause a large number of log messages.

SASdevAnneMarie
Barite | Level 11
Thank you Kurt,

There is some option for not generating the log?
Thank you!
Quentin
Super User

No log is a scary thing, but you can do it with:

 

proc printto log="NUL:";
run;
The Boston Area SAS Users Group (BASUG) is hosting an in person Meeting & Training on June 27!
Full details and registration info at https://www.basug.org/events.
SASdevAnneMarie
Barite | Level 11
Thank you!
That works, my project is not huge any more!

Best regards,
Marie
Kurt_Bremser
Super User

Instead of suppressing the log as a whole, you should look for the reason why it grows so big, and correct that. Very often, overly large logs point to problems (extraneous NOTEs, data ERROR's, ...) or to inefficient code (10000 data steps repeated in a macro loop instead of a single data step with by group processing).

So you should review your whole process very carefully, and pay attention to details. Garbage code stays garbage code, even if you refuse to look.

Quentin
Super User

I think .egp files are still zipped xml.  So if you're really curious what's driving the file size, you could make a copy of the egp file, unzip it to a folder, and poke around a bit to see which files are the largest and what's in them.  You don't say much about what's in the egp file, so it's hard to guess.

The Boston Area SAS Users Group (BASUG) is hosting an in person Meeting & Training on June 27!
Full details and registration info at https://www.basug.org/events.
ChrisHemedinger
Community Manager

EG projects do not store your data, but they do keep your ODS results and log output.  If you have Project Log enabled, you might want to clear it (see Project Properties, Project Log -- check online help for details).

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 11 replies
  • 3046 views
  • 1 like
  • 4 in conversation