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
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
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
Thanks for your help. It worked;
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.