BookmarkSubscribeRSS Feed
Kayalvizhi
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.

 

Thanks,

Kayal

4 REPLIES 4
Kurt_Bremser
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.

RW9
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.

ballardw
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.

SuryaKiran
Meteorite | Level 14

Hi,

 

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

Thanks,
Suryakiran

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 1016 views
  • 0 likes
  • 5 in conversation