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 our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
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 our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
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 our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
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).

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 11 replies
  • 2011 views
  • 1 like
  • 4 in conversation