<?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>SR71Blackbird Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>SR71Blackbird Tracker</description>
    <pubDate>Sat, 09 May 2026 16:07:04 GMT</pubDate>
    <dc:date>2026-05-09T16:07:04Z</dc:date>
    <item>
      <title>Re: how to read in really messy data like this?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-in-really-messy-data-like-this/m-p/38760#M7813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello S Rvauri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for SAS programs as member in a PDS-file you have to use 80 chars of length, but for simple data in a flatfile you can use much more, I think about 32000 or so. Just try to allocate an extra file for the data on z/OS. &lt;/P&gt;&lt;P&gt;So "infile cards" won't be the preferred way, you should reference an external flat file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 09:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-read-in-really-messy-data-like-this/m-p/38760#M7813</guid>
      <dc:creator>SR71Blackbird</dc:creator>
      <dc:date>2012-03-21T09:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to read in really messy data like this?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-read-in-really-messy-data-like-this/m-p/38755#M7808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ZRick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just try this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename mydata "path to data\data.txt";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data mydata(drop=row i);&lt;BR /&gt;length ID $20 Date $15 Price 8;&lt;BR /&gt;infile mydata truncover lrecl=256;&lt;BR /&gt;input @1 row $256.;&lt;BR /&gt;ID = scan(row,1,' ');&lt;BR /&gt;i=2;&lt;BR /&gt;do while (Date ne '' or i=2);&lt;BR /&gt;Date = scan(row,i,' ');&lt;BR /&gt;if index(scan(row,i+1,' '),'/') then do;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i = i + 1;&lt;BR /&gt;end;&lt;BR /&gt;else do;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Price = input(scan(row,i+1,' '),12.);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if Price &amp;lt; 90 then Price = Price / 100;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i = i + 2;&lt;BR /&gt;end;&lt;BR /&gt;if Date ne '' then output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just remember that the parameter "lrecl=256" should be as long or longer than the longest row and the informat to variable "row" should be as long as this parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 09:07:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-read-in-really-messy-data-like-this/m-p/38755#M7808</guid>
      <dc:creator>SR71Blackbird</dc:creator>
      <dc:date>2012-03-21T09:07:53Z</dc:date>
    </item>
  </channel>
</rss>

