BookmarkSubscribeRSS Feed
AsakoOkano
Fluorite | Level 6

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

 

1 REPLY 1
ShiroAmada
Lapis Lazuli | Level 10

Try this...

 

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

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

Hope this helps.

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 583 views
  • 0 likes
  • 2 in conversation