<?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 a 'messy' text file in sas in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-a-messy-text-file-in-sas/m-p/136565#M261175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide a sample of the data you are working with so that we can help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jul 2014 02:15:17 GMT</pubDate>
    <dc:creator>Scott_Mitchell</dc:creator>
    <dc:date>2014-07-25T02:15:17Z</dc:date>
    <item>
      <title>Reading a 'messy' text file in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-a-messy-text-file-in-sas/m-p/136564#M261174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a project where I need to create a sas data set from a messy text file. The issue is, I need to skip certain lines from the body of&amp;nbsp; text file. If I had to skip rows at the top 'firstobs' will take care of that and for skipping the rows at bottom 'obs' will help. How about skipping say 68th through 70th row and 100 through 110th row?&lt;/P&gt;&lt;P&gt;Any&amp;nbsp; help /suggestion would be highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 02:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-a-messy-text-file-in-sas/m-p/136564#M261174</guid>
      <dc:creator>rnmishra</dc:creator>
      <dc:date>2014-07-25T02:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a 'messy' text file in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-a-messy-text-file-in-sas/m-p/136565#M261175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide a sample of the data you are working with so that we can help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 02:15:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-a-messy-text-file-in-sas/m-p/136565#M261175</guid>
      <dc:creator>Scott_Mitchell</dc:creator>
      <dc:date>2014-07-25T02:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a 'messy' text file in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-a-messy-text-file-in-sas/m-p/136566#M261176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends a lot on the structure of the text file. Skipping specific lines could be as simple as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;input var1 var2...;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if _n_ in (68:70, 100:110) then delete;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 02:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-a-messy-text-file-in-sas/m-p/136566#M261176</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-07-25T02:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reading a 'messy' text file in sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-a-messy-text-file-in-sas/m-p/136567#M261177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks PGStat. This is exactly what I want right now. However the 'Messy' text file that I have to handle right now has lot more issues. Will get back to you if my research fail to give a desired outcome.&lt;/P&gt;&lt;P&gt;Thanks again for the help!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 02:28:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-a-messy-text-file-in-sas/m-p/136567#M261177</guid>
      <dc:creator>rnmishra</dc:creator>
      <dc:date>2014-07-25T02:28:09Z</dc:date>
    </item>
  </channel>
</rss>

