全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
3253 4
2010-06-23
My program:

options noxwait noxsync;
filename patients dde
"excel|D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\[A4061039 target and actual graph.xls]1039 !$A$2:$F$68";
data _null_;
   infile patients;
   input;
   put _infile_;
run;
  
Error in log:

ERROR: DDE session not ready.
FATAL: Unrecoverable I/O error detected in the execution of the data step program.
       Aborted during the EXECUTION phase.

请问高手怎样解决这个问题呀?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-6-23 17:25:35
估计是你的excel文件没打开
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-6-23 18:08:08
怎么打开?
我用  
options noxwait noxsync;
x ' "D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\[A4061039 target and actual graph.xls";
还是不行!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-6-24 00:00:06
lvjinghui 发表于 2010-6-23 15:40
My program:

options noxwait noxsync;
filename patients dde
"excel|D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\[A4061039 target and actual graph.xls]1039 !$A$2:$F$68";
data _null_;
   infile patients;
   input;
   put _infile_;
run;
  
Error in log:

ERROR: DDE session not ready.
FATAL: Unrecoverable I/O error detected in the execution of the data step program.
       Aborted during the EXECUTION phase.

请问高手怎样解决这个问题呀?
options noxwait noxsync;
%SYSEXEC  "D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\A4061039 target and actual graph.xls";
filename patients dde
"EXCEL|D:\lvjinghui\project\pfizer\2010-04-26 A4061039\reference\[A4061039 target and actual graph.xls]1039 !R2C1:R68C6"
;
RUN;
/*1039 !$A$2:$F$68";*/
data _null_;
   infile patients;
   input;
   put _infile_;
run;

You may try above.
Note: I saw they identify the selection in worksheet by R*****C***:R*****C*** but not in your form $A... Honestly, I do not know if that is the reason.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-3-2 16:38:07
要先用x命令运行Excel软件,再打开文件
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群