<?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: Write Task log to table in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Write-Task-log-to-table/m-p/336954#M22393</link>
    <description>&lt;P&gt;Use Proc printto to redirect the log to a file.&lt;/P&gt;
&lt;P&gt;Then read the file in a data step, filter for the interesting lines, and extract your data from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;make sure (by adding custom code to be run before every task) that&lt;/P&gt;
&lt;TABLE rules="all" border="1" cellpadding="2" cellspacing="2"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG&gt;_CLIENTTASKLABEL&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Label for the current task. This is the text label that is displayed in the project tree and the process flow.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;is written to the log before every task.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2017 12:12:25 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-03-01T12:12:25Z</dc:date>
    <item>
      <title>Write Task log to table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Write-Task-log-to-table/m-p/336943#M22392</link>
      <description>&lt;P&gt;I have a EG project with multiple process flows and various tasks (mostly query builders). Is there a way to compile the info from the various task logs into a table on a library?&amp;nbsp;I&amp;nbsp;only want certain information from the logs. I have the table structure already setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table contains the follwoing columns,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Process_Flow&lt;/EM&gt; - Name of the process flow in which the task is present&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Task&lt;/EM&gt; - Name of the task&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Nobs_Generated&lt;/EM&gt; - No. of recods generated as output of the task&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Real_Time&lt;/EM&gt; - Real time taken in seconds&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;CPU_Time&lt;/EM&gt; - CPU time taken in seconds&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:55:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Write-Task-log-to-table/m-p/336943#M22392</guid>
      <dc:creator>Arun_SP</dc:creator>
      <dc:date>2017-03-01T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Write Task log to table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Write-Task-log-to-table/m-p/336954#M22393</link>
      <description>&lt;P&gt;Use Proc printto to redirect the log to a file.&lt;/P&gt;
&lt;P&gt;Then read the file in a data step, filter for the interesting lines, and extract your data from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;make sure (by adding custom code to be run before every task) that&lt;/P&gt;
&lt;TABLE rules="all" border="1" cellpadding="2" cellspacing="2"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG&gt;_CLIENTTASKLABEL&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;Label for the current task. This is the text label that is displayed in the project tree and the process flow.&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;is written to the log before every task.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 12:12:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Write-Task-log-to-table/m-p/336954#M22393</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-01T12:12:25Z</dc:date>
    </item>
  </channel>
</rss>

