Hi All,
Was waiting for the sas community upgrade to finish so that I could post this.
SAS enviornment: I am running EG 4.3 on a unix based server
Problem: I can write ods html, rtf and pdf to a server userdata folder. However I can't write a xls or xlsx file.
Code:
Desired result: Produce a html file in the server userdata folder
ods html body="/someserverlocation/alpha.html";
proc print data=sashelp.class;
run;
ods html close;
Problem: Using a xls or xlsx extension causes issue
ods html body="/gbm/gbmrisksys/teamdata/users/gulahar/alpha.xlsx";
proc print data=sashelp.class;
run;
ods html close;
xls issue: if i use xls it says file format not recognized and it does produce a file
xlsx issue: if i specify this then on trying to open the file it comes up with a file import wizard and the imported table just consists of the variable format information rather than the data.
Question:
1. If i can write to pdf, rtf and html to the server user folder shouldn't i be able to write xls or xlsx files also?
2. When the html file gets produced on opening it i can easily import it to my EG enviornment using the file wizard. However the xlsx file only results in the variable formats getting imported. Why can't i import the xlsx file?
Thanks
... View more