<?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: Examining the Log efficiently in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Examining-the-Log-efficiently/m-p/113183#M23351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider using a log parsing program to read this data from the log, and then report on it.&amp;nbsp; For example, &lt;A href="http://www2.sas.com/proceedings/sugi30/219-30.pdf" title="http://www2.sas.com/proceedings/sugi30/219-30.pdf"&gt;http://www2.sas.com/proceedings/sugi30/219-30.pdf&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Apr 2013 10:34:17 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2013-04-19T10:34:17Z</dc:date>
    <item>
      <title>Examining the Log efficiently</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Examining-the-Log-efficiently/m-p/113181#M23349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there an efficient way to examine the Log and see what data steps and procs are taking a long time? "Long time" for me means more than 60 seconds. My program is a couple of thousand of lines long, is run several times a day as I'm still in test phase, and it would be great if there were a way to go through it quickly to see what's taking the longest. My initial thought was to manually search for the word "minutes" in the log, but SAS reports data steps in seconds, e.g. "Data statement used ... real time 2:34.37" meaning two minutes and 34.37 seconds. It doesn't mention the word "seconds" if it takes longer than a minute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 09:28:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Examining-the-Log-efficiently/m-p/113181#M23349</guid>
      <dc:creator>mediaeval</dc:creator>
      <dc:date>2013-04-19T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Examining the Log efficiently</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Examining-the-Log-efficiently/m-p/113182#M23350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have prepared one SAS Code for it...It is saved in my laptop...but what i can suggest you ri8 nw is like you can directly see the execution time by using following code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let o_time = %sysfunc(datetime());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*--------------------------------------*/&lt;/P&gt;&lt;P&gt;YOUR SAS PROGRAMME&lt;/P&gt;&lt;P&gt;/*--------------------------------------*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let n_time = %sysfunc(datetime());&lt;/P&gt;&lt;P&gt;/*calculation of Total Execution Time*/&lt;BR /&gt;%let diff_T = %sysevalf(&amp;amp;n_time - &amp;amp;o_time);&lt;/P&gt;&lt;P&gt;%put "Total Execution Time is:";&lt;BR /&gt;%put "Total Execution Time" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %sysfunc(putn(%sysevalf(&amp;amp;n_time - &amp;amp;o_time), time8.));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Urvish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 10:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Examining-the-Log-efficiently/m-p/113182#M23350</guid>
      <dc:creator>UrvishShah</dc:creator>
      <dc:date>2013-04-19T10:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Examining the Log efficiently</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Examining-the-Log-efficiently/m-p/113183#M23351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider using a log parsing program to read this data from the log, and then report on it.&amp;nbsp; For example, &lt;A href="http://www2.sas.com/proceedings/sugi30/219-30.pdf" title="http://www2.sas.com/proceedings/sugi30/219-30.pdf"&gt;http://www2.sas.com/proceedings/sugi30/219-30.pdf&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 10:34:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Examining-the-Log-efficiently/m-p/113183#M23351</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2013-04-19T10:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Examining the Log efficiently</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Examining-the-Log-efficiently/m-p/113184#M23352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://www.sascommunity.org/wiki/Reading_job_logs" title="http://www.sascommunity.org/wiki/Reading_job_logs"&gt;http://www.sascommunity.org/wiki/Reading_job_logs&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 10:39:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Examining-the-Log-efficiently/m-p/113184#M23352</guid>
      <dc:creator>Ron_MacroMaven</dc:creator>
      <dc:date>2013-04-19T10:39:47Z</dc:date>
    </item>
  </channel>
</rss>

