data _null_;
set a;
file recrange;
put height;
run;[/code:a9bb3]
但是出现如下提示
ERROR: Physical file does not exist, excel|[jjg.xls] sheet1! r1c1:r4c1.
NOTE: The SAS System stopped processing this step because of errors.
可是我的文件名和路径都对啊!请指教。作者: shiyiming 时间: 2004-5-18 12:49
可能原因:
filename sas2xl dde 'excel|system';
data _null_;/*creat a new excel workbook*/
file sas2xl;
put '[new(1)]';
put '[save.as(''c:\dataset\newxl'')]';
run;
NOTE: The file SAS2XL is:
DDE Session,
SESSION=excel|system,RECFM=V,LRECL=256
ERROR: DDE session not ready.
FATAL: Unrecoverable I/O error detected in the execution of the data step program.
Aborted during the EXECUTION phase.