/*Pls try the codes below*/
filename p_dir pipe "dir I:\fold\*.csv /b " lrecl=32767;
data filenames;
infile p_dir truncover;
input fname $char1000.;
run;
NOTE: The infile P_DIR is:
Unnamed Pipe Access Device,
PROCESS=dir I:\fold\*.csv /b,RECFM=V,
LRECL=32767
NOTE: 3 records were read from the infile P_DIR.
The minimum record length was 6.
The maximum record length was 6.
NOTE: The data set WORK.FILENAMES has 3 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.08 seconds
cpu time 0.02 seconds
|