步骤一:编写测试程序保存到d:\temp\test.sas
data temp;
infile 'd:\temp\test.txt' firstobs=2 dsd missover dlm='';
input x1 x2 x3 x4 ;
y=x1 x2 x3 x4;
run;
PROC EXPORT DATA= WORK.Temp
OUTFILE= 'D:\temp\test.csv'
DBMS=CSV REPLACE;
PUTNAMES=YES;
RUN;
步骤二:
编写批处理程序:d:\temp\test.bat
'D:\Program Files\SAS\SASFoundation\9.2\sas.exe' -sysind:\temp\test.sas -log d:\temp\test.log
步骤三:
在windows 添加任务计划 中增加任务计划,选择d:\temp\test.bat 设定运行时间即可。
http://ishare.iask.sina.com.cn/f/13793751.html
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。