<?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 stimer informat in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/stimer-informat/m-p/398811#M25636</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use stimer informat to read the time of a log file into a dataset and of course transform the real time and cpu time into seconds in order to class the procedure based on their execution time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could some one give me an example that will help me to read the time of the log file how could have one of the following format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;ss.ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;mm:ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;mm:ss.ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;hh:mm:ss.ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;Alain&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Sep 2017 14:21:52 GMT</pubDate>
    <dc:creator>alepage</dc:creator>
    <dc:date>2017-09-26T14:21:52Z</dc:date>
    <item>
      <title>stimer informat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/stimer-informat/m-p/398811#M25636</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to use stimer informat to read the time of a log file into a dataset and of course transform the real time and cpu time into seconds in order to class the procedure based on their execution time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could some one give me an example that will help me to read the time of the log file how could have one of the following format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;ss.ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;mm:ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;mm:ss.ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;hh:mm:ss.ss&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="emph"&gt;Alain&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 14:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/stimer-informat/m-p/398811#M25636</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2017-09-26T14:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: stimer informat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/stimer-informat/m-p/398842#M25637</link>
      <description>&lt;P&gt;I am not sure what your question is. The STIMER informat will read data in the forms you listed.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  infile cards dsd truncover;
  input type :$11. raw :$11. expect;
  informat expect time. ;
  stimer=input(raw,stimer11.);
  format stimer expect time12.2 ;
cards;
ss,10,0:0:10.0
ss.ss,12.12,0:0:12.12
mm:ss,20:20,0:20:20.0
mm:ss.ss,30:30.30,0:30:30.30
hh:mm:ss.ss,40:40:40.40,40:40:40.40
;

proc print;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 317px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15428i4E1904BD392163A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2017 15:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/stimer-informat/m-p/398842#M25637</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-09-26T15:31:09Z</dc:date>
    </item>
  </channel>
</rss>

