The SAS Output Delivery System and reporting techniques

Need Help - how to change window title text from 'SAS Output' to custom text?

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

Need Help - how to change window title text from 'SAS Output' to custom text?

Hello,

We would like to change default 'SAS Output' text that is displayed as Window title to some custom text .

We use following code to output to html files;  the macro loops through several time to create html file for each product (creating hundreds of files) that contains table.  The report uses custom template created using proc template.

ODS html file="test.htm" (url=none)

         style = tabledata2;

ods html close;

I tried to add Options(title='test.txt') stamen before style=tabledata2, but it does not work.  Do I have to make change in Proc template?  if so, in what container and what stamen?

Any help is appreciated.

Thanks


Accepted Solutions
Solution
‎06-29-2015 05:00 PM
SAS Super FREQ
Posts: 8,721

Re: Need Help - how to change window title text from 'SAS Output' to custom text?

Hi:

  It was my understanding the you do not need options() for the TITLE with ODS HTML. Just this:

ods html file='c:\temp\use_title.html' (title='Wombat');

proc print data=sashelp.class;

run;

ods html close;

cynthia

Here's an example from the doc for the use of TITLE= -- it is a suboption and known to HTML -- doesn't need the word "options" in front of the parentheses. There are a few other suboptions that are specific to HTML, like (DYNAMIC) or (NO_TOP_MATTER) or (URL=), etc.

SAS(R) 9.4 Output Delivery System: User's Guide, Third Edition

View solution in original post


All Replies
Solution
‎06-29-2015 05:00 PM
SAS Super FREQ
Posts: 8,721

Re: Need Help - how to change window title text from 'SAS Output' to custom text?

Hi:

  It was my understanding the you do not need options() for the TITLE with ODS HTML. Just this:

ods html file='c:\temp\use_title.html' (title='Wombat');

proc print data=sashelp.class;

run;

ods html close;

cynthia

Here's an example from the doc for the use of TITLE= -- it is a suboption and known to HTML -- doesn't need the word "options" in front of the parentheses. There are a few other suboptions that are specific to HTML, like (DYNAMIC) or (NO_TOP_MATTER) or (URL=), etc.

SAS(R) 9.4 Output Delivery System: User's Guide, Third Edition

New Contributor
Posts: 3

Re: Need Help - how to change window title text from 'SAS Output' to custom text?

Thanks for your help.  It worked; 

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 529 views
  • 0 likes
  • 2 in conversation