<?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: SAS opening files with .log extensions in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-opening-files-with-log-extensions/m-p/146298#M297323</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you're asking this question because you want to automatically scan SAS logs for certain messages. As &lt;A __default_attr="260198" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; states SAS logs are text files so it's easy to read them. It can be more challenging though to parse the log and extract the information you're after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is quite a lot of information in SAS Notes and Whitepapers around dealing with information retrieval from SAS logs and I suggest that you invest some kind in researching what's already around before starting to spend too much time with coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below only 2 links which might be useful for you:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/34/301.html" title="http://support.sas.com/kb/34/301.html"&gt;34301 - Parse SAS&amp;amp;reg; Logs to Extract Performance and Timing Information&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p0sf63lx4fs2m5n14qv1bn8p863v.htm" title="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p0sf63lx4fs2m5n14qv1bn8p863v.htm"&gt;Base SAS(R) 9.3 Procedures Guide, Second Edition&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Aug 2014 02:22:31 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2014-08-02T02:22:31Z</dc:date>
    <item>
      <title>SAS opening files with .log extensions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-opening-files-with-log-extensions/m-p/146296#M297321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fiHi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can SAS open files with .log extensions using &lt;SPAN style="text-decoration: underline;"&gt;infile&lt;/SPAN&gt; OR do i have to convert it to .txt (or .csv)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 21:08:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-opening-files-with-log-extensions/m-p/146296#M297321</guid>
      <dc:creator>jgautreau</dc:creator>
      <dc:date>2014-08-01T21:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS opening files with .log extensions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-opening-files-with-log-extensions/m-p/146297#M297322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS log files are pretty much plain text so treat them as such. The extension doesn't matter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 21:16:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-opening-files-with-log-extensions/m-p/146297#M297322</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-08-01T21:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS opening files with .log extensions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-opening-files-with-log-extensions/m-p/146298#M297323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you're asking this question because you want to automatically scan SAS logs for certain messages. As &lt;A __default_attr="260198" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; states SAS logs are text files so it's easy to read them. It can be more challenging though to parse the log and extract the information you're after.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is quite a lot of information in SAS Notes and Whitepapers around dealing with information retrieval from SAS logs and I suggest that you invest some kind in researching what's already around before starting to spend too much time with coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below only 2 links which might be useful for you:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/kb/34/301.html" title="http://support.sas.com/kb/34/301.html"&gt;34301 - Parse SAS&amp;amp;reg; Logs to Extract Performance and Timing Information&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p0sf63lx4fs2m5n14qv1bn8p863v.htm" title="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p0sf63lx4fs2m5n14qv1bn8p863v.htm"&gt;Base SAS(R) 9.3 Procedures Guide, Second Edition&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Aug 2014 02:22:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-opening-files-with-log-extensions/m-p/146298#M297323</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-08-02T02:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS opening files with .log extensions</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-opening-files-with-log-extensions/m-p/146299#M297324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you - both response were helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 21:15:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-opening-files-with-log-extensions/m-p/146299#M297324</guid>
      <dc:creator>jgautreau</dc:creator>
      <dc:date>2014-08-04T21:15:40Z</dc:date>
    </item>
  </channel>
</rss>

