<?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: Reading in parts of a SAS log in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-parts-of-a-SAS-log/m-p/726897#M225949</link>
    <description>Why? Perhaps query the data set directly to find those cases instead?&lt;BR /&gt;&lt;BR /&gt;If you're looking for generic log parsers, try searching lexjansen.com for many written examples.</description>
    <pubDate>Tue, 16 Mar 2021 20:15:00 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-03-16T20:15:00Z</dc:date>
    <item>
      <title>Reading in parts of a SAS log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-parts-of-a-SAS-log/m-p/726895#M225947</link>
      <description>&lt;P&gt;Hi, I have a question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my SAS log, I there are many occurrences of the following text which is split over 2 lines for example.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: The above message was for the following BY group:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Unique Subject Identifier=ABCD-123-4567-ABC0001-027 DAGRPID=DA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This text is "buried" in other varying text, example below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: The ID value "XITDISP" occurs twice in the same BY group.&lt;BR /&gt;&lt;STRONG&gt;NOTE: The above message was for the following BY group:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Unique Subject Identifier=ABCD-123-4567-ABC0001-027 DAGRPID=DA&lt;/STRONG&gt;&lt;BR /&gt;ERROR: The ID value "XITDISP" occurs twice in the same BY group.&lt;BR /&gt;ERROR: The ID value "XITDISP" occurs twice in the same BY group.&lt;BR /&gt;ERROR: The ID value "XITDISP" occurs twice in the same BY group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to read in only the 2 lines I mention at the top of my post and store all of those in a data set. There are many occurrences of these 2 lines throughout my log file and the text above and below varies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be apreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 20:08:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-parts-of-a-SAS-log/m-p/726895#M225947</guid>
      <dc:creator>kalbo</dc:creator>
      <dc:date>2021-03-16T20:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reading in parts of a SAS log</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-in-parts-of-a-SAS-log/m-p/726897#M225949</link>
      <description>Why? Perhaps query the data set directly to find those cases instead?&lt;BR /&gt;&lt;BR /&gt;If you're looking for generic log parsers, try searching lexjansen.com for many written examples.</description>
      <pubDate>Tue, 16 Mar 2021 20:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-in-parts-of-a-SAS-log/m-p/726897#M225949</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-03-16T20:15:00Z</dc:date>
    </item>
  </channel>
</rss>

