<?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 in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749694#M29580</link>
    <description>&lt;P&gt;All files are stored on the cloud server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can set your working directory the same way as in desktop.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For file paths, it's usually under this main file path:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/home/fkhurshed/&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you go to the Servers Files and Folders pane you can see the folder structure. In that pane you can right click any file/folder and select properties. The full path will be there for you to use in your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/385592"&gt;@Veer1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to the SAS community and I am using the SAS On Demand for academics browser version and I want to know how can I define the input and output path and also set the working directory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jun 2021 19:59:56 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-06-22T19:59:56Z</dc:date>
    <item>
      <title>ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749680#M29576</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to the SAS community and I am using the SAS On Demand for academics browser version and I want to know how can I define the input and output path and also set the working directory?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 19:19:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749680#M29576</guid>
      <dc:creator>Veer1</dc:creator>
      <dc:date>2021-06-22T19:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749688#M29577</link>
      <description>&lt;P&gt;On Demand runs on a UNIX cloud server where you have a home directory (/home/user-id). You upload to that location when you upload files with SAS Studio.&lt;/P&gt;
&lt;P&gt;Don't rely on the concept of a working directory, always use an absolute path for files.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 19:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749688#M29577</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-06-22T19:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749689#M29578</link>
      <description>&lt;P&gt;Since you get a "file does not exist" error, please post your code and log.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 19:36:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749689#M29578</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-06-22T19:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749690#M29579</link>
      <description>&lt;P&gt;On demand is a cloud based service. So you upload files to their storage area, work there and then download results. You can create folders in your work "area" but "path", if you are thinking your computer hard drive, is right out.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 19:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749690#M29579</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-22T19:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749694#M29580</link>
      <description>&lt;P&gt;All files are stored on the cloud server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can set your working directory the same way as in desktop.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For file paths, it's usually under this main file path:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/home/fkhurshed/&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you go to the Servers Files and Folders pane you can see the folder structure. In that pane you can right click any file/folder and select properties. The full path will be there for you to use in your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/385592"&gt;@Veer1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am new to the SAS community and I am using the SAS On Demand for academics browser version and I want to know how can I define the input and output path and also set the working directory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 19:59:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749694#M29580</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-22T19:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749726#M29581</link>
      <description>&lt;P&gt;options nodate pageno=1;&lt;BR /&gt;title; footnote; libname _all_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%Let infile= "~/home/u58836540/TRY-SAS/Base_Report_raw_data.xlsx";&lt;BR /&gt;%Let outpath=~/home/u58836540/TRY-SAS/Output;/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;options validvarname=v7;&lt;BR /&gt;PROC IMPORT DATAFILE=&amp;amp;infile&lt;BR /&gt;OUT=Base&lt;BR /&gt;DBMS=XLSX REPLACE;&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;SHEET='CLOC &amp;amp; IMS';&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 21:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749726#M29581</guid>
      <dc:creator>Veer1</dc:creator>
      <dc:date>2021-06-22T21:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749733#M29582</link>
      <description>Please include the log as well.</description>
      <pubDate>Tue, 22 Jun 2021 21:43:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749733#M29582</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-22T21:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749735#M29583</link>
      <description>&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&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 %Let infile= "~/home/u58836540/TRY-SAS/Base_Report_raw_data.xlsx";/* Change the file path */&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 %Let outpath=~/home/Output;/* Change the file path */&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78 ****************************************&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79 READ IN DEVELOPMENT DATA&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;80 ***************************************;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;81 options validvarname=v7;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;82 PROC IMPORT DATAFILE=&amp;amp;infile&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;83 OUT=Base&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;84 DBMS=XLSX REPLACE;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;85 GETNAMES=YES;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;86 SHEET='CLOC &amp;amp; IMS';&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, /home/u58836540/home/u58836540/CTE-SAS//Baseline_Report_raw_data.&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.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;memory 2054.21k&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;OS Memory 33700.00k&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Timestamp 22/06/2021 09:51:38 PM&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Step Count 145 Switch Count 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Reclaims 462&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Voluntary Context Switches 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Block Output Operations 0&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="sasSource"&gt;89&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;90 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;102&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Jun 2021 21:55:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749735#M29583</guid>
      <dc:creator>Veer1</dc:creator>
      <dc:date>2021-06-22T21:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749738#M29584</link>
      <description>&lt;P&gt;You have included your home directory twice in the path. Once use the Unix trick of just use tilda character.&amp;nbsp; And them as subdirectories of your home directory.&amp;nbsp; Use one method or the other.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let infile= "/home/u58836540/TRY-SAS/Base_Report_raw_data.xlsx";
%let infile= "~/TRY-SAS/Base_Report_raw_data.xlsx";&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Jun 2021 21:58:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749738#M29584</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-06-22T21:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749740#M29585</link>
      <description>&lt;P&gt;same error even when i used these options&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 22:06:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749740#M29585</guid>
      <dc:creator>Veer1</dc:creator>
      <dc:date>2021-06-22T22:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749743#M29586</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname=v7;
PROC IMPORT DATAFILE="/home/u58836540/TRY-SAS/Base_Report_raw_data.xlsx"
OUT=myData
DBMS=XLSX REPLACE;
SHEET='CLOC &amp;amp; IMS';
RUN;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please post the log from exactly the code above.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 22:19:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749743#M29586</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-22T22:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749753#M29587</link>
      <description>&lt;P&gt;I did not create a library earlier which was the reason for the error.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 23:12:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-Physical-file-does-not-exist/m-p/749753#M29587</guid>
      <dc:creator>Veer1</dc:creator>
      <dc:date>2021-06-22T23:12:26Z</dc:date>
    </item>
  </channel>
</rss>

