This code creates a SAS datasets en fills it with the names of files in an certan directory.
/* ------------------------------------------------------------------------------
Get filenames
----------------------------------------------------------------------------*/
filename indata pipe 'dir c:\test /b' ;
data kip;
infile indata truncover ;
input f2r $50.;
run;
filename indata clear ;
No comments:
Post a Comment