<?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: Import xlsx excel failed despite pointing at the right directory (Physical file does not exist) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782665#M249520</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I right-click on the excel file itself and copied out the directory. That's where I got the directory from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made sure the path is right by copying it from the Properties.&amp;nbsp; I also tried uploading the xlsx to another folder but I am still getting the same error with double slash and missing .xlsx&lt;/P&gt;</description>
    <pubDate>Sat, 27 Nov 2021 10:50:33 GMT</pubDate>
    <dc:creator>StickyRoll</dc:creator>
    <dc:date>2021-11-27T10:50:33Z</dc:date>
    <item>
      <title>Import xlsx excel failed despite pointing at the right directory (Physical file does not exist)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782658#M249514</link>
      <description>&lt;P&gt;I am using SAS Studio trying to import an excel in xlsx format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my SAS Script:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;FILENAME REFFILE '/sas/config/Lev3/AppData/SAS/housekeeping_config/housekeep_config.xlsx';&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE=REFFILE&lt;BR /&gt;DBMS=XLSX&lt;BR /&gt;OUT=WORK.IMPORT;&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was also auto-generated by SAS Studio as I double click on the excel that I stored in the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I execute, i got the following error.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV class=""&gt;72&lt;/DIV&gt;&lt;DIV class=""&gt;73 FILENAME REFFILE '/sas/config/Lev3/AppData/SAS/housekeeping_config/housekeep_config.xlsx';&lt;/DIV&gt;&lt;DIV class=""&gt;74&lt;/DIV&gt;&lt;DIV class=""&gt;75 PROC IMPORT DATAFILE=REFFILE&lt;/DIV&gt;&lt;DIV class=""&gt;76 DBMS=XLSX&lt;/DIV&gt;&lt;DIV class=""&gt;77 OUT=WORK.IMPORT;&lt;/DIV&gt;&lt;DIV class=""&gt;78 GETNAMES=YES;&lt;/DIV&gt;&lt;DIV class=""&gt;79 RUN;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Physical file does not exist, /sas/config/Lev3/AppData/SAS/housekeeping_config//housekeep_config.&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;This is weird, Why did it show double slash at the end and omitting my file extension (xlsx) in the error log? I also set permission 775 on the server for the folders to ensure it has the sufficient permission.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2021 10:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782658#M249514</guid>
      <dc:creator>StickyRoll</dc:creator>
      <dc:date>2021-11-27T10:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Import xlsx excel failed despite pointing at the right directory (Physical file does not exist)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782661#M249516</link>
      <description>Your path name is not right.&lt;BR /&gt;Right click that folder or libname and select its attribution , you should see the right path.</description>
      <pubDate>Sat, 27 Nov 2021 10:35:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782661#M249516</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-11-27T10:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Import xlsx excel failed despite pointing at the right directory (Physical file does not exist)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782665#M249520</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I right-click on the excel file itself and copied out the directory. That's where I got the directory from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made sure the path is right by copying it from the Properties.&amp;nbsp; I also tried uploading the xlsx to another folder but I am still getting the same error with double slash and missing .xlsx&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2021 10:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782665#M249520</guid>
      <dc:creator>StickyRoll</dc:creator>
      <dc:date>2021-11-27T10:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Import xlsx excel failed despite pointing at the right directory (Physical file does not exist)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782666#M249521</link>
      <description>I mean right-click the directory/folder which have XLSX file .</description>
      <pubDate>Sat, 27 Nov 2021 11:01:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782666#M249521</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-11-27T11:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Import xlsx excel failed despite pointing at the right directory (Physical file does not exist)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782680#M249523</link>
      <description>&lt;P&gt;The double slash is bug in the error reporting code of PROC IMPORT, so ignore that.&lt;/P&gt;
&lt;P&gt;If the computer says a file does not exist then it does not exist (or you don't have access to read it or one of its parent directories).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Double check the filename.&amp;nbsp; Make sure you have the case of the letters in the name or path right (Unix file system is case sensitive). Make sure you are using a location that is valid on the server where your SAS code is running.&amp;nbsp; Being able to see it on the machine you are using to connect to the SAS server (via SAS/Studio or Enterprise Guide for example) does not count since it needs to exist on the machine were the SAS code is running.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2021 16:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-xlsx-excel-failed-despite-pointing-at-the-right-directory/m-p/782680#M249523</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-11-27T16:28:07Z</dc:date>
    </item>
  </channel>
</rss>

