<?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: SAS 9.3  Turn html back on in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46542#M12411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably can just simplify it even more with: &lt;/P&gt;&lt;P&gt;ods html path="%sysfunc(pathname(WORK))";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 19:20:21 GMT</pubDate>
    <dc:creator>gfarkas</dc:creator>
    <dc:date>2011-12-02T19:20:21Z</dc:date>
    <item>
      <title>SAS 9.3  Turn html back on</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46536#M12405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i submitted the following statement so that the default html output would clear with each procedure.&amp;nbsp; &lt;SPAN style="color: #008000; font-size: 10pt; font-family: Courier New;"&gt;ods html newfile=proc;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Courier New;"&gt;Now I can't turn it back on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 18:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46536#M12405</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2011-11-11T18:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3  Turn html back on</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46537#M12406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm not sure what you want to turn back on??? You might try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods _all_ close;&amp;nbsp; /* closes all open destinations */&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ods html;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* reopens the cumulative HTML file with default options*/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in order to turn the cumulative HTML file back on. Or, you can close SAS, reopen SAS and make sure that the Tools--&amp;gt;Options--&amp;gt;Preferences--&amp;gt;Results choices are set appropriately, as described here: &lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#p0sq3tdxedxfd1n1w8kjt6grcf4p.htm"&gt;http://support.sas.com/documentation/cdl/en/hostwin/63047/HTML/default/viewer.htm#p0sq3tdxedxfd1n1w8kjt6grcf4p.htm&lt;/A&gt; and here&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/43/911.html"&gt;http://support.sas.com/kb/43/911.html&lt;/A&gt; and here: &lt;A href="http://support.sas.com/kb/23/657.html"&gt;http://support.sas.com/kb/23/657.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, you can choose what I call the "full control" method, that gives you control over the location of your output and the name of the file(s) generated, by using an ODS "sandwich" explicitly. In the first example, 2 of the procedures will have their output sent to the &lt;STRONG style="color: #008000;"&gt;my_two_results.html &lt;/STRONG&gt;file and the 3rd procedure will go to a different location and file named &lt;STRONG style="color: #ff00ff;"&gt;reportNov.html &lt;/STRONG&gt;-- in this way, you know exactly how what output is being written and the location to which it is being written.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;ods _all_ close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; color: #008000;"&gt;&lt;STRONG&gt;ods html file='c:\temp\my_two_results.html';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc print data=sashelp.class;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;proc freq data=sashelp.shoes;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; tables region;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; color: #008000;"&gt;&lt;STRONG&gt;ods html close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; color: #ff00ff;"&gt;&lt;STRONG&gt;ods html file='q:\backup\reportNov.html';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; proc print data=sashelp.shoes;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier; color: #ff00ff;"&gt;&lt;STRONG&gt;ods html close;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2011 01:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46537#M12406</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-11-12T01:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3  Turn html back on</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46538#M12407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are trying to clear the HTML destination, here's one way to do it in SAS 9.3: &lt;A href="http://blogs.sas.com/content/iml/2011/08/29/how-to-clear-the-output-window-in-sas-9-3/"&gt;http://blogs.sas.com/content/iml/2011/08/29/how-to-clear-the-output-window-in-sas-9-3/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2011 19:23:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46538#M12407</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2011-11-12T19:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3  Turn html back on</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46539#M12408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If part of the issue is that restarting HTML output has files going into an "active" folder that isn't the one you want this may be of help. The first part of the code gets the location of the WORK library as a good place to put temporary files. Then the ODS HTML PATH= restarts HTML output and places the temporary HTML files in that library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang="EN"&gt;&lt;P&gt;proc sql noprint;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select trim(path) into :workpath from dictionary.libnames&lt;/P&gt;&lt;P&gt;where libname='WORK';&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;%let workpath=%trim(&amp;amp;workpath);&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ods html path="&amp;amp;workpath";&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 22:43:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46539#M12408</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-11-15T22:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3  Turn html back on</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46540#M12409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. ballardw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It could be more simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let workpath=%sysfunc(pathname(work));&lt;/P&gt;&lt;P&gt;%put &amp;amp;workpath;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 01:27:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46540#M12409</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-11-16T01:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3  Turn html back on</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46541#M12410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hadn't found the PATHNAME function. Thanks for pointing that out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2011 19:05:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46541#M12410</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-11-16T19:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS 9.3  Turn html back on</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46542#M12411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably can just simplify it even more with: &lt;/P&gt;&lt;P&gt;ods html path="%sysfunc(pathname(WORK))";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 19:20:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-9-3-Turn-html-back-on/m-p/46542#M12411</guid>
      <dc:creator>gfarkas</dc:creator>
      <dc:date>2011-12-02T19:20:21Z</dc:date>
    </item>
  </channel>
</rss>

