由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - proc export to Excel: can not read it!
相关主题
可以用sas直接改excel的worksheet的名字么?请教如何同时用sas打开多个excel文件?多谢!
[求助]用SAS建立多个工作簿的Excel文件SAS proc import excel file 紧急求助
Proc import 读excel文件,怎么略去前面几行?如何用代码将多个sas数据集输出成csv文件
怎样批量将很多的sas文件转换成stata文件?SAS: automatically generate xls file with updated date
求帮助:excel数据转csv和sas的读取Is the following SAS code wrong?
请问SAS BASE考试中12题的正确答案是什么?如何从sas output里读入数据。
请教SAS ODS to ExcelSAS proc printto 问题。
sas or python 读取 excel data fileSAS不能导入EXCEL2003的数据!
相关话题的讨论汇总
话题: excel话题: outfile话题: export话题: proc话题: sas
进入Statistics版参与讨论
1 (共1页)
c**********e
发帖数: 2007
1
I use the following code to tranform a SAS dataset an Excel file on Unix.
libname myfolder '/abcd/efgh/ijkl';
proc export DBMS=XLS
data=myfolder.mydata
outfile="/abcd/efgh/ijkl/myfile.xls"
replace;
run;
quit;
But my Excel file can not be opened. Anybody knows how to solve it?
The error message:
"Excel found unreadable contents in 'myfile.xls'.
Do you want to recover the contents of this workbook?
If you trust the source of this workbook, click Yes."
a****g
发帖数: 8131
2
might be that your sas 9.3 is 64 bits and office is 32 bits
c**********e
发帖数: 2007
3
Then how to solve the problem?
s******8
发帖数: 102
4
if your SAS is 64bit 9.3, but you MS is 32 bit, you need download 'SAS PC
files server' and install it.
then dbms=exclecs like:
if there is a file ="&outpath.\&outfile..xls then,
proc export data=yourdata
outfile="&outpath.\&outfile..xls" dbms=excelcs replace;
run;
if there is not a file ="&outpath.\&outfile..xls then
proc export data=yourdata
outfile="&outpath.\&outfile..xlsb" dbms=excelcs replace;
run;
P****D
发帖数: 11146
5
别提了,妾折腾过一回你说的这种情况。装了这个之后又要求那个,装了那个之后跟这
个又冲突......
不管是上班还是自家,换64位excel,妥妥的。不然就会被折腾疯了还是没法用。

【在 s******8 的大作中提到】
: if your SAS is 64bit 9.3, but you MS is 32 bit, you need download 'SAS PC
: files server' and install it.
: then dbms=exclecs like:
: if there is a file ="&outpath.\&outfile..xls then,
: proc export data=yourdata
: outfile="&outpath.\&outfile..xls" dbms=excelcs replace;
: run;
: if there is not a file ="&outpath.\&outfile..xls then
: proc export data=yourdata
: outfile="&outpath.\&outfile..xlsb" dbms=excelcs replace;

1 (共1页)
进入Statistics版参与讨论
相关主题
SAS不能导入EXCEL2003的数据!求帮助:excel数据转csv和sas的读取
怎样得到OBS的值?请问SAS BASE考试中12题的正确答案是什么?
[合集] 新手首次发贴 SAS 问题急问,谢谢大家的帮助请教SAS ODS to Excel
菜鸟问个sas得问题,关于分数组sas or python 读取 excel data file
可以用sas直接改excel的worksheet的名字么?请教如何同时用sas打开多个excel文件?多谢!
[求助]用SAS建立多个工作簿的Excel文件SAS proc import excel file 紧急求助
Proc import 读excel文件,怎么略去前面几行?如何用代码将多个sas数据集输出成csv文件
怎样批量将很多的sas文件转换成stata文件?SAS: automatically generate xls file with updated date
相关话题的讨论汇总
话题: excel话题: outfile话题: export话题: proc话题: sas