楼主: yunai1988
10045 14

[问答] sas导入文件出现 文件 _IMEX_.'abc$'n.DATA 不存在 错误 [推广有奖]

  • 0关注
  • 0粉丝

高中生

17%

还不是VIP/贵宾

-

威望
0
论坛币
32 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
452 点
帖子
19
精华
0
在线时间
18 小时
注册时间
2011-2-13
最后登录
2014-3-12

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
我用import过程导入一个excel文件,共有7个sheet, 第一个和第七个都可以导入,可是第二个到第六个都不行,都出现

文件 _IMEX_.'abc$'n.DATA 不存在 的错误,用libname试过也是这个样子,请问这到底是什么问题造成的

二维码

扫码加我 拉你入群

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

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

关键词:Data 导入文件 IME ABC 不存在 import excel

沙发
sophiesdaisy 发表于 2012-3-7 16:55:02 |只看作者 |坛友微信交流群
我也想知道 为神马!!!!!

使用道具

藤椅
sophiesdaisy 发表于 2012-3-7 16:56:25 |只看作者 |坛友微信交流群
帮顶 求帮助~~~

使用道具

板凳
sophiesdaisy 发表于 2012-3-8 08:49:32 |只看作者 |坛友微信交流群
再帮顶 怎么没人知道咧

使用道具

报纸
sophiesdaisy 发表于 2012-3-8 08:55:53 |只看作者 |坛友微信交流群
When using PROC IMPORT statements or the Import Wizard to read an
   Excel97 or Excel2000 file into SAS, the following error may be returned:
     ERROR: File _IMEX_.'SHEET1$'.DATA does not exist.
     ERROR: Import unsuccessful. See SAS Log for details.
   If the Excel file has 256 columns, the MS Jet Provider will not be able
   to read the file.  There is a bug in the MS Jet Provider.  It will
   create an Excel file that has the maximum number of fields allowed, 256.
   However, it can read only 255 fields.  You can save the Excel file as a
   MS Excel 5/95 workbook file or as a delimited text file and import that
   into SAS.  These file types are not accessed via the MS Jet Provider by
   the SAS IMPORT procedure.

这个是俺找到的答案,就是说列不能超过255列~ 希望对你有帮助

使用道具

地板
yunai1988 发表于 2012-4-8 16:20:33 |只看作者 |坛友微信交流群
sophiesdaisy 发表于 2012-3-8 08:55
When using PROC IMPORT statements or the Import Wizard to read an
   Excel97 or Excel2000 file in ...
谢谢,

使用道具

7
qingyin1007 在职认证  发表于 2012-11-25 08:44:51 |只看作者 |坛友微信交流群
学习一下

使用道具

8
fightor999 发表于 2013-7-12 15:42:27 |只看作者 |坛友微信交流群


data aa;
  miwd2="50070001";
  output;
run;

proc export data=aa outtable="sv1_ab"
   dbms=access replace;
   database="L:\access\bb.mdb";
run;
用SAS9.2中文版,上边这段代码会出现问题,显示
ERROR: During insert: 
WARNING: 文件“_IMEX_.sv1_ab.DATA”删除失败。
ERROR: 导出失败。详细信息,请参阅“SAS 日志”。
NOTE: 由于出错,SAS 系统停止处理该步。
NOTE: “PROCEDURE EXPORT”所用时间(总处理时间):
      实际时间          0.45 秒
      CPU 时间          0.07 秒

然而,
下边这段程序却没有问题,


data aa;
  miwd2=50070001;
  output;
run;

proc export data=aa outtable="sv1_ab"
   dbms=access replace;
   database="L:\access\bb.mdb";
run;

谁能帮忙分析下原因?谢谢!

使用道具

9
fightor999 发表于 2013-7-12 15:42:52 |只看作者 |坛友微信交流群


data aa;
  miwd2="50070001";
  output;
run;

proc export data=aa outtable="sv1_ab"
   dbms=access replace;
   database="L:\access\bb.mdb";
run;
用SAS9.2中文版,上边这段代码会出现问题,显示
ERROR: During insert: 
WARNING: 文件“_IMEX_.sv1_ab.DATA”删除失败。
ERROR: 导出失败。详细信息,请参阅“SAS 日志”。
NOTE: 由于出错,SAS 系统停止处理该步。
NOTE: “PROCEDURE EXPORT”所用时间(总处理时间):
      实际时间          0.45 秒
      CPU 时间          0.07 秒

然而,
下边这段程序却没有问题,


data aa;
  miwd2=50070001;
  output;
run;

proc export data=aa outtable="sv1_ab"
   dbms=access replace;
   database="L:\access\bb.mdb";
run;

谁能帮忙分析下原因?谢谢!

使用道具

10
caicaierfeng 发表于 2015-3-3 14:38:51 |只看作者 |坛友微信交流群
fightor999 发表于 2013-7-12 15:42
data aa;
  miwd2="50070001";
  output;
请问找到原因了吗

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-28 00:17