<?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: Creating a SAS table from a Flat File in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449569#M13864</link>
    <description>&lt;P&gt;Do you mean that you want to ignore the variable names in the first row and have SAS just assign variable names?&lt;/P&gt;
&lt;P&gt;Do you mean that your file doesn't have variable names in the first row?&lt;/P&gt;
&lt;P&gt;Do you mean that SAS is trying the read the variable names in the first row as part of the data?&lt;/P&gt;
&lt;P&gt;Or that you want to find the variable names in a later row?&amp;nbsp; Perhaps you are reading from some type of report that has&amp;nbsp;one or more report titles before the lines of data?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2018 04:11:19 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2018-03-29T04:11:19Z</dc:date>
    <item>
      <title>Creating a SAS table from a Flat File</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449440#M13860</link>
      <description>&lt;P&gt;I am trying to create a SAS table from a flat file while excluding headers. Currently I have set the writer to start on line two. However it still pulls my headers from line one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an easy solution to creating a SAS table from a flat file without reading in headers?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 17:59:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449440#M13860</guid>
      <dc:creator>MatthewKelley</dc:creator>
      <dc:date>2018-03-28T17:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SAS table from a Flat File</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449459#M13861</link>
      <description>&lt;P&gt;One suggestion: bypass the import task and simply submit the desired code. e.g., if it's 3 numeric columns:&lt;/P&gt;
&lt;PRE&gt;data want;
  infile '/folders/myfolders/testdata.txt' firstobs=2;
  input col1-col3;
run;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 18:52:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449459#M13861</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2018-03-28T18:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SAS table from a Flat File</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449476#M13862</link>
      <description>&lt;P&gt;Are you using DI Studio or SAS Base?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're using SAS BASE you can try the datarow option in PROC IMPORT or FIRSTOBS in a data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=p08ss3c3xtt2qzn1fsma45gyz333.htm&amp;amp;docsetVersion=1.0&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=p08ss3c3xtt2qzn1fsma45gyz333.htm&amp;amp;docsetVersion=1.0&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 19:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449476#M13862</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-03-28T19:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SAS table from a Flat File</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449493#M13863</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/199375"&gt;@MatthewKelley&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;If you're using SAS DI Studio then you need to define the first line to be read on the External File object as shown below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/19523i57155F065F4C9642/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Mar 2018 20:29:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449493#M13863</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-03-28T20:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SAS table from a Flat File</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449569#M13864</link>
      <description>&lt;P&gt;Do you mean that you want to ignore the variable names in the first row and have SAS just assign variable names?&lt;/P&gt;
&lt;P&gt;Do you mean that your file doesn't have variable names in the first row?&lt;/P&gt;
&lt;P&gt;Do you mean that SAS is trying the read the variable names in the first row as part of the data?&lt;/P&gt;
&lt;P&gt;Or that you want to find the variable names in a later row?&amp;nbsp; Perhaps you are reading from some type of report that has&amp;nbsp;one or more report titles before the lines of data?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 04:11:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/449569#M13864</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-03-29T04:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a SAS table from a Flat File</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/451288#M13918</link>
      <description>&lt;P&gt;Thank you all, I got it to read in properly.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 19:35:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Creating-a-SAS-table-from-a-Flat-File/m-p/451288#M13918</guid>
      <dc:creator>MatthewKelley</dc:creator>
      <dc:date>2018-04-04T19:35:41Z</dc:date>
    </item>
  </channel>
</rss>

