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