filename indata pipe 'dir f:\sas\data /b'; /*指定待获取文件名的文件夹*/
data file_list;
length fname $13; /*设定文件名的长度及变量名*/
infile indata truncover; /* 获取文件名 */
input fname $13.; /* 将文件名写入fname变量中*/
call symput ('num_files', _n_); /* 将文件数量保存到宏变量num_files中*/
run;
NOTE: Numeric values have been converted to character values at the places given by:
(Line):(Column).
96:26
NOTE: The infile INDATA is:
Unnamed Pipe Access Device,
PROCESS=dir f:\sas\data\ningbo /b,RECFM=V,
LRECL=256
Stderr output:
磁盘空间不足。
NOTE: 0 records were read from the infile INDATA.
NOTE: The data set WORK.FILE_LIST has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.08 seconds
cpu time 0.01 seconds



雷达卡


京公网安备 11010802022788号







