<?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 ODS HTML saving to folder outside of SAS without telling it to. in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326835#M17776</link>
    <description>&lt;P&gt;Hello SAS Community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My SAS program seems to always save my html output to the folder outside of SAS which contains my program. Over time these html files accumulate and become a nuisance, overcrowding my folders. I would really like to stop SAS from exporting these html files, while keeping my ability to view the html results in SAS as I am running my procedures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I use the following code to clear out my html output files:&lt;/P&gt;&lt;P&gt;ODS HTML CLOSE; ODS HTML;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this may have inadvertantly caused the issue. I can go into my results preferences and paste a destination path for the output to be sent to, however, I don't want to have to do that everytime I open SAS. I would prefer to just use some code that prevents SAS from exporting the files. Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2017 20:23:00 GMT</pubDate>
    <dc:creator>Rsnead91</dc:creator>
    <dc:date>2017-01-23T20:23:00Z</dc:date>
    <item>
      <title>ODS HTML saving to folder outside of SAS without telling it to.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326835#M17776</link>
      <description>&lt;P&gt;Hello SAS Community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My SAS program seems to always save my html output to the folder outside of SAS which contains my program. Over time these html files accumulate and become a nuisance, overcrowding my folders. I would really like to stop SAS from exporting these html files, while keeping my ability to view the html results in SAS as I am running my procedures.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I use the following code to clear out my html output files:&lt;/P&gt;&lt;P&gt;ODS HTML CLOSE; ODS HTML;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this may have inadvertantly caused the issue. I can go into my results preferences and paste a destination path for the output to be sent to, however, I don't want to have to do that everytime I open SAS. I would prefer to just use some code that prevents SAS from exporting the files. Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ryan&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:23:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326835#M17776</guid>
      <dc:creator>Rsnead91</dc:creator>
      <dc:date>2017-01-23T20:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML saving to folder outside of SAS without telling it to.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326838#M17777</link>
      <description>&lt;P&gt;When you define ODS HTML precede it by filenmae like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;filename myhtm '...any path..any name.html';&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ODS HTML file=&lt;/STRONG&gt;myhtm;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:32:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326838#M17777</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-01-23T20:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML saving to folder outside of SAS without telling it to.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326839#M17778</link>
      <description>&lt;P&gt;Since you are closing and then reopening the ODS HTML without a PATH option it sends the output to someplace active in the session and defaulting to the place your are working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you may want to specify a PATH for output that you like.&lt;/P&gt;
&lt;P&gt;I have a macro that resets the ods path to the work library so it can get cleaned up:&lt;/P&gt;
&lt;PRE&gt;%macro resetHtml;
%let workpath= %sysfunc(getoption (work));
ods html path="&amp;amp;workpath" newfile=proc;
%mend;
&lt;/PRE&gt;
&lt;P&gt;So I can use %resethtml; in code to send output there when reopening the HTML destination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326839#M17778</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-23T20:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML saving to folder outside of SAS without telling it to.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326849#M17779</link>
      <description>Thank you for your suggestion.&lt;BR /&gt;&lt;BR /&gt;Is there a path to the SAS WORK library that I could use?</description>
      <pubDate>Mon, 23 Jan 2017 21:02:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326849#M17779</guid>
      <dc:creator>Rsnead91</dc:creator>
      <dc:date>2017-01-23T21:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML saving to folder outside of SAS without telling it to.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326850#M17780</link>
      <description>Thank you for your suggestion.&lt;BR /&gt;&lt;BR /&gt;I tried out the macro, but my files still seem to be saving in the active folder outside of SAS.</description>
      <pubDate>Mon, 23 Jan 2017 21:02:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326850#M17780</guid>
      <dc:creator>Rsnead91</dc:creator>
      <dc:date>2017-01-23T21:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML saving to folder outside of SAS without telling it to.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326851#M17781</link>
      <description>Nevermind! I realized that I wasn't placing the macro in the correct location in my code. It works now.&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Mon, 23 Jan 2017 21:06:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-saving-to-folder-outside-of-SAS-without-telling-it-to/m-p/326851#M17781</guid>
      <dc:creator>Rsnead91</dc:creator>
      <dc:date>2017-01-23T21:06:10Z</dc:date>
    </item>
  </channel>
</rss>

