liu022 发表于 2013-4-15 10:07 
您好!谢谢您的指导。这个不对呢~
英文的log是这样的,是你所需要的呀(要数据集不需要输出),直接忽略warming吧
1 ods listing close;
2 ods select Cov;
3 proc corr data=sashelp.air cov;
4 var date air;
5 ods output Cov=Cov;
6 run;
NOTE: The data set WORK.COV has 2 observations and 4 variables.
WARNING: Output 'Cov' was not created. Make sure that the output object name, label, or path
is spelled correctly. Also, verify that the appropriate procedure options are used to
produce the requested output object. For example, verify that the NOPRINT option is
not used.
NOTE: PROCEDURE CORR used (Total process time):
real time 0.18 seconds
cpu time 0.07 seconds