<?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: ERROR: Physical file does not exist while importing Excel file in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/516017#M3062</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt; I did not mean to use the Windows name in your code. I meant to look in the Files and Folders list in SAS Studio. With SAS University Edition, you cannot use a C: drive location. You MUST define your shared folders correctly. Then, you still have to use the /folders/myfolders reference. For example, in my SAS University Edition shared folder location, I have a folder called all_excel, where I put my Excel sheets. So then I need to get the properties by finding the file INSIDE SAS Studio and then right clicking on the file name and selecting Properties, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="get_properties.png" style="width: 582px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25172iBF7E0FDCE4403FDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="get_properties.png" alt="get_properties.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Next I need to copy the fully qualified path, including the /folders/myfolders part of the name, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="what_is_location.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25173i1B5E9F86EE17902F/image-size/large?v=v2&amp;amp;px=999" role="button" title="what_is_location.png" alt="what_is_location.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note how the Location field shows the full name:&lt;STRONG&gt; /folders/myfolders/all_excel/custfm.xls&lt;/STRONG&gt; -- this is the path I would use in code. You cannot use a Windows path location in your code with University Edition.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Mon, 26 Nov 2018 15:39:13 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2018-11-26T15:39:13Z</dc:date>
    <item>
      <title>ERROR: Physical file does not exist while importing Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/515797#M3010</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Current student learning SAS and neither I nor my instructor has found a solution. I apologize now if it seems elementary to most. I am trying to import an Excel file into SAS University and continue to get these errors. If anyone can shed some light, I'd appreciate any help! I noticed that the error does not include the .xlsx at the end of the statement. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 /* Generated Code (IMPORT) */&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 /* Source File: NWdw.xlsx */&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 /* Source Path: /folders/myfolders/sasuser.v94 */&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 /* Code generated on: 11/25/18, 8:42 AM */&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78 %web_drop_table(WORK.IMPORT);&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;80&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;81 FILENAME REFFILE '/folders/myfolders/sasuser.v94/NWdw.xlsx';&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;82&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;83 PROC IMPORT DATAFILE=REFFILE&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;84 DBMS=XLSX&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;85 OUT=WORK.IMPORT;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;86 GETNAMES=YES;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;87 RUN;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Physical file does not exist, /folders/myfolders/sasuser.v94//NWdw.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE IMPORT used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.01 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;88&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;89 PROC CONTENTS DATA=WORK.IMPORT; RUN;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: File WORK.IMPORT.DATA does not exist.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Statements not processed because of errors noted above.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE CONTENTS used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.01 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;90&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;91&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;92 %web_open_table(WORK.IMPORT);&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;93&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;94 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;107&lt;/DIV&gt;</description>
      <pubDate>Sun, 25 Nov 2018 17:22:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/515797#M3010</guid>
      <dc:creator>dblkickd2</dc:creator>
      <dc:date>2018-11-25T17:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist while importing Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/515806#M3011</link>
      <description>&lt;P&gt;HI:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Can you find the XLSX file in your Files and Folders list? If so, right click on the file name and select Properties. In the Location area of the Properties window, you should see the fully qualified path of the XLSX file. That is the path you need to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Your ERROR message is telling you that your path name is wrong -- either you've misspelled the file name or something in the path, you've got the case wrong (uppercase instead of mixed or lower case) or the file does not exist in the physical path you've specified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 18:06:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/515806#M3011</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-11-25T18:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist while importing Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/515807#M3012</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your suggestion but it is still producing the same error. I have the correct path but then it adds this to the beginning if the statement:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/opt/sasinside/SASConfig/Lev1/SASApp/&amp;nbsp; which is not part of the path and it is still cutting off the file ext. It also adds and extra / before the filename as well? I also changed the filename to lowercase to stay consistent.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasError"&gt;ERROR: Physical file does not exist,&lt;/DIV&gt;&lt;DIV class="sasError"&gt;/opt/sasinside/SASConfig/Lev1/SASApp/C:\Users\dblki\Desktop\School\MIS450\SASUniversityEdition\myfolders\sasuser.v94\/nwdw.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 18:34:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/515807#M3012</guid>
      <dc:creator>dblkickd2</dc:creator>
      <dc:date>2018-11-25T18:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist while importing Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/516017#M3062</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; I did not mean to use the Windows name in your code. I meant to look in the Files and Folders list in SAS Studio. With SAS University Edition, you cannot use a C: drive location. You MUST define your shared folders correctly. Then, you still have to use the /folders/myfolders reference. For example, in my SAS University Edition shared folder location, I have a folder called all_excel, where I put my Excel sheets. So then I need to get the properties by finding the file INSIDE SAS Studio and then right clicking on the file name and selecting Properties, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="get_properties.png" style="width: 582px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25172iBF7E0FDCE4403FDB/image-size/large?v=v2&amp;amp;px=999" role="button" title="get_properties.png" alt="get_properties.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Next I need to copy the fully qualified path, including the /folders/myfolders part of the name, as shown below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="what_is_location.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25173i1B5E9F86EE17902F/image-size/large?v=v2&amp;amp;px=999" role="button" title="what_is_location.png" alt="what_is_location.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note how the Location field shows the full name:&lt;STRONG&gt; /folders/myfolders/all_excel/custfm.xls&lt;/STRONG&gt; -- this is the path I would use in code. You cannot use a Windows path location in your code with University Edition.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 15:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/516017#M3062</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-11-26T15:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist while importing Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/516191#M3099</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion but that is not working either?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25187i26F5A9C928D0F477/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 00:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/516191#M3099</guid>
      <dc:creator>dblkickd2</dc:creator>
      <dc:date>2018-11-27T00:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist while importing Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/516196#M3100</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; /folders/myfolders/all_excel was MY folder structure. It will NOT work for you unless you &lt;BR /&gt;1) made a folder called all_excel and then&lt;BR /&gt;2) moved the nwdw.xlsx file to THAT particular folder.&lt;BR /&gt;&lt;BR /&gt; It's not clear to me whether you did those 2 things because you did not show the SAS Studio screen with the Files and Folders pane so we could see your actual folder path.&lt;BR /&gt;&lt;BR /&gt;Since you do NOT show your Files and Folders location, it is impossible to tell what the right path should be.&lt;BR /&gt;&lt;BR /&gt;Can you show us the Server Files and folders pane on YOUR copy of University Edition that shows the nwdw.xlsx properties?&lt;BR /&gt;&lt;BR /&gt;In my screen shot, I right clicked on the custfm.xls file and chose Properties from the popup window in the SAS Studio Files and Folders pane. My Excel file was stored in my shared folder location under the all_excel folder. Did you make an all_excel folder? Did you put your XLSX file in THAT location. If so, please show the Properties shot for nwdw.xlsx like I showed for custfm.xls in my previous post. &lt;BR /&gt;&lt;BR /&gt; Showing us your error message is not useful. I can generate the same error message in 2 different ways:&lt;BR /&gt;1 - mis-spelling one of the folder names (such as all_excl instead of all_excel) &lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="can_replicate_same_error_message.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25188i7E84597A04E021FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="can_replicate_same_error_message.png" alt="can_replicate_same_error_message.png" /&gt;&lt;/span&gt;&lt;BR /&gt;or&lt;BR /&gt;2 - using a folder name like "wombat" that does not exist at all&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="same_error_message.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25189iDC7C4889AFF78635/image-size/large?v=v2&amp;amp;px=999" role="button" title="same_error_message.png" alt="same_error_message.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 01:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/516196#M3100</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-11-27T01:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist while importing Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/516203#M3101</link>
      <description>&lt;P&gt;Hi Cynthia,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My apologize on the inadequate screenshot. Yes as seen below, I followed your advice and steps for creating the all_excel folder and moved my file to it. In the meantime, I decided to take a chance and changed the extention to an older version .xls file. When I ran it again, it said to save in an Excel format ver. 5 or later. So I took a chance and saved it as a .csv file and it worked! I'm not sure how but it may have something to do with the ..xlsx and .xls file ext that SAS did not like? Maybe it was the way that Pentaho created the XML file? Not sure but would like to find an answer because that was strange! Thank you so very much for your help!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25190i7CC839FC6B6B551D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Nov 2018 01:51:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist-while-importing-Excel-file/m-p/516203#M3101</guid>
      <dc:creator>dblkickd2</dc:creator>
      <dc:date>2018-11-27T01:51:38Z</dc:date>
    </item>
  </channel>
</rss>

