<?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 an excel and getting unexpected &amp;quot;ERROR: Physical file does not exist&amp;quot; in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751686#M29703</link>
    <description>&lt;P&gt;this is the real code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE="S:/CCR/Team MODELLI/99_richieste_spot/Poverta&amp;nbsp;_assoluta_ISTAT.xlsx"&lt;/P&gt;&lt;P&gt;OUT=&amp;amp;LIB_OUT..ISTAT_SOGLIE_MENS_POV_ASSOLUTA&lt;BR /&gt;&lt;BR /&gt;(RENAME= (A=TIP_FAM B=AREA_MET_N C=PERIF_AREA_MET_50000_E_PIU_AB_N D=ALTRI_COM_FINO_50000_N&lt;BR /&gt;E=AREA_MET_C F=PERIF_AREA_MET_50000_E_PIU_AB_C G=ALTRI_COM_FINO_50000_C&lt;BR /&gt;H=AREA_MET_S I=PERIF_AREA_MET_50000_E_PIU_AB_S J=ALTRI_COM_FINO_50000_S))&lt;/P&gt;&lt;P&gt;DBMS=XLSX&lt;/P&gt;&lt;P&gt;REPLACE;&lt;/P&gt;&lt;P&gt;SHEET='Prospetto_8_ok';&lt;/P&gt;&lt;P&gt;RANGE="A4:J41";&lt;/P&gt;&lt;P&gt;getnames=no;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and here is the screen capture of the folder&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cartella sas.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60900i9ED5A948F1923304/image-size/large?v=v2&amp;amp;px=999" role="button" title="cartella sas.jpg" alt="cartella sas.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 10:47:07 GMT</pubDate>
    <dc:creator>cieffegi</dc:creator>
    <dc:date>2021-07-02T10:47:07Z</dc:date>
    <item>
      <title>Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751678#M29701</link>
      <description>&lt;P&gt;Hallo, i'm trying to import an excel with proc import.&lt;BR /&gt;it ends with an error "&lt;SPAN&gt;Physical file does not exist"&lt;BR /&gt;here it is the code i use:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE="/my_path/name_of_the_excel.xlsx"&lt;/P&gt;&lt;P&gt;OUT=&amp;amp;path_out..name_of_the_table&lt;BR /&gt;&lt;BR /&gt;(RENAME= (A=TIP_FAM B=AREA_MET_N C=PERIF_AREA_MET_50000_E_PIU_AB_N D=ALTRI_COM_FINO_50000_N&lt;BR /&gt;E=AREA_MET_C F=PERIF_AREA_MET_50000_E_PIU_AB_C G=ALTRI_COM_FINO_50000_C&lt;BR /&gt;H=AREA_MET_S I=PERIF_AREA_MET_50000_E_PIU_AB_S J=ALTRI_COM_FINO_50000_S))&lt;/P&gt;&lt;P&gt;DBMS=XLSX&lt;/P&gt;&lt;P&gt;REPLACE;&lt;/P&gt;&lt;P&gt;SHEET='name_of_the_subsheet';&lt;/P&gt;&lt;P&gt;RANGE="A4:J41";&lt;/P&gt;&lt;P&gt;getnames=no;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I've duble checked that the real name of "my_path" (which is a server folder) and&amp;nbsp;name_of_the_excel are spelled correctly.&lt;BR /&gt;The excel is available in "my_path" and can be opened with excel app without any problem.&lt;BR /&gt;It&amp;nbsp; is composed of multiple sub sheets of which i want to keep only the one named "name of the subsheet".&lt;BR /&gt;&lt;BR /&gt;Thanks for any help&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 10:32:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751678#M29701</guid>
      <dc:creator>cieffegi</dc:creator>
      <dc:date>2021-07-02T10:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751682#M29702</link>
      <description>&lt;P&gt;When SAS says the file doesn't exist, and the user says it does exist, I believe SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, you haven't given us the real path and file name, so we can't help further. We would need the real path and file name in the code, and a screen capture of the same folder in your operating system.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 10:36:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751682#M29702</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-02T10:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751686#M29703</link>
      <description>&lt;P&gt;this is the real code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC IMPORT DATAFILE="S:/CCR/Team MODELLI/99_richieste_spot/Poverta&amp;nbsp;_assoluta_ISTAT.xlsx"&lt;/P&gt;&lt;P&gt;OUT=&amp;amp;LIB_OUT..ISTAT_SOGLIE_MENS_POV_ASSOLUTA&lt;BR /&gt;&lt;BR /&gt;(RENAME= (A=TIP_FAM B=AREA_MET_N C=PERIF_AREA_MET_50000_E_PIU_AB_N D=ALTRI_COM_FINO_50000_N&lt;BR /&gt;E=AREA_MET_C F=PERIF_AREA_MET_50000_E_PIU_AB_C G=ALTRI_COM_FINO_50000_C&lt;BR /&gt;H=AREA_MET_S I=PERIF_AREA_MET_50000_E_PIU_AB_S J=ALTRI_COM_FINO_50000_S))&lt;/P&gt;&lt;P&gt;DBMS=XLSX&lt;/P&gt;&lt;P&gt;REPLACE;&lt;/P&gt;&lt;P&gt;SHEET='Prospetto_8_ok';&lt;/P&gt;&lt;P&gt;RANGE="A4:J41";&lt;/P&gt;&lt;P&gt;getnames=no;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and here is the screen capture of the folder&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cartella sas.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60900i9ED5A948F1923304/image-size/large?v=v2&amp;amp;px=999" role="button" title="cartella sas.jpg" alt="cartella sas.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 10:47:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751686#M29703</guid>
      <dc:creator>cieffegi</dc:creator>
      <dc:date>2021-07-02T10:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751692#M29704</link>
      <description>&lt;P&gt;If sas says that a file doesn't exist, it either doesn't exist, or (more likely) the drive you are using is not visible for sas. So: is sas running locally or on a server?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 10:56:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751692#M29704</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-07-02T10:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751695#M29705</link>
      <description>on a server.&lt;BR /&gt;I have no issues importing txt or exporting whatever i want in that location.&lt;BR /&gt;&lt;BR /&gt;But when it comes to importing excel i get that message.&lt;BR /&gt;Which is, frankly, annoing.</description>
      <pubDate>Fri, 02 Jul 2021 11:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/751695#M29705</guid>
      <dc:creator>cieffegi</dc:creator>
      <dc:date>2021-07-02T11:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752017#M29721</link>
      <description>&lt;P&gt;Interesting. Are there any other unexpected notes in the log? Anything? The excel-file is closed, when trying to read it?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 04:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752017#M29721</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-07-05T04:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752021#M29722</link>
      <description>&lt;P&gt;Importing or exporting how? For example if you do this via the SAS Import / Export File wizard in SAS Enterprise Guide, that will happen on your PC which knows about the mapped S drive. Running the same process via PROC IMPORT or EXPORT in SAS code means it will run on the remote SAS App Server which may know nothing about your mapped S drive. You need to talk to your SAS administrator to agree on a folder location that is accessible to your remote SAS server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also I'm somewhat mystified by your use of a Windows driver letter mapping (S:) and the use of forward slashes after that which is how you do a Unix path.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 06:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752021#M29722</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-07-05T06:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752023#M29723</link>
      <description>&lt;P&gt;-the excel file is colsed&lt;BR /&gt;&lt;BR /&gt;-this is the complete log message:&lt;/P&gt;&lt;P&gt;ERROR: Physical file does not exist, /sascrediti/config_credit/Lev1/SASAppCredit/S:/ccr/Team&lt;BR /&gt;MODELLI/99_richieste_spot//Poverta&amp;nbsp;_assoluta_ISTAT.&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.00 seconds&lt;BR /&gt;cpu time 0.01 seconds&lt;/P&gt;&lt;P&gt;NOTE: Remote submit to SERV complete.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 06:56:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752023#M29723</guid>
      <dc:creator>cieffegi</dc:creator>
      <dc:date>2021-07-05T06:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752024#M29724</link>
      <description>&lt;P&gt;According to the log you've posted the pathname appears to be truncated. There is also a double slash in the path which doesn't look right - or at least you forgot to add the xlsx suffix.&lt;/P&gt;
&lt;P&gt;How do you pass the path to Proc Import?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 07:01:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752024#M29724</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2021-07-05T07:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752025#M29725</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/322866"&gt;@cieffegi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;-the excel file is colsed&lt;BR /&gt;&lt;BR /&gt;-this is the complete log message:&lt;/P&gt;
&lt;P&gt;ERROR: Physical file does not exist,&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt; /sascrediti/config_credit/Lev1/SASAppCredit/S:/ccr/&lt;/FONT&gt;&lt;/STRONG&gt;Team&lt;BR /&gt;MODELLI/99_richieste_spot//Poverta&amp;nbsp;_assoluta_ISTAT.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The red text shows, that your sas-server has no access to your s-drive.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 07:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752025#M29725</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-07-05T07:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752029#M29726</link>
      <description>But why, then, it correctly imports txt and exports txt or exel in the same location?</description>
      <pubDate>Mon, 05 Jul 2021 07:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752029#M29726</guid>
      <dc:creator>cieffegi</dc:creator>
      <dc:date>2021-07-05T07:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Importing an excel and getting unexpected "ERROR: Physical file does not exist"</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752034#M29727</link>
      <description>&lt;P&gt;This&lt;/P&gt;
&lt;PRE&gt;/sascrediti/config_credit/Lev1/SASAppCredit/S:/ccr/Team MODELLI/99_richieste_spot//Poverta _assoluta_ISTAT&lt;/PRE&gt;
&lt;P&gt;tells us the most important thing: your SAS session runs on a remote UNIX server. The UNIX filesystem has no drive letters, it has a single directory tree starting at root (/). The Windows path you supplied does not start with a forward slash, so it is considered&amp;nbsp;&lt;EM&gt;relative&lt;/EM&gt; to the&amp;nbsp;&lt;EM&gt;current working directory&lt;/EM&gt; of your SAS session (the place from where it was started, which is&amp;nbsp;&lt;SPAN&gt;/sascrediti/config_credit/Lev1/SASAppCredit/).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You either need to have your Windows S drive mounted on the UNIX filesystem (if that is the case, your SAS admin can tell you the&amp;nbsp;&lt;EM&gt;UNIX&lt;/EM&gt; path to it), or you need to first transfer the file to the server so you can read it there.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If importing other types of files was successful, post the log(s) from these imports, so we can point out the differences.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We could have come to these conclusions much earlier if you had posted the log. Hint for the future:&amp;nbsp;&lt;STRONG&gt;ALWAYS&lt;/STRONG&gt; post the SAS log when you have a problem. Use the &amp;lt;/&amp;gt; button for posting logs.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 08:38:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Importing-an-excel-and-getting-unexpected-quot-ERROR-Physical/m-p/752034#M29727</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-07-05T08:38:04Z</dc:date>
    </item>
  </channel>
</rss>

