<?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: Clear log, clear output, close all viewtables and then submit the script in one key in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Clear-log-clear-output-close-all-viewtables-and-then-submit-the/m-p/526131#M143219</link>
    <description>&lt;P&gt;The VT window has it's own KEYS entry so I don't think you are going to be able to submit commands to the VT window from the main Keys that are not related to the initial opening of the VT window.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jan 2019 17:55:23 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-01-10T17:55:23Z</dc:date>
    <item>
      <title>Clear log, clear output, close all viewtables and then submit the script in one key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clear-log-clear-output-close-all-viewtables-and-then-submit-the/m-p/526120#M143216</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to clear log, clear output, close all viewtable and run the script in one key (dmkey)?&lt;/P&gt;&lt;P&gt;I currently define my F3 as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;clear log; clear output; submit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which is not able to close all viewtables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 17:11:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clear-log-clear-output-close-all-viewtables-and-then-submit-the/m-p/526120#M143216</guid>
      <dc:creator>skcussas</dc:creator>
      <dc:date>2019-01-10T17:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Clear log, clear output, close all viewtables and then submit the script in one key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clear-log-clear-output-close-all-viewtables-and-then-submit-the/m-p/526131#M143219</link>
      <description>&lt;P&gt;The VT window has it's own KEYS entry so I don't think you are going to be able to submit commands to the VT window from the main Keys that are not related to the initial opening of the VT window.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 17:55:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clear-log-clear-output-close-all-viewtables-and-then-submit-the/m-p/526131#M143219</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-10T17:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Clear log, clear output, close all viewtables and then submit the script in one key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clear-log-clear-output-close-all-viewtables-and-then-submit-the/m-p/526132#M143220</link>
      <description>&lt;P&gt;You could just hard code a number of them.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;clear log; clear output; next viewtable; end; next viewtable; end; pgm ; submit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You might have to experiment with a command macro to see if you could get it to figure how many need to close.&amp;nbsp; Also might need to change the PGM command if you are using PC-SAS and the Enhanced (sic) Editor.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 18:03:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clear-log-clear-output-close-all-viewtables-and-then-submit-the/m-p/526132#M143220</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-01-10T18:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Clear log, clear output, close all viewtables and then submit the script in one key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Clear-log-clear-output-close-all-viewtables-and-then-submit-the/m-p/526149#M143226</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;You could just hard code a number of them.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;clear log; clear output; next viewtable; end; next viewtable; end; pgm ; submit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You might have to experiment with a command macro to see if you could get it to figure how many need to close.&amp;nbsp; Also might need to change the PGM command if you are using PC-SAS and the Enhanced (sic) Editor.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I needed to use&lt;/P&gt;
&lt;PRE&gt;log; clear; output; clear; next viewtable; end;&lt;/PRE&gt;
&lt;P&gt;to clear the log and output. And yes WPGM instead of PGM for enhanced editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 18:44:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Clear-log-clear-output-close-all-viewtables-and-then-submit-the/m-p/526149#M143226</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-10T18:44:39Z</dc:date>
    </item>
  </channel>
</rss>

