06-30-2015 05:23 PM
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,....)
07-01-2015 02:01 AM
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.
07-01-2015 02:37 AM
This may need the auditing subsystem of your operating system.
will use CPU resources, and will need lots of space for the audit logs, depending on the traffic in the audited resources.
07-02-2015 03:20 AM
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.
07-02-2015 05:04 AM
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.