<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ODS HTML - Frame file not working as expected in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/352969#M82346</link>
    <description>&lt;P&gt;The paths in the file end up being /folders/my shortcuts/.... which doesn't exist on your computer, when using SAS UE, so the body/content files aren't found. &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Apr 2017 18:23:15 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-04-24T18:23:15Z</dc:date>
    <item>
      <title>ODS HTML - Frame file not working as expected</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/352441#M82153</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got three html files.I am able to see table of contents and body file seperatly in a browser. But when I opened frame file I dint see anything. &amp;nbsp;It looks like a blank page when I opened it in IE. I am supposed to see body as well as table of contents embeded int it together. Why frame file is not working as expected in this case.&lt;/P&gt;
&lt;P&gt;Please some one help me with it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname learn xlsx '/folders/myshortcuts/s2/college.xlsx';

ods html body='body_sample.html'
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; contents='content_sample.html'
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;frame='frame_sample.html'
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;path='/folders/myshortcuts/s2/ODSOutput';
&amp;nbsp;
proc print data=learn.sheet1;
run;
&amp;nbsp;
proc means data=learn.sheet1 n mean min max;
run;
&amp;nbsp;
ods html close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 22 Apr 2017 17:45:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/352441#M82153</guid>
      <dc:creator>s_m</dc:creator>
      <dc:date>2017-04-22T17:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML - Frame file not working as expected</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/352457#M82158</link>
      <description>&lt;P&gt;I know why its happening but not howing to fix it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you create the file the paths to the body/contents file are '/folders/myfolders/' but that doesn't apply once you're out of the VM. It makes sense from SAS perspective and anyone working with SAS on a server will have the same issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could manually fix the frame page but that's not a good fix.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 17:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/352457#M82158</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-22T17:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML - Frame file not working as expected</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/352960#M82342</link>
      <description>&lt;P&gt;Try:&lt;/P&gt;
&lt;PRE&gt;ods html body='body_sample.html'
              contents='content_sample.html'
               frame='frame_sample.html'
               path='/folders/myshortcuts/s2/ODSOutput';
 
   ods html body='Print.html';
   proc print data=learn.sheet1;
   run;
   ods html body='means.html'; 
   proc means data=learn.sheet1 n mean min max;
   run;

ods html close;
&lt;/PRE&gt;
&lt;P&gt;Your main Body file likely doesn't contain any of the output. Create a separate html file for each group of tables/output you wish to see with a reference in the contents.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 18:14:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/352960#M82342</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-04-24T18:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML - Frame file not working as expected</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/352969#M82346</link>
      <description>&lt;P&gt;The paths in the file end up being /folders/my shortcuts/.... which doesn't exist on your computer, when using SAS UE, so the body/content files aren't found. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2017 18:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/352969#M82346</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-24T18:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML - Frame file not working as expected</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/400952#M97212</link>
      <description>&lt;P&gt;I got the same problem because I'm using SAS Studio. As I can't open my html files directly with a web broswer, I have to download them, but then the reference to the 2 html files in the frame.html are wrong.&amp;nbsp;&lt;BR /&gt;What's working for SAS Studio is the use of the URL suboption, allowing to use relative URLs. So as long as the files are in the same directory or storage location, it should work.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html FILE='/home/yourUsername/myfolder/data.html' (url = 'data.html')
	 CONTENTS='/home/yourUsername/myfolder/tabOfContent.html' (url = 'tabOfContent.html')&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;FRAME='/home/yourUsername/myfolder/frame.html';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 13:50:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-HTML-Frame-file-not-working-as-expected/m-p/400952#M97212</guid>
      <dc:creator>AudeP</dc:creator>
      <dc:date>2017-10-04T13:50:25Z</dc:date>
    </item>
  </channel>
</rss>

