<?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 Frame webpage not working with ods destination as html and table of contents webpage not working in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Frame-webpage-not-working-with-ods-destination-as-html-and-table/m-p/752639#M25099</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on this program that I have written. The program is to create a table of contents webpage with ods destination as html.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run this program, I do get a downloadable file with the names of the html webpages that I have created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of things do not run correctly from this program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, the frame webpage contains the body (output of print and means procedures) and the table of contents.&lt;/P&gt;&lt;P&gt;When I click on the table of contents meaning the links associated with the output of the procedure..it is giving me a blank page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, when I open the contents webpage, the table of contents are displayed correctly however when I click one each link to see the output of each procedure..it is showing me outputs of both procedures. This is not correct, because I should see the output of print procedure only when I click the print procedure link in the table of contents webpage..same goes for the other link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can help me in figuring out the solution..much appreciated. The name of the data set is called test_scores which is saved in a library named marchlib.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following program 19.2 (pg. 327) from the textbook named learning sas by example 2nd edition..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The program is below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;*create table of contents with ods html statement and options;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods html body='test_scores_Body.html'&lt;BR /&gt;contents = 'test_scores_Contents.html'&lt;BR /&gt;frame = 'test_scores_Frame.html'&lt;BR /&gt;path = "/home/u58138201/Practice/junelib_folder" (url=none);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*define proc print procedure;&lt;BR /&gt;title "Listing of Test_Scores";&lt;BR /&gt;title2 "Sample of HTML Outputs-all defaults";&lt;/P&gt;&lt;P&gt;proc print data=marchlib.test_scores;&lt;BR /&gt;id ID;&lt;BR /&gt;var Score1-Score3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*define proc means procedure;&lt;BR /&gt;title "Descriptive Statistics for Test_scores dataset";&lt;BR /&gt;proc means data=marchlib.test_scores n nmiss mean min max maxdec=2;&lt;BR /&gt;var Score1-Score3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*close html tag;&lt;BR /&gt;ods html close;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jul 2021 18:18:48 GMT</pubDate>
    <dc:creator>rhafsa</dc:creator>
    <dc:date>2021-07-07T18:18:48Z</dc:date>
    <item>
      <title>Frame webpage not working with ods destination as html and table of contents webpage not working</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Frame-webpage-not-working-with-ods-destination-as-html-and-table/m-p/752639#M25099</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on this program that I have written. The program is to create a table of contents webpage with ods destination as html.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run this program, I do get a downloadable file with the names of the html webpages that I have created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple of things do not run correctly from this program.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, the frame webpage contains the body (output of print and means procedures) and the table of contents.&lt;/P&gt;&lt;P&gt;When I click on the table of contents meaning the links associated with the output of the procedure..it is giving me a blank page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second, when I open the contents webpage, the table of contents are displayed correctly however when I click one each link to see the output of each procedure..it is showing me outputs of both procedures. This is not correct, because I should see the output of print procedure only when I click the print procedure link in the table of contents webpage..same goes for the other link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone can help me in figuring out the solution..much appreciated. The name of the data set is called test_scores which is saved in a library named marchlib.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following program 19.2 (pg. 327) from the textbook named learning sas by example 2nd edition..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The program is below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;*create table of contents with ods html statement and options;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods html body='test_scores_Body.html'&lt;BR /&gt;contents = 'test_scores_Contents.html'&lt;BR /&gt;frame = 'test_scores_Frame.html'&lt;BR /&gt;path = "/home/u58138201/Practice/junelib_folder" (url=none);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*define proc print procedure;&lt;BR /&gt;title "Listing of Test_Scores";&lt;BR /&gt;title2 "Sample of HTML Outputs-all defaults";&lt;/P&gt;&lt;P&gt;proc print data=marchlib.test_scores;&lt;BR /&gt;id ID;&lt;BR /&gt;var Score1-Score3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*define proc means procedure;&lt;BR /&gt;title "Descriptive Statistics for Test_scores dataset";&lt;BR /&gt;proc means data=marchlib.test_scores n nmiss mean min max maxdec=2;&lt;BR /&gt;var Score1-Score3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*close html tag;&lt;BR /&gt;ods html close;&lt;BR /&gt;ods listing;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 18:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Frame-webpage-not-working-with-ods-destination-as-html-and-table/m-p/752639#M25099</guid>
      <dc:creator>rhafsa</dc:creator>
      <dc:date>2021-07-07T18:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Frame webpage not working with ods destination as html and table of contents webpage not working</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Frame-webpage-not-working-with-ods-destination-as-html-and-table/m-p/755419#M25122</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I do not have the issue you report when I run a version of your program on my SAS OnDemand account. As you can see below, I am using a slightly modified version of your code to use SASHELP datasets to test the frame navigation file creation with ODS HTML:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1626800805959.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61432i04ED7BCB7988F66B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1626800805959.png" alt="Cynthia_sas_0-1626800805959.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After my code runs, I then need to download all 3 of the files to my local machine. To keep things easy for testing, I just downloaded all 3 files to my local C: drive Downloads folder, as shown below: I did not use your data or your file names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next I right-clicked on the FRAME.HTML file and clicked to open with Google Chrome.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_1-1626800976209.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61433i139C28CEA1CE4DAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_1-1626800976209.png" alt="Cynthia_sas_1-1626800976209.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All 3 files, BODY.HTML, TOC.HTML and FRAME.HTML must be in the same location folder when downloaded (and you can see them all in my Downloads folder). When Google Chrome opens, I see the normal FRAME displayed with the TOC.HTML file on the left panel and the BODY.HTML file displayed on the right side, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_2-1626801084741.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/61435i93044862C0E488A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_2-1626801084741.png" alt="Cynthia_sas_2-1626801084741.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you are going to move all 3 files to a web server, then keep in mind that all the files will need to be stored in the same folder on the server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you continue to have issues with your frames and ODS HTML, you might need to open a track with SAS Technical Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 17:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Frame-webpage-not-working-with-ods-destination-as-html-and-table/m-p/755419#M25122</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-07-20T17:14:35Z</dc:date>
    </item>
  </channel>
</rss>

