BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
christa
Calcite | Level 5


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


1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

Hi:

  There is a known issue with PROC TABULATE and TAGSETS.EXCELXP in SAS 9.3, as described here:

45306 - Specifying a page dimension with PROC TABULATE and the ExcelXP tagset generates an invalid X...

  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

View solution in original post

2 REPLIES 2
Reeza
Super User

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.

Cynthia_sas
SAS Super FREQ

Hi:

  There is a known issue with PROC TABULATE and TAGSETS.EXCELXP in SAS 9.3, as described here:

45306 - Specifying a page dimension with PROC TABULATE and the ExcelXP tagset generates an invalid X...

  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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1056 views
  • 0 likes
  • 3 in conversation