The SAS Output Delivery System and reporting techniques

Missing text for page dimention when using TAGSETS.TABLEEDITOR

Reply
New Contributor
Posts: 2

Missing text for page dimention when using TAGSETS.TABLEEDITOR

Hi

If you make a three dimensional table i proc tabulate, and use tagsets.tableeditor as output destination, the page dimention text is omitted from the output.

For example:

ods tagsets.tableeditor file='c:\temp\test.html' style=sasweb
options(pageheight="80%"
scrollbar_color="#f1f0ea"
frozen_headers="yes"
frozen_rowheaders="yes");

proc tabulate data=sashelp.class;
class sex name;
var age;
table sex='Sex: ',
(name=' ' all='All'),
age*mean=' '
/box='Test';
run;

ods tagsets.tableeditor close;

Is there a way to display the text for the page dimension?
SAS Super FREQ
Posts: 8,743

Re: Missing text for page dimention when using TAGSETS.TABLEEDITOR

Hi:
I would recommend opening a track with Tech Support, since the same code in the HTML destination does show the page dimension information. Either the TAGSETS.TABLEEDITOR developer intended this behavior, or it is an issue that needs to be fixed. Tech Support is in a position to figure out which is the case.

To open a track with Tech Support, fill out the form at this link:
http://support.sas.com/ctx/supportform/createForm

Otherwise, one workaround would be to use the #BYVAL/#BYVAR information in a TITLE statement with BY group processing to avoid using the page dimension in your TABULATE code. Something like what's shown below this post.

cynthia
[pre]

proc sort data=sashelp.class out=class;
by sex name;
run;

ods tagsets.tableeditor file='c:\temp\test3.html' style=sasweb
options(pageheight="80%"
scrollbar_color="#f1f0ea"
frozen_headers="yes"
frozen_rowheaders="yes");

options nobyline;
title '#Byvar1: #Byval1';
proc tabulate data=class;
by sex;
class name;
var age;
table (name=' ' all='All'),
age*mean=' '
/box='Test';
run;

ods tagsets.tableeditor close;
options byline;
title;
[/pre]
Valued Guide
Posts: 2,175

Re: Missing text for page dimention when using TAGSETS.TABLEEDITOR

GertG

the page dimension text appears above the table for me.
I use SAS9.2 and the version of tagsets.tableeditor is
V2.2.8 3/1/2008
Which versions have you?

peterC
New Contributor
Posts: 2

Re: Missing text for page dimention when using TAGSETS.TABLEEDITOR

Hi peterC

I user SAS9.1.3.
I don't know the version number of the tagset - but it is downloaded from the SAS-site a few days ago, so I suppose i it the latest version.

Regards GertG
SAS Super FREQ
Posts: 8,743

Re: Missing text for page dimention when using TAGSETS.TABLEEDITOR

Hi:
Look in the SAS log for this line:
[pre]
1279 ;
NOTE: Writing TAGSETS.TABLEEDITOR Body file: c:\temp\xxxxx.html
V2.40 9/24/2010
[/pre]

I observe the same behavior (no page identifier) when I use the above version of TAGSETS.TABLEEDITOR and SAS 9.2. If Peter C. does not observe the same behavior in the earlier version of the tagset template, then this would be a reason to open a track with Tech Support. Clearly, something changed between the previous version of the template and this newest version of the template.

cynthia
Ask a Question
Discussion stats
  • 4 replies
  • 250 views
  • 0 likes
  • 3 in conversation