<?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: LRECL=   help in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/LRECL-help/m-p/14379#M1821</link>
    <description>Hello Chandler.&lt;BR /&gt;
&lt;BR /&gt;
Is your file blocked or unblocked?&lt;BR /&gt;
&lt;BR /&gt;
Anyway, if your file is has a variable length record (delimited), you should specify the RECFM=V (or VB for blocked files) option and estimate LRECL has a value larger than the longest record that your expect to read.&lt;BR /&gt;
&lt;BR /&gt;
Check the online documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/chifoptfmain.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/chifoptfmain.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;</description>
    <pubDate>Tue, 10 Nov 2009 08:19:07 GMT</pubDate>
    <dc:creator>DanielSantos</dc:creator>
    <dc:date>2009-11-10T08:19:07Z</dc:date>
    <item>
      <title>LRECL=   help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LRECL-help/m-p/14378#M1820</link>
      <description>Can't find specific rules in the documentation on the use of LRECL=.  I don't know the record length of this comma delimited text file, I'm trying to read from the mainframe.  If I over estimate the record length, ie. LRECL=1900 when it actually is 1850, will that cause a problem when SAS is reading the file?</description>
      <pubDate>Mon, 09 Nov 2009 22:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LRECL-help/m-p/14378#M1820</guid>
      <dc:creator>chandler</dc:creator>
      <dc:date>2009-11-09T22:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: LRECL=   help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LRECL-help/m-p/14379#M1821</link>
      <description>Hello Chandler.&lt;BR /&gt;
&lt;BR /&gt;
Is your file blocked or unblocked?&lt;BR /&gt;
&lt;BR /&gt;
Anyway, if your file is has a variable length record (delimited), you should specify the RECFM=V (or VB for blocked files) option and estimate LRECL has a value larger than the longest record that your expect to read.&lt;BR /&gt;
&lt;BR /&gt;
Check the online documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/chifoptfmain.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hosto390/61886/HTML/default/chifoptfmain.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Cheers from Portugal.&lt;BR /&gt;
&lt;BR /&gt;
Daniel Santos @ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;</description>
      <pubDate>Tue, 10 Nov 2009 08:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LRECL-help/m-p/14379#M1821</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2009-11-10T08:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: LRECL=   help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/LRECL-help/m-p/14380#M1822</link>
      <description>You don't want to code LRECL= for an INFILE (not in mainframe JCL or SAS code) -- specify the INFILE parameter COLUM= and use its value (SAS maintains it) to detect where you are in your record for INPUT handling.  As Daniel mentioned, if the file is RECFM=V or VB, your records may be of varying length -- however if the file is RECFM=F or FB, you will need to consider whether or not to use techniques to detect the current non-blank values for your variables -- look at MISSOVER and TRUNCOVER options for INFILE.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 10 Nov 2009 14:16:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/LRECL-help/m-p/14380#M1822</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-11-10T14:16:10Z</dc:date>
    </item>
  </channel>
</rss>

