BookmarkSubscribeRSS Feed
Catrin
Obsidian | Level 7
Hallo,

we use MSOffice2k tagset to create files using in Excel 2000.
After migration to SAS 9.2 file sizes are much bigger. There are examples that the files get so big now, that Excel cannot read it. Looking into the generated HTML files we can find the reason for the file size differences. Is there an option to tell msoffice2k tagset to
create the files like in Version SAS 9.1.3 ?

Please find here an SAS-Code Example:

ods listing close;

ods markup file="/u/m500843/sassrc/msoffice2k_9-2.html" tagset=msoffice2k;

proc freq data=sashelp.prdsale;
tables COUNTRY*REGION*DIVISION*QUARTER*PRODUCT*PRODTYPE;

run;

ods markup close;

ods listing;

In SAS 9.1.3 the size is about 233 kb, in SAS 9.2. 633 kb

Kind regards Catrin
3 REPLIES 3
David_SAS
SAS Employee
Catrin,

PROC FREQ makes use of stacked cells. The way ODS generates stacked cells changed from SAS 9.1 to SAS 9.2. The behavior you're observing is by design.

Contact Tech Support by clicking on 'Contact Us' at the bottom of this page if you have further questions.

-- David Kelley, SAS
Catrin
Obsidian | Level 7
Hallo David,

thank you for answering. I assumed that it works as designed. This means to me if Excel crashes because of the big file sizes we have no other chance than to change to another tagset. Is this the case?
With regards
Catrin
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
This is one of those nuances (gently keystroked for the forum readers) with SAS software and the trade-off with embracing new approaches/ideas/technologies as compared to upward-compatibility for your SAS application code.

The SAS Base component ODS is ever-changing with improvements (some would say), and some are communicated while others are not so obvious (for example, VBAR vertical bar spacing default change with SAS 9.2).

So, this post/thread is one indication that when changing SAS versions (even at the Service Pack level), sufficient testing with the SAS facilities, procedures, and technical aspects one uses is up to the end-user or their support staff. And, do make use of the extensive SAS.COM support website resources when planning / executing a version and/or maintenance-level change.

Scott Barry
SBBWorks, Inc.

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
  • 3 replies
  • 1039 views
  • 0 likes
  • 3 in conversation