10-29-2013 03:56 PM
Does anyone have SAS code that retrieves the file attibutes of all files/folders in a directory?
I'm particularly interested in date modified and owner name.
10-29-2013 04:02 PM
Create a named pipe and get that from the directory listing? Exact code depends on OS, but the concept should be the same.
filename myfile pipe "dir C:\temp\ /q"; */q gets owner in windows;
infile myfile lrecl=500;
input (whatever you are interested in);
10-29-2013 05:55 PM
Thank you for the reply.
I ran the following code:
For "owner" I only see:
Do you know what this is referring to?