<?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: use first row as name and start the data from third row in proc import function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/469037#M119897</link>
    <description>&lt;P&gt;Post the log. Anytime something "does not work", post the log. Use the {i} button to preserve formatting.&lt;/P&gt;</description>
    <pubDate>Sun, 10 Jun 2018 16:21:19 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-06-10T16:21:19Z</dc:date>
    <item>
      <title>use first row as name and start the data from third row in proc import function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/468987#M119867</link>
      <description>&lt;P&gt;Dear Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am importing text file to SAS format. I want to use first row as name and start the data from third row. I am using the following code. It is not happening:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile='H:\Seminar Class\Banking Seminar\Data by me\Bank Call Report\FFIEC data\FFIEC CDR Call Bulk All Schedules 03312011/FFIEC CDR Call Bulk POR 03312011.txt'&lt;BR /&gt;out=POR0311 dbms=dlm replace;&lt;BR /&gt;datarow=2; delimiter='09'x;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 06:58:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/468987#M119867</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2018-06-10T06:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: use first row as name and start the data from third row in proc import function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/469037#M119897</link>
      <description>&lt;P&gt;Post the log. Anytime something "does not work", post the log. Use the {i} button to preserve formatting.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 16:21:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/469037#M119897</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-10T16:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: use first row as name and start the data from third row in proc import function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/469062#M119908</link>
      <description>&lt;P&gt;it says 'datarow=2', but you want to start at row 3. Usually it is not recommended to modify the data source but why not just remove the 2nd row from the txt file and run the code again?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 22:16:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/469062#M119908</guid>
      <dc:creator>pau13rown</dc:creator>
      <dc:date>2018-06-10T22:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: use first row as name and start the data from third row in proc import function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/469070#M119910</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/143540"&gt;@nazmul&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;If you want to read the data starting in row 3 then instruct SAS to do so by setting &lt;EM&gt;datarow=3&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile='c:\temp\test.txt'
  out=POR0311 
  dbms=dlm replace;
  datarow=3
  ;
  delimiter='09'x;
  getnames=yes;
  guessingrows=max;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If Proc Import can't fully do what you need then you can also always copy/paste the generated data step from the log into a code window and then amend this data step as you need it. This gives you full flexibility.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 01:40:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/469070#M119910</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-06-11T01:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: use first row as name and start the data from third row in proc import function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/469100#M119931</link>
      <description>Thank you Patrick. Your code was really helpful for me &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;</description>
      <pubDate>Mon, 11 Jun 2018 05:03:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/use-first-row-as-name-and-start-the-data-from-third-row-in-proc/m-p/469100#M119931</guid>
      <dc:creator>nazmul</dc:creator>
      <dc:date>2018-06-11T05:03:09Z</dc:date>
    </item>
  </channel>
</rss>

