Hi all,
I am no longer able to create working multi-worksheet xml files with ods tagset excelxp.
The following program creates an xml, which cannot be opened in excel 2010:
einzel '\\c04-fs1.hestala.de\Abt_1\Ref_A\HEPAS\_SAS-Projekte\Tabelle aus Einzeldaten';
tagsets.excelxp close;
tagsets.excelxp file="\\c04-fs1.hestala.de\Abt_1\Ref_c\Sas\test1.xml" style=styles.sasweb;
tabulate data=sashelp.class;
class age sex;
var height;
table age, sex, height;
where age > 14;
;
tagsets.excelxp close;
I am including the created xml.
Any suggestions would be helpful.
Christa
Hi:
There is a known issue with PROC TABULATE and TAGSETS.EXCELXP in SAS 9.3, as described here:
I do not know for sure whether the problem existed in 9.2 or not. The Tech Support note has a possible workaround. For more direct help on this issue, you might want to open a track with SAS Tech Support.
cynthia
In my testing using v1.127 of the tagsets and SAS 9.2
1. If I run your code straight it doesn't work.
2. If I run your code with a .xls extension it works, but not correctly (see #3). Perhaps there's an issue of extension mapping, are XML sets to be opened by Excel by default?
3. The multiple comma's in the table statement seems to confuse tagsets, and I've heard of this before. If you run simpler tables things seem to work.
Not sure if that helps, but hopefully points you to some workarounds.
Hi:
There is a known issue with PROC TABULATE and TAGSETS.EXCELXP in SAS 9.3, as described here:
I do not know for sure whether the problem existed in 9.2 or not. The Tech Support note has a possible workaround. For more direct help on this issue, you might want to open a track with SAS Tech Support.
cynthia
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.