我的数据集很长:举例如下,这是两条数据。
00000369500011011220110215230027652电视剧 毒刺 28 caa1600000010
00001000000011011220110301280001152 节目预告 mja1600100010
我用这段程序读入SAS;
x "dir E:\a\*.std /b > E:\a\all_std";
%macro import_std(name) ;
data temp&name.;
infile "E:\a\&name..std" ;
length x $500.;
input x $;
run;
%mend;
data _null_;
infile "E:\a\pg.std\all_std";
input str:$100.;
call execute(compress('%import_std('||scan(str,1,'.')||');'));
run;
内容能够读入,但是不完整,只读入了
00000369500011011220110215230027652电视剧
00001000000011011220110301280001152
后面的就没有了,这是为什么呢??