BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
btbell
Calcite | Level 5

I am a SAS user running SAS 9.4 client on Windows 10 and using the Enhanced Editor. I'm wanting to know if there's a way to view a log that would show all scripts that have been run for a specific time. E.g. I want to see all scripts I've run today, regardless of SAS session (I sometimes run multiple sessions at a time). I'm hoping SAS writes to a single local log file ALL script executions and date/times.

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

If I understand your intent the short answer I believe is NO.

 

You can specify using Proc Printo a file to write the LOG to for a session but you would have to specify it in each of your sessions and a separate file name to write too for each.

 

Harder to manage would be the SAS system opton ALTLOG as that would need to be set when each session is invoked (command line option for example not just clicking on your desktop icon for a second session).

 

And log output may not have what you want for every script. Data steps with inline datalines or cards statement data do not show the lines of data in the log.

View solution in original post

1 REPLY 1
ballardw
Super User

If I understand your intent the short answer I believe is NO.

 

You can specify using Proc Printo a file to write the LOG to for a session but you would have to specify it in each of your sessions and a separate file name to write too for each.

 

Harder to manage would be the SAS system opton ALTLOG as that would need to be set when each session is invoked (command line option for example not just clicking on your desktop icon for a second session).

 

And log output may not have what you want for every script. Data steps with inline datalines or cards statement data do not show the lines of data in the log.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 431 views
  • 1 like
  • 2 in conversation