全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
5261 2
2014-04-28
悬赏 3 个论坛币 未解决
EXCEL 格式:
Product_familyparmbin_typebinsideuclmaxytick_spacing
bbbbmeancccLargeA

25

50

5

aaaameanvvvLargeA

20

50

5




程序: SAS 9.2
proc import out=runlist replace      datafile="C:\ftp_candela_control_file.xls"     
DBMS=EXCEL REPLACE;     
getnames=yes;     
mixed=yes;     
sheet="runlist";     
SCANTEXT=YES;   
USEDATE=YES;   
SCANTIME=YES; run;

log :

The SAS System
NOTE: Data source is connected in READ ONLY mode.
WARNING: Failed to scan text length or time type for column Product_family.
WARNING: Failed to scan text length or time type for column parm.
WARNING: Failed to scan text length or time type for column bin_type.
WARNING: Failed to scan text length or time type for column bin.
WARNING: Failed to scan text length or time type for column side.
ERROR: Open cursor: Selected collating sequence not supported by the operating system.
ERROR: Import unsuccessful.  See SAS Log for details.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
      real time           1.53 seconds
      cpu time            0.57 seconds


二维码

扫码加我 拉你入群

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

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

全部回复
2014-4-28 11:10:37
把sheet="runlist"改成range="runlist$"
二维码

扫码加我 拉你入群

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

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

2015-1-18 21:07:58
参考sas import读取数据介绍
http://wenku.baidu.com/link?url=_VNyW6O0LCqdG4cAX0hUOWfxj2eqCRiK6YMZtlMTGu-rkpAXOfIDbq3ZoNOCIOX5o6tnpjQRtN55DOceihNMPdIcwW7W0omOekh2KtLhDvO
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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