<?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 proc import in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/54444#M11536</link>
    <description>%macro import_top100(dat);&lt;BR /&gt;
PROC IMPORT OUT= &amp;amp;dat &lt;BR /&gt;
         DATAFILE= "&amp;amp;lkp.\Topprescriber_lkup.xls"&lt;BR /&gt;
            DBMS=EXCEL REPLACE;&lt;BR /&gt;
  	 SHEET="&amp;amp;dat";&lt;BR /&gt;
     GETNAMES=YES;&lt;BR /&gt;
     MIXED=NO;&lt;BR /&gt;
     SCANTEXT=YES;&lt;BR /&gt;
     USEDATE=YES;&lt;BR /&gt;
     SCANTIME=YES;&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
%mend;&lt;BR /&gt;
%import_top100(Physician_lookup);&lt;BR /&gt;
&lt;BR /&gt;
In the above procedure ,do we have an option to let SAS know from which row it should start reading the data?&lt;BR /&gt;
Say for instance, the first five rows in the excel gives infomation or some notes, and the actual data starts from sixth row, how do we process it?</description>
    <pubDate>Tue, 14 Jul 2009 18:30:40 GMT</pubDate>
    <dc:creator>SASPhile</dc:creator>
    <dc:date>2009-07-14T18:30:40Z</dc:date>
    <item>
      <title>proc import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/54444#M11536</link>
      <description>%macro import_top100(dat);&lt;BR /&gt;
PROC IMPORT OUT= &amp;amp;dat &lt;BR /&gt;
         DATAFILE= "&amp;amp;lkp.\Topprescriber_lkup.xls"&lt;BR /&gt;
            DBMS=EXCEL REPLACE;&lt;BR /&gt;
  	 SHEET="&amp;amp;dat";&lt;BR /&gt;
     GETNAMES=YES;&lt;BR /&gt;
     MIXED=NO;&lt;BR /&gt;
     SCANTEXT=YES;&lt;BR /&gt;
     USEDATE=YES;&lt;BR /&gt;
     SCANTIME=YES;&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
%mend;&lt;BR /&gt;
%import_top100(Physician_lookup);&lt;BR /&gt;
&lt;BR /&gt;
In the above procedure ,do we have an option to let SAS know from which row it should start reading the data?&lt;BR /&gt;
Say for instance, the first five rows in the excel gives infomation or some notes, and the actual data starts from sixth row, how do we process it?</description>
      <pubDate>Tue, 14 Jul 2009 18:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/54444#M11536</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2009-07-14T18:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/54445#M11537</link>
      <description>It seems that in 9.13 the dbms-type Excel does not support options for defining the first data row. If you know how many rows to read you can use the range options, or switch to dbms=xls and use startrow=. &lt;BR /&gt;
&lt;BR /&gt;
The online docs contain a full description of all available options for the various dbms-types:&lt;BR /&gt;
&lt;A href="http://support.sas.com/onlinedoc/913/getDoc/en/proc.hlp/a000312413.htm" target="_blank"&gt;http://support.sas.com/onlinedoc/913/getDoc/en/proc.hlp/a000312413.htm&lt;/A&gt;</description>
      <pubDate>Wed, 15 Jul 2009 06:28:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-import/m-p/54445#M11537</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2009-07-15T06:28:03Z</dc:date>
    </item>
  </channel>
</rss>

