试了collen的程序,觉得是否要修改下呢?
data one;
input a b c d e f g h i j;
cards;
1 2 3 4 5 6 7 8 9 10
;
run;
ods output variables=two(keep=variable);
proc contents data = one;
run;
ods output close;
filename test "e:\test.txt";
data _null_;
file test;
set two;
put 'd_'variable;
run;
我试了报错 <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->