<?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 Looking for the Proper Informat in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-the-Proper-Informat/m-p/643414#M192014</link>
    <description>&lt;P&gt;I have a very long program, that is taking too long. I figured I would read the LOG back into a data step to search for the steps where the elapsed time is high. In the LOG, you get lines such as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;      real time           0.02 seconds
      real time        1:16.09 seconds&lt;/PRE&gt;
&lt;P&gt;so the first step of the program took 2 one-hundredths of a second, while the second step took one minute, 16 and 9/100 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to read this in so that the numerical part is recognized as actual times? To simplify even further, here's some relevant code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data a;
input string $ 1-10;
elapsed_time = input(string,time10.2);
cards;
0.02
1:16.09
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but this seems to turn the 0.02 from the first line into 120 seconds or 2 minutes. The second line isn't converted at all by the informat. What is the proper informat to use here? I want the first line to be converted to 0.02 seconds, and the second line to be converted to 1 minute, 16.09 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 20:06:22 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-04-27T20:06:22Z</dc:date>
    <item>
      <title>Looking for the Proper Informat</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-the-Proper-Informat/m-p/643414#M192014</link>
      <description>&lt;P&gt;I have a very long program, that is taking too long. I figured I would read the LOG back into a data step to search for the steps where the elapsed time is high. In the LOG, you get lines such as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;      real time           0.02 seconds
      real time        1:16.09 seconds&lt;/PRE&gt;
&lt;P&gt;so the first step of the program took 2 one-hundredths of a second, while the second step took one minute, 16 and 9/100 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to read this in so that the numerical part is recognized as actual times? To simplify even further, here's some relevant code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data a;
input string $ 1-10;
elapsed_time = input(string,time10.2);
cards;
0.02
1:16.09
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but this seems to turn the 0.02 from the first line into 120 seconds or 2 minutes. The second line isn't converted at all by the informat. What is the proper informat to use here? I want the first line to be converted to 0.02 seconds, and the second line to be converted to 1 minute, 16.09 seconds.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 20:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-the-Proper-Informat/m-p/643414#M192014</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-27T20:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for the Proper Informat</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-the-Proper-Informat/m-p/643417#M192015</link>
      <description>&lt;P&gt;I think you want the STIMER. informat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Read times in the format as written to the Log from the documentation.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 20:19:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-the-Proper-Informat/m-p/643417#M192015</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-04-27T20:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for the Proper Informat</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-the-Proper-Informat/m-p/643418#M192016</link>
      <description>&lt;P&gt;Great Caesar's Ghost! You are correct! I never heard of STIMER before. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 20:27:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-the-Proper-Informat/m-p/643418#M192016</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-27T20:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for the Proper Informat</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Looking-for-the-Proper-Informat/m-p/643423#M192019</link>
      <description>&lt;P&gt;My suggestion is always to consult the SAS documentation, or some reference document. For example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=leforinforref&amp;amp;docsetTarget=n0p2fmevfgj470n17h4k9f27qjag.htm&amp;amp;docsetVersion=9.4" target="_self"&gt;Formats&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=leforinforref&amp;amp;docsetTarget=n0verk17pchh4vn1akrrv0b5w3r0.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Informats&lt;/A&gt;:&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 21:09:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Looking-for-the-Proper-Informat/m-p/643423#M192019</guid>
      <dc:creator>dcmacedo</dc:creator>
      <dc:date>2020-04-27T21:09:02Z</dc:date>
    </item>
  </channel>
</rss>

