BookmarkSubscribeRSS Feed
Fluorite | Level 6

Hi ,


Can you please help me find 'who modified the file .sas files in windows OS' using sas 9.4 .


Kindly let me know if you require any other details.




Super User

Doing this requires installation and activation of an audit subsystem in the operating system. The OS itself stores only the timestamp of the last change, not which user made it.

Diamond | Level 26 RW9
Diamond | Level 26

If your creating code files, why do you not have some sort of version control system in place, be it Tortoise via Explorer, or Git via cloud, or even inbuilt into your production environment.  Even if there was a way to tell who changed a file from the OS, its not going to be that exactly reliable any more than changed date, as these things can quite easily be altered.

Super User

The information maintained with the file in Windows will depend quite a bit on which program creates, modifies and uses the file.

Office files, such as Word or Excel documents you can right click on the file from the Windows Explorer, click on Properties and the Details tab to find out some information about who/what created or last modified the file. But .SAS program files won't have that information stored though it should have Owner information which may or may not have the last person involved. Look in the online help or SAS documentation for the FINFO, and related functions, for approaches that may let find that information using SAS.


So you will need a separate tool such as @Kurt_Bremser or @RW9 mentioned.

Meteorite | Level 14



I suggest using Tortoise as @RW9 mentioned. Its a great tool to monitor repositories and notifies you in case there are new commits.


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
  • 4 replies
  • 5 in conversation