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

Hi,

I want to extract the name of the user who has modified a sas dataset (All users who has modified a SAS dataset ever in history) . My SAS grid is based on linux and I don't have authorisation to run shell script through SAS EG.

 

Is there a possible solution for this using SAS programming only??

 

Thanks in advance

Nidhish

1 ACCEPTED SOLUTION

Accepted Solutions
AllanBowe
Barite | Level 11

Yes!  With some caveats.  The most 'native' way to do this is to switch on generation datasets, see here:  https://documentation.sas.com/?docsetId=lrcon&docsetTarget=p0apy93gsj2bzmn1awyqfe7kklkp.htm&docsetVe...

 

You can also track this using APM, see this communities thread here:  https://communities.sas.com/t5/Administration-and-Deployment/RE-How-to-track-who-accessed-what-table...

 

There are commercial solutions too, worth mentioning:

 

For wider tracking of all changes to data structures where the metadata is held in SAS, there is an upcoming solution called METL (based on ARM):  https://www.linkedin.com/pulse/metl-metadata-warehouse-system-winston-groenewald/

 

For an easy to use interface for tracking changes to data (what changed, by whom, who signed it off, for what reason, when - with downloadable reports) there is https://datacontroller.io (disclaimer - my company made this product).

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

View solution in original post

3 REPLIES 3
andreas_lds
Jade | Level 19

I am not a Linux-expert, but i don't think that the filesystem stores the change history of files. Maybe you can get the userid of the last person that changed the file. The function finfo is able to retrieve meta-information of files and folders, please check the documentation.

AllanBowe
Barite | Level 11

Yes!  With some caveats.  The most 'native' way to do this is to switch on generation datasets, see here:  https://documentation.sas.com/?docsetId=lrcon&docsetTarget=p0apy93gsj2bzmn1awyqfe7kklkp.htm&docsetVe...

 

You can also track this using APM, see this communities thread here:  https://communities.sas.com/t5/Administration-and-Deployment/RE-How-to-track-who-accessed-what-table...

 

There are commercial solutions too, worth mentioning:

 

For wider tracking of all changes to data structures where the metadata is held in SAS, there is an upcoming solution called METL (based on ARM):  https://www.linkedin.com/pulse/metl-metadata-warehouse-system-winston-groenewald/

 

For an easy to use interface for tracking changes to data (what changed, by whom, who signed it off, for what reason, when - with downloadable reports) there is https://datacontroller.io (disclaimer - my company made this product).

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 4215 views
  • 3 likes
  • 4 in conversation