<?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 Knowing how long a query has been running? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Knowing-how-long-a-query-has-been-running/m-p/480044#M31141</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a heavy user of SAS EG and I am trying to figure out if there is a way to tell how long a query has been running while it is still running?&amp;nbsp; I have a Microsoft SQL background and in SSMS there is a query timer when you run one.&amp;nbsp; Just wondering if anyone has come up with a way to do that withing SAS, or PROC SQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jul 2018 19:30:22 GMT</pubDate>
    <dc:creator>elwayfan446</dc:creator>
    <dc:date>2018-07-20T19:30:22Z</dc:date>
    <item>
      <title>Knowing how long a query has been running?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Knowing-how-long-a-query-has-been-running/m-p/480044#M31141</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a heavy user of SAS EG and I am trying to figure out if there is a way to tell how long a query has been running while it is still running?&amp;nbsp; I have a Microsoft SQL background and in SSMS there is a query timer when you run one.&amp;nbsp; Just wondering if anyone has come up with a way to do that withing SAS, or PROC SQL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 19:30:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Knowing-how-long-a-query-has-been-running/m-p/480044#M31141</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2018-07-20T19:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Knowing how long a query has been running?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Knowing-how-long-a-query-has-been-running/m-p/480051#M31143</link>
      <description>&lt;P&gt;You&amp;nbsp;&lt;STRONG&gt;could&lt;A href="https://blogs.sas.com/content/sasdummy/2009/05/26/tracking-progress-in-sas-programs-in-sas-enterprise-guide/" target="_self"&gt; instrument your PROC SQL with a SYSECHO statement&lt;/A&gt;&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
 sysecho "Starting query at %sysfunc(datetime(),datetime20.)";
 create table foo
  as select 
    sleep(2,1) as a,
    * from sashelp.class;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Task status view:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="timer.png" style="width: 459px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21896i5B6DD1A5F7B65820/image-size/large?v=v2&amp;amp;px=999" role="button" title="timer.png" alt="timer.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 19:45:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Knowing-how-long-a-query-has-been-running/m-p/480051#M31143</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-07-20T19:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Knowing how long a query has been running?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Knowing-how-long-a-query-has-been-running/m-p/480052#M31144</link>
      <description>&lt;P&gt;That is a good idea.&amp;nbsp; I wish I would have thought of that before I started the one I am waiting on right now.&amp;nbsp; Ugh.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 19:48:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Knowing-how-long-a-query-has-been-running/m-p/480052#M31144</guid>
      <dc:creator>elwayfan446</dc:creator>
      <dc:date>2018-07-20T19:48:06Z</dc:date>
    </item>
  </channel>
</rss>

