<?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: Record execution time into a dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10562#M843</link>
    <description>You can use proc printto to redirect log into a txt file, then write some code to get information needed.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
    <pubDate>Fri, 10 Jun 2011 02:40:33 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2011-06-10T02:40:33Z</dc:date>
    <item>
      <title>Record execution time into a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10560#M841</link>
      <description>A user can get real time &amp;amp; cpu time info for a proc/data step in the SAS log. But if a program contain many proc/data steps, reading the log to obtain the execution time info become a horrible task. I wonder if there is any way to automatically record the execution time into a SAS dataset with the following layout:&lt;BR /&gt;
&lt;BR /&gt;
step                   real_time        cpu_time&lt;BR /&gt;
DATA                   1.32              0.88&lt;BR /&gt;
PROCEDURE              0.44              0.10&lt;BR /&gt;
PROCEDURE              2.18              0.45&lt;BR /&gt;
.....</description>
      <pubDate>Thu, 09 Jun 2011 21:52:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10560#M841</guid>
      <dc:creator>MarcTC</dc:creator>
      <dc:date>2011-06-09T21:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Record execution time into a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10561#M842</link>
      <description>You can use proc printto to redirect log into a txt file, then write some code to get information needed.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Fri, 10 Jun 2011 02:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10561#M842</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-06-10T02:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Record execution time into a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10562#M843</link>
      <description>You can use proc printto to redirect log into a txt file, then write some code to get information needed.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Fri, 10 Jun 2011 02:40:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10562#M843</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-06-10T02:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Record execution time into a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10563#M844</link>
      <description>Instead of parsing the log file, I would recommend using the Application Response&lt;BR /&gt;
Measurement (ARM) API. This &lt;A href="http://www.listserv.uga.edu/cgi-bin/wa?A2=ind1012C&amp;amp;L=sas-l&amp;amp;P=R23228"&gt;sas-l posting&lt;/A&gt; with links may help.&lt;BR /&gt;
The reference manual is &lt;A href="http://support.sas.com/documentation/cdl/en/armref/61526/PDF/default/armref.pdf"&gt;here&lt;/A&gt;.</description>
      <pubDate>Fri, 10 Jun 2011 15:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10563#M844</guid>
      <dc:creator>chang_y_chung_hotmail_com</dc:creator>
      <dc:date>2011-06-10T15:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Record execution time into a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10564#M845</link>
      <description>Thanks Ksharp &amp;amp; Guru Chung for your input!</description>
      <pubDate>Fri, 10 Jun 2011 17:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10564#M845</guid>
      <dc:creator>MarcTC</dc:creator>
      <dc:date>2011-06-10T17:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Record execution time into a dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10565#M846</link>
      <description>This paper might be of interest to you.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi30/219-30.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi30/219-30.pdf&lt;/A&gt;</description>
      <pubDate>Mon, 13 Jun 2011 10:16:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Record-execution-time-into-a-dataset/m-p/10565#M846</guid>
      <dc:creator>polingjw</dc:creator>
      <dc:date>2011-06-13T10:16:50Z</dc:date>
    </item>
  </channel>
</rss>

