Hi ,
am trying to create a HTML Page through SAS, But when i opened HTML_FRAME.html , am seeing a blank screen
ODS HTML PATH='C:\test\'
file='HTML_FILE.html'
contents='HTML_CONTENTS.html'
frame='HTML_FRAME.html';
ODS PROCLABEL 'TOC Title – First Proc ';
proc print data=sales;
var region state sales;
run;
ODS PROCLABEL 'TOC Title – Second Proc';
proc means data=sales mean sum;
class region ;
format region $test.;
var sales;
run;
ODS HTML close;
Thanks for your reply ,
i tried with URL option , But still am getting the same error (Page cannot be displayed) when i tried to open frame page.
ods html
/* specify locations of HTML files */
body='external_file.HTML' (URL='external_file.HTML')
page='na_body.HTML' (URL='na_body.HTML')
contents='examplc.htmL' (URL='examplc.htmL')
frame='examplf.htmL' (URL='examplf.htmL')
PATH='C:/Execution/Extract/'(url=none);
The first thing to do is to check your SASLOG and then make sure there are no WARNINGs or ERRORs. If there are such WARNINGs or ERRORs then you need to fix them.
Thanks for your quick reply,
There are no errors in my log, i can able to see the output in another two files such as but can't able to load combined output in frame file 'HTML_FRAME.html'. am getting page cannot be displayed message, and all the three files are in same path.
file='HTML_FILE.html'
contents='HTML_CONTENTS.html'
Check this similar post https://communities.sas.com/t5/Base-SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/td-p...
Thanks for your reply ,
i tried with URL option , But still am getting the same error (Page cannot be displayed) when i tried to open frame page.
ods html
/* specify locations of HTML files */
body='external_file.HTML' (URL='external_file.HTML')
page='na_body.HTML' (URL='na_body.HTML')
contents='examplc.htmL' (URL='examplc.htmL')
frame='examplf.htmL' (URL='examplf.htmL')
PATH='C:/Execution/Extract/'(url=none);
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.