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
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.