BookmarkSubscribeRSS Feed
Paige
Quartz | Level 8
ods html file='acg.html' path='c:\data\users\xxxxxx\temp'
gpath='c:\data\users\xxxxxx\temp';
title "This is Title 1";
proc capability data=sashelp.class;
var height;
comphist height/class=sex;
run;
proc ttest data=sashelp.class;
var height;
class sex;
run;
ods html close;

There is no title above the PROC TTEST output in the .html file in SAS
9.2. Where did it go? How can I turn it on?

In SAS 9.1.3, the title appears above the PROC TTEST output, as
expected.

--
Paige Miller
paige\dot\miller \at\ kodak\dot\com
4 REPLIES 4
David_SAS
SAS Employee
Paige,

I have reproduced the problem you report with ODS HTML in SAS 9.2. We in ODS R&D will investigate it. I don't have a workaround for it at this time.

-- David Kelley, SAS
Eric_SAS
SAS Employee
The title is part of the graph image. If you want the title to be separate you need to specify nogtitle
on the ods html statement.
Paige
Quartz | Level 8
Eric

With all due respect, in SAS 9.1.3 there is a title above PROC TTEST, while in SAS 9.2 there is no title above PROC TTEST. It shouldn't matter whether I use gtitle or nogtitle, there should be a title there, because neither affects PROC TTEST. Having used SAS for over 20 years now, the SAS 9.1.3 behavior is what I expect.
David_SAS
SAS Employee
Paige,

You're correct that this is a defect. We are working on a fix for the next SAS 9 release.

-- David Kelley, SAS

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 898 views
  • 0 likes
  • 3 in conversation