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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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