BookmarkSubscribeRSS Feed
sasprofile
Quartz | Level 8

Hi all,

Is there any way that I can find the sas programs when they had ran last time on Unix(solaris) with Date and timing last time.

We are using SAS 9.2 on Unix solaris.

I would really appreciate for all your suggestion

Thank you

2 REPLIES 2
ChrisHemedinger
Community Manager

If you have these within a SAS Enterprise Guide project where you've run them, you can get this information from the Project Reviewer task.

If the programs are in the Unix file system and were run using batch SAS, there is likely a .log file for each program located somewhere -- perhaps in the same directory or in a directory local to where the SAS command was invoked.  The log file would have a file timestamp, and the log content would report the total running time for the SAS session.

Chris

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!
ballardw
Super User

And if you don't have logs or such you could add a snippet of code to update a permanent data set with the information. This won't help for the past but could be helpful going forward.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 2052 views
  • 1 like
  • 3 in conversation