<?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 excel file into SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230965#M41964</link>
    <description>&lt;P&gt;It's hard to say much with limited information. What OS are you operating on? Is it possible that file is truly open somewhere else? I would check that the file does exist in the root directory you're referencing and that the case on the file name is correct, including the extension.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2015 14:32:35 GMT</pubDate>
    <dc:creator>JoshB</dc:creator>
    <dc:date>2015-10-21T14:32:35Z</dc:date>
    <item>
      <title>Importing excel file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230963#M41963</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I keep getting the error code listed below while importing this excel file into sas. The file name is:&amp;nbsp;&lt;SPAN&gt;pay_file_102115.XLSX&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Unable to open file&lt;BR /&gt;pay_file_102115.XLSX. It does not&lt;BR /&gt; exist or it is already opened exclusively by another user, or you need permission to view its data.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;BR /&gt; real time 0.01 seconds&lt;BR /&gt; cpu time 0.01 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the code that I am using to import the file:&lt;/P&gt;
&lt;P&gt;PROC IMPORT OUT= WORK.TEST&lt;BR /&gt; DATAFILE= "\\&lt;SPAN&gt;pay_file&lt;/SPAN&gt;_%sysfunc(date(),mmddyyn6.).XLSX"&lt;BR /&gt; DBMS=EXCEL REPLACE;&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;Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone help please?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 14:22:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230963#M41963</guid>
      <dc:creator>jflo36</dc:creator>
      <dc:date>2015-10-21T14:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Importing excel file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230965#M41964</link>
      <description>&lt;P&gt;It's hard to say much with limited information. What OS are you operating on? Is it possible that file is truly open somewhere else? I would check that the file does exist in the root directory you're referencing and that the case on the file name is correct, including the extension.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 14:32:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230965#M41964</guid>
      <dc:creator>JoshB</dc:creator>
      <dc:date>2015-10-21T14:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Importing excel file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230966#M41965</link>
      <description>&lt;P&gt;I would try two things: One is to use a full path to describe where the file is located. Second, tryit with out any functions or macro variables.&lt;/P&gt;
&lt;P&gt;Also, are you running in a server environment? If so the path to the file needs to be as the server sees it.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 14:33:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230966#M41965</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-10-21T14:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Importing excel file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230970#M41966</link>
      <description>&lt;P&gt;I am using Windows 7. The file is actually from a share network drive.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 14:45:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230970#M41966</guid>
      <dc:creator>jflo36</dc:creator>
      <dc:date>2015-10-21T14:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Importing excel file into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230998#M41973</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/57928"&gt;@jflo36&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I am using Windows 7. The file is actually from a share network drive.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then you need to have the Drive indicated along with the path to the file.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 16:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Importing-excel-file-into-SAS/m-p/230998#M41973</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-10-21T16:55:40Z</dc:date>
    </item>
  </channel>
</rss>

