菜单

file 输出到外部文件

data test2_13;
file ‘d:/test2_13.txt’; /*结果输出到结果输出窗口*/
do i=1 to 5 by 1;
x=i*i;
put i= x=; /*在结果窗口输出数据*/
end;
run;