Desktop productivity for business analysts and programmers

SAS Programs that had ran last time with Data and Time(on Unix)

Reply
Frequent Contributor
Posts: 148

SAS Programs that had ran last time with Data and Time(on Unix)

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

Community Manager
Posts: 2,693

Re: SAS Programs that had ran last time with Data and Time(on Unix)

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

Grand Advisor
Posts: 10,210

Re: SAS Programs that had ran last time with Data and Time(on Unix)

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.

Ask a Question
Discussion stats
  • 2 replies
  • 255 views
  • 1 like
  • 3 in conversation