Hello,
Is it possible to see in sas the history of deleting (and creation) a files or folder by with user.
I am talking about externel and internal files(=sas file)
If not, I am open to others solutions( unix,....)
Thank you
For external files I don't know, but for internal files, you have the dataset SASHELP.VTABLE.
In this table appear the library, the name of the table and when was editted and created.
This may need the auditing subsystem of your operating system.
Caveats:
will use CPU resources, and will need lots of space for the audit logs, depending on the traffic in the audited resources.
Thank you.
I am intersted by files was deleting
Once a file is deleted, all traces of it are gone in SAS, as the dictionary tables are created "live" from the currently assigned libraries.
To detect the deletion of a file, one needs to audit the directory where the file is(was) stored, because deletion involves writing to the directory.
As KurtBremser has stated, this would be in your OS. However there is also another alternative. If you have a version control system setup (and why would you not if your programming), and the files in question are versioned through that, then you can check the history of the file via the svn repository which will give you an XML report on actions, changes, when, by who etc.
Thank you
But I do not have svn
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.