DATA Step, Macro, Functions and more

How to export object list saved in SAS Folders

Reply
Occasional Contributor
Posts: 7

How to export object list saved in SAS Folders

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

 

Frequent Contributor
Posts: 113

Re: How to export object list saved in SAS Folders

Posted in reply to AsakoOkano

Try this...

 

filename DirSubs pipe "dir /s /b E:\SAS9\";

data FILELIST;
  infile dirsubs;
  input Filename: $200.;
run;

Hope this helps.

Ask a Question
Discussion stats
  • 1 reply
  • 87 views
  • 0 likes
  • 2 in conversation