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.

Ready to join fellow brilliant minds for the SAS Hackathon?

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