BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
learn_SAS_23
Quartz | Level 8

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;

1 ACCEPTED SOLUTION

Accepted Solutions
learn_SAS_23
Quartz | Level 8

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);

View solution in original post

4 REPLIES 4
PaigeMiller
Diamond | Level 26

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.

--
Paige Miller
learn_SAS_23
Quartz | Level 8

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'

learn_SAS_23
Quartz | Level 8

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);

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 4 replies
  • 2683 views
  • 0 likes
  • 3 in conversation