BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
bergsorensen
Calcite | Level 5

Is there a way to remove the top system title when generating a mail with ODS HTML.

example:

ODS LISTING CLOSE;

ODS HTML BODY=output style=journal;

ods noptitle NOPROCTITLE;

title " "; /* <---- remove this entirely, the title is empty, but there are still an empty areay displayed on top */

ODS TEXT="<p align=""center""><img src=""&path.38303288_&stempel..gif""></img></p>";

ODS TEXT="<p align=""center""><img src=""&path.3834_&stempel..gif""></img></p>";

ODS TEXT="<BR> Med Venlig Hilsen<br>OKR (<a href='mailto:OKNRfaellespostkasse@tdc.dk'>OKNRfaellespostkasse@tdc.dk</a>)<br><IMG SRC='\\tdk.dk\west\COMMON\OKB_DATA\PUBLIC\logo_okb.png'><br>";

ODS HTML CLOSE;

ODS LISTING;

Best

Kasper

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Use

Title;

When you specify a character: " " then that becomes the title line.

Also to clear footnotes:

Footnote;

This actually works for levels. If you have assigned 8 titles and want to keep the first three lines, say they are common to a project, but don't want the remaining 5 for the next output:

Title4;

clears titles starting at the fourth line.

View solution in original post

3 REPLIES 3
ballardw
Super User

Use

Title;

When you specify a character: " " then that becomes the title line.

Also to clear footnotes:

Footnote;

This actually works for levels. If you have assigned 8 titles and want to keep the first three lines, say they are common to a project, but don't want the remaining 5 for the next output:

Title4;

clears titles starting at the fourth line.

bergsorensen
Calcite | Level 5

Perfect - thank you for the clarification.

Best

Kasper

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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