<?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: Importing Data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-Data/m-p/592664#M169952</link>
    <description>Thankyou Will try&lt;BR /&gt;</description>
    <pubDate>Mon, 30 Sep 2019 13:34:32 GMT</pubDate>
    <dc:creator>Ranjeeta</dc:creator>
    <dc:date>2019-09-30T13:34:32Z</dc:date>
    <item>
      <title>Importing Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Data/m-p/592259#M169796</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello I would appreciate some advice&lt;/P&gt;&lt;P&gt;Im importing an Excel tab and what would the $ sign at th end of the sheet name do to the proc import step?&lt;/P&gt;&lt;P&gt;Also&lt;/P&gt;&lt;P&gt;If i import a sheet and i see some blank rows at the end of the dataset ie after the last row why would that occur?&lt;/P&gt;&lt;P&gt;Also there are columns with F7 F8 added after the last column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would appreciate some advice as to how I can correct those errors&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC IMPORT OUT=Site_number&lt;BR /&gt;DATAFILE= "Y:\KNOWLEDGE MANAGEMENT\Analytics\EVT PMM\Common Resources\EVT Reference.xlsx"&lt;BR /&gt;DBMS=EXCEL REPLACE;&lt;BR /&gt;RANGE="SiteNumber1718$";&lt;BR /&gt;SCANTEXT=YES;&lt;BR /&gt;USEDATE=YES;&lt;BR /&gt;SCANTIME=YES;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 17:48:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Data/m-p/592259#M169796</guid>
      <dc:creator>Ranjeeta</dc:creator>
      <dc:date>2019-09-27T17:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Data/m-p/592261#M169798</link>
      <description>&lt;P&gt;You are not importing a sheet, but a named range. That range seems to expand beyond the used (filled with data) cells.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS a sheet is automatically also a range:&lt;/P&gt;
&lt;P&gt;SHEET="XXX" is equivalent to&lt;/P&gt;
&lt;P&gt;RANGE="XXX$"&lt;/P&gt;
&lt;P&gt;So it now seems to me that you address the whole sheet as a range, and that, at some time, more cells were "used" in that sheet (eg simply by applying a format or just entering a blank) than actually have data in them. Delete the columns and rows in your sheet that you do not want imported, before running the proc import. Or use a range with cell addressing.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 18:19:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Data/m-p/592261#M169798</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-27T18:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Data/m-p/592332#M169822</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC IMPORT OUT=Site_number(where=(myVar is not missing))
DATAFILE= "Y:\KNOWLEDGE MANAGEMENT\Analytics\EVT PMM\Common Resources\EVT Reference.xlsx"
DBMS=EXCEL REPLACE;
RANGE="SiteNumber1718$A1:F99999";
SCANTEXT=YES;
USEDATE=YES;
SCANTIME=YES;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;where myVar is a variable that is never missing.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 21:36:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Data/m-p/592332#M169822</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-09-27T21:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Importing Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-Data/m-p/592664#M169952</link>
      <description>Thankyou Will try&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Sep 2019 13:34:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-Data/m-p/592664#M169952</guid>
      <dc:creator>Ranjeeta</dc:creator>
      <dc:date>2019-09-30T13:34:32Z</dc:date>
    </item>
  </channel>
</rss>

