The SAS Output Delivery System and reporting techniques

Removing 'SAS Output' title from HTML pages

Reply
N/A
Posts: 0

Removing 'SAS Output' title from HTML pages

Hi,

Could you let me know how to remove 'SAS Output' title from the HTML pages generated using proc template/gplot/report.

Thank you!
SAS Employee
Posts: 174

Re: Removing 'SAS Output' title from HTML pages

The one-off way is to use the ODS HTML TITLE option, e.g.:
[pre]
ods html file="myfile.html" title="";
[/pre]
The more permanent way is to tweak the HTML tagset, e.g.:
[pre]
proc template;
define tagset tagsets.myHtml;
parent=tagsets.html4;

define event doc_title;
put "";<br> put VALUE;<br> put "" CR;
end;
end;
run;

ods tagsets.myhtml file="myfile.html";
[/pre]

-- David Kelley, SAS
SAS Employee
Posts: 174

Re: Removing 'SAS Output' title from HTML pages

A helpful coworker pointed out that the TITLE option needs parentheses, e.g.:
[pre]
ods html file="myfile.html" (title="");
[/pre]

-- David Kelley, SAS
N/A
Posts: 0

Re: Removing 'SAS Output' title from HTML pages

Thank so much for your quick response !
Ask a Question
Discussion stats
  • 3 replies
  • 149 views
  • 0 likes
  • 2 in conversation