Judging a report by its title

1

The SAS output delivery system (ODS) makes it so easy to create great-looking output that many folks forget that you can make it even better.

One step that folks often leave out: applying a custom title for HTML output. I'm not talking about the title text that you see as a result of the TITLE statement. Instead, I'm talking about the title that appears in your web browser window, showing the content of the <TITLE> tag that lives inside your HTML.

By default, the title that SAS generates is "SAS Output". Do people really forget to change this? Yes, and you can scour the internet for examples by using this search string in Google:

allintitle: "SAS Output"

This search finds web pages that have the exact phase "SAS Output" in the <TITLE> tag. It's a great way to see what other folks are creating with SAS, but it's probably not what they intended.

To create a custom title for your HTML output, use the (TITLE='title-text') suboption when specifying the output file. For example:

ods html 
  file="c:reportsstellar.html" 
     (title="My report deserves a great title")
  style=analysis
  ;
/** your report program here **/
ods html close;

Tags SAS tips
Share

About Author

Chris Hemedinger

Director, SAS User Engagement

+Chris Hemedinger is the Director of SAS User Engagement, which includes our SAS Communities and SAS User Groups. Since 1993, Chris has worked for SAS as an author, a software developer, an R&D manager and a consultant. Inexplicably, Chris is still coasting on the limited fame he earned as an author of SAS For Dummies

1 Comment

Back to Top