<?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: How to find the record length of a mainframe file using SAS? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303060#M64337</link>
    <description>&lt;P&gt;If you read it in using _infile_ you should get the RECL in the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's a fixed format file, you'll need a standards doc though otherwise parsing it out is going to be a pain in the neck.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2016 22:24:34 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-10-06T22:24:34Z</dc:date>
    <item>
      <title>How to find the record length of a mainframe file using SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303044#M64333</link>
      <description>&lt;P&gt;I'm trying to access&amp;nbsp;a mainfram file(Fixed format file) in SAS. Is there an option to get the record length of the file?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 21:15:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303044#M64333</guid>
      <dc:creator>aswinappus</dc:creator>
      <dc:date>2016-10-06T21:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the record length of a mainframe file using SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303060#M64337</link>
      <description>&lt;P&gt;If you read it in using _infile_ you should get the RECL in the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's a fixed format file, you'll need a standards doc though otherwise parsing it out is going to be a pain in the neck.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 22:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303060#M64337</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-06T22:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the record length of a mainframe file using SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303078#M64339</link>
      <description>If the file is catalogued, the LRECL should be available from the system catalog.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Fri, 07 Oct 2016 01:04:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303078#M64339</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-10-07T01:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the record length of a mainframe file using SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303111#M64352</link>
      <description>&lt;P&gt;Fixed format files do have a structure in the program that created them. Most often, that structure is not kept within the program, but an external include file. Get hold of that include file, and use it to write your data step. After you have accounted for all variables, add the lengths of the used formats.&lt;/P&gt;
&lt;P&gt;This is a major part of my work, as my source data comes from DB/2 running on a virtual MF environment on Linux.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 07:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303111#M64352</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-07T07:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the record length of a mainframe file using SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303224#M64376</link>
      <description>&lt;P&gt;Thanks!, But, did you mean to use the copybook of the mainframe file?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 17:09:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303224#M64376</guid>
      <dc:creator>aswinappus</dc:creator>
      <dc:date>2016-10-07T17:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the record length of a mainframe file using SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303228#M64377</link>
      <description>&lt;P&gt;Yes, it is a fixed format file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2016 17:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303228#M64377</guid>
      <dc:creator>aswinappus</dc:creator>
      <dc:date>2016-10-07T17:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the record length of a mainframe file using SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303353#M64424</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/108818"&gt;@aswinappus&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thanks!, But, did you mean to use the copybook of the mainframe file?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't know what you mean by copybook in this context. Our external file strcutures are kept as PL/1 include files.&lt;/P&gt;
&lt;P&gt;The easiest way to get the metadata of mainframe files is to log on to the mainframe and use the ISPF/PDF services from TSO to display file information.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 07:57:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303353#M64424</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-08T07:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the record length of a mainframe file using SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303387#M64431</link>
      <description>HI:&lt;BR /&gt;  If you have COBOL copybooks you might research an older routine called "COB2SAS" that could take a COBOL file definition and turn it into a SAS INPUT statement for the purpose of reading a file created with COBOL into SAS format. &lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Sat, 08 Oct 2016 18:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-the-record-length-of-a-mainframe-file-using-SAS/m-p/303387#M64431</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-10-08T18:26:21Z</dc:date>
    </item>
  </channel>
</rss>

