<?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 LRECL Strange! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/LRECL-Strange/m-p/35459#M7001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have to read row data file with line-width of 748.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In spite of using LRECL I cannot read beyond 728th column I cannot access as the pointer goes to the next line (the same had happened at the 256th on, before using LRECL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jul 2011 10:47:55 GMT</pubDate>
    <dc:creator>JAR</dc:creator>
    <dc:date>2011-07-22T10:47:55Z</dc:date>
    <item>
      <title>LRECL Strange!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LRECL-Strange/m-p/35459#M7001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I have to read row data file with line-width of 748.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In spite of using LRECL I cannot read beyond 728th column I cannot access as the pointer goes to the next line (the same had happened at the 256th on, before using LRECL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me, please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 10:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LRECL-Strange/m-p/35459#M7001</guid>
      <dc:creator>JAR</dc:creator>
      <dc:date>2011-07-22T10:47:55Z</dc:date>
    </item>
    <item>
      <title>LRECL Strange!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LRECL-Strange/m-p/35460#M7002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the LIST statement to get SAS to dump the input records to the log.&amp;nbsp; Then you can check for special characters like '0A'x (linefeed) that might be making SAS think that they line has ended.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have an embedded linefeed you can use the TERMSTR=CRLF option on the INFILE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another possibility is that the end of that line is empty.&amp;nbsp; You might try using the TRUNCOVER option.&amp;nbsp; Look at this thread.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://communities.sas.com/message/101557#101557"&gt;http://communities.sas.com/message/101557&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possibility is that the lines contain tab ('09'x) characters and that SAS is expanding the tabs into spaces.&amp;nbsp; This would make the input buffer longer as one tab might be expanded into upto 8 spaces.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 12:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LRECL-Strange/m-p/35460#M7002</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-07-22T12:12:02Z</dc:date>
    </item>
    <item>
      <title>LRECL Strange!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LRECL-Strange/m-p/35461#M7003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using any of the xxxOVER ﻿﻿infile options?&amp;nbsp; &lt;/P&gt;&lt;P&gt;The default is FLOWOVER which causes the behaviour you describe, when the infile buffer has not enough data to fill the informat(s) of an INPUT .&lt;/P&gt;&lt;P&gt;Check the informat length of the last column you read from the data file&lt;/P&gt;&lt;P&gt;for example, is it like&lt;/P&gt;&lt;P&gt;input &lt;/P&gt;&lt;P&gt; ....&lt;/P&gt;&lt;P&gt;&amp;nbsp; @730 string_variable $20. &lt;/P&gt;&lt;P&gt; ...&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;that would cause it !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 16:54:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LRECL-Strange/m-p/35461#M7003</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-07-25T16:54:20Z</dc:date>
    </item>
    <item>
      <title>LRECL Strange!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LRECL-Strange/m-p/35462#M7004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;I have used Tom's suggestion: TRUNCOVER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked fine. Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jijil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 13:07:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LRECL-Strange/m-p/35462#M7004</guid>
      <dc:creator>JAR</dc:creator>
      <dc:date>2011-07-28T13:07:41Z</dc:date>
    </item>
  </channel>
</rss>

