SAS - Write filenames to a dataset, or to an external file? -


is there way, in sas, grab filenames (.txt files) directory (e.g. c:\temp) , write them dataset? or possibly write them separate .txt. file?

i'm trying find examples online haven't been able locate anything.

the simplest way named pipe, can read from.

eg:

filename mydir pipe 'dir c:\temp\*.txt /b'; data mydata; infile mydir lrecl=150 truncover; input @1 line $150.; run; 

Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -