<?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: Set function key to: clear Log, clear Results _Viewer_, run code. SAS 9.4 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/352374#M273662</link>
    <description>&lt;P&gt;HTML, yes.&lt;/P&gt;</description>
    <pubDate>Sat, 22 Apr 2017 02:24:07 GMT</pubDate>
    <dc:creator>hairlossmonkey</dc:creator>
    <dc:date>2017-04-22T02:24:07Z</dc:date>
    <item>
      <title>Set function key to: clear Log, clear Results _Viewer_, run code. SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/350402#M273657</link>
      <description>&lt;P&gt;I feel like this should be a lot easier to do than it has been (for me, so far).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to select a code chunk, hit a function key (or any set of keys really) and have it clear the Log, clear the Results Viewer*, then run my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*Whether or not this key-combe clears the long Results list is irrelevant to me, but I don't want the Results window to pop-up annoyingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried every combination on this page:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Clearing-Results-Viewer-in-9-3/td-p/53232" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Clearing-Results-Viewer-in-9-3/td-p/53232&lt;/A&gt;, but none of them work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get the Log to clear and run my code, but can't get the Results Viewer to clear, just as though I was pressing Control-E with the Results Viewer as the front-most window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 16 Apr 2017 23:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/350402#M273657</guid>
      <dc:creator>hairlossmonkey</dc:creator>
      <dc:date>2017-04-16T23:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set function key to: clear Log, clear Results _Viewer_, run code. SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/350407#M273658</link>
      <description>&lt;P&gt;What SAS client are you talking about: Enterprise Guide, SAS Display Manager, or SAS Studio? The post you link to will only work for SAS Display Manager AKA full SAS installed on your PC.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 00:00:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/350407#M273658</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-04-17T00:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set function key to: clear Log, clear Results _Viewer_, run code. SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/350410#M273659</link>
      <description>&lt;P&gt;And what output destination are you using, the default listing or HTML?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 00:38:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/350410#M273659</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-17T00:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set function key to: clear Log, clear Results _Viewer_, run code. SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/350423#M273660</link>
      <description>&lt;P&gt;This definition seems to work for me.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;odsresults ; clear ; output ; clear ; log ; clear ; wpgm ; end&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Apr 2017 02:38:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/350423#M273660</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-04-17T02:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set function key to: clear Log, clear Results _Viewer_, run code. SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/352373#M273661</link>
      <description>&lt;P&gt;Good question; sorry. Yes, full SAS on within a virtual machine.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 02:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/352373#M273661</guid>
      <dc:creator>hairlossmonkey</dc:creator>
      <dc:date>2017-04-22T02:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set function key to: clear Log, clear Results _Viewer_, run code. SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/352374#M273662</link>
      <description>&lt;P&gt;HTML, yes.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 02:24:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/352374#M273662</guid>
      <dc:creator>hairlossmonkey</dc:creator>
      <dc:date>2017-04-22T02:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set function key to: clear Log, clear Results _Viewer_, run code. SAS 9.4</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/352376#M273663</link>
      <description>&lt;P&gt;Thanks for the response!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This combo opens main Results window, leaves it visible, opens the Output window, and moves my other windows around. I just want the log and Results View cleared and the code run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to piece together this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;log; clear; odsresults; clear; odsresults; cancel; wpgm; submit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which mostly works. There's lots of movement and flashing of windows, but everything ends up mostly in the same place it started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any improvement possble?&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 02:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-function-key-to-clear-Log-clear-Results-Viewer-run-code-SAS/m-p/352376#M273663</guid>
      <dc:creator>hairlossmonkey</dc:creator>
      <dc:date>2017-04-22T02:35:57Z</dc:date>
    </item>
  </channel>
</rss>

