Hi
My team have SAS9.4 Environment. And our team save all SAS progrem files, EGPs, STPs even SAS data sets in SAS Folder.
For maintainance reson , I wold like to create object list that show us which files are saved in which folders like that. But since so many objects are saved in so many diffrent folders, open and check each SAS Folders takes me so many times and that is too inefficient.
Is there any way or any specific proceadure to export contents list that saves in SAS Folders at once?
thanks
Try this...
filename DirSubs pipe "dir /s /b E:\SAS9\";
data FILELIST;
infile dirsubs;
input Filename: $200.;
run;
Hope this helps.
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.