Problem Note 45306: Specifying a page dimension with PROC TABULATE and the ExcelXP tagset generates an invalid XML file in SAS® 9.3
Using the TABULATE procedure that specifies a page dimension in SAS® 9.3 generates an invalid XML file when created with the ExcelXP tagset. The problem occurs because of an invalid style value associated with the string that is used for the field added on the page dimension. Attempting to open the file in Excel generates a dialog box containing a table error.
To circumvent the problem, add a style template that includes the invalid style that allows the file to be opened in Excel. An example is shown below.
ods path(prepend) work.templat(update);
proc template;
define style styles.test;
parent=styles.default;
style systemtitle__c__c from systemtitle;
style systemtitle__l__l from systemtitle;
end;
run;
ods tagsets.excelxp file="c:\temp.xml" style=styles.test;
proc tabulate data=sashelp.class;
class age sex;
var height;
table age,sex,height;
run;
ods tagsets.excelxp close;
Operating System and Release Information
SAS System | Base SAS | Aster Data nCluster on Linux x64 | 9.3 TS1M0 | |
DB2 Universal Database on AIX | 9.3 TS1M0 | |
DB2 Universal Database on Linux x64 | 9.3 TS1M0 | |
Greenplum on Linux x64 | 9.3 TS1M0 | |
Netezza TwinFin 32bit blade | 9.3 TS1M0 | |
Netezza TwinFin 32-bit SMP Hosts | 9.3 TS1M0 | |
Netezza TwinFin 64-bit S-Blades | 9.3 TS1M0 | |
Netezza TwinFin 64-bit SMP Hosts | 9.3 TS1M0 | |
Teradata on Linux | 9.3 TS1M0 | |
z/OS | 9.3 TS1M0 | |
Z64 | 9.3 TS1M0 | |
Microsoft® Windows® for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.3 TS1M0 | |
Microsoft Windows Server 2003 for x64 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 | 9.3 TS1M0 | |
Microsoft Windows Server 2008 for x64 | 9.3 TS1M0 | |
Microsoft Windows XP Professional | 9.3 TS1M0 | |
Windows 7 Enterprise 32 bit | 9.3 TS1M0 | |
Windows 7 Enterprise x64 | 9.3 TS1M0 | |
Windows 7 Home Premium 32 bit | 9.3 TS1M0 | |
Windows 7 Home Premium x64 | 9.3 TS1M0 | |
Windows 7 Professional 32 bit | 9.3 TS1M0 | |
Windows 7 Professional x64 | 9.3 TS1M0 | |
Windows 7 Ultimate 32 bit | 9.3 TS1M0 | |
Windows 7 Ultimate x64 | 9.3 TS1M0 | |
Windows Vista | 9.3 TS1M0 | |
Windows Vista for x64 | 9.3 TS1M0 | |
64-bit Enabled AIX | 9.3 TS1M0 | |
64-bit Enabled HP-UX | 9.3 TS1M0 | |
64-bit Enabled Solaris | 9.3 TS1M0 | |
HP-UX IPF | 9.3 TS1M0 | |
Linux | 9.3 TS1M0 | |
Linux for x64 | 9.3 TS1M0 | |
Solaris for x64 | 9.3 TS1M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Specifying a page dimension with PROC TABULATE and the ExcelXP tagset generates an invalid XML file in SAS® 9.3.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2012-02-17 15:40:31 |
Date Created: | 2012-01-06 13:27:34 |