Create a data set with the information on the files stored in a directory
This example creates a data set in which each record refers about the information of each file stored in a directory (in the example the directory is "c:\mydocuments").
In order to run this example just paste the following statements in the Command area and press the button: EXECUTE. To view the content of the resulting data set go in the PATH tab and refer to the ones named Dircontent.
This example creates a data set in which each record refers about the information of each file stored in a directory (in the example the directory is "c:\mydocuments").
In order to run this example just paste the following statements in the Command area and press the button: EXECUTE. To view the content of the resulting data set go in the PATH tab and refer to the ones named Dircontent.
Proc Dirlist out=dircontent; directory c:\mydocuments; nosubdir; run; |