ERROR: FILE= or TABLE= is required and must be specified.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds
DATAFILE="C:\SAS\data\auto1.xlsx"
xlsx的扩展名是excel电子表格格式文件么?
我把.xls文件改成.xlsx后文件就和excel不是同一类型,把楼主的代码拿来用也出现同样报错!
ERROR: FILE= or TABLE= is required and must be specified.
因为他不识别.xlsx文件是电子表格文件所以要求你输入file= or table=
建议你把auto1.xlsx改为auto1.xls