BookmarkSubscribeRSS Feed
SaranyaSundar
Calcite | Level 5

Hello all,

 

Is there any option to automatically save the log file in the respective folder instead of giving the folder path each and every time..

 

Thanks in advance

2 REPLIES 2
SASKiwi
PROC Star

This post describes two different ways: https://communities.sas.com/t5/SAS-Procedures/Saving-log-files/m-p/132187#M35929

 

You could also run your program as a batch job which creates a log file automatically.

Kurt_Bremser
Super User

For workspace server logs (SAS Studio or Enterprise Guide), you can modify the logconfig.xml in the configuration directory.

Create a copy, modify that, and use that copy in the sasv9_usermods.cfg

 

I have created a setup where the log of each user session is preserved in a subdirectory of the respective user's $HOME.

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 562 views
  • 1 like
  • 3 in conversation