BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
sandiptemkar
Calcite | Level 5

Hello -

 

I am beginner of SAS. Working on SAS studio. 

 

Created one text file with name and salary; however getting error as 

ERROR: Physical file does not exist, /home/u61380258/\Documents\SAS\Salary.txt.
NOTE: The SAS System stopped processing this step because of errors.
 
Please note, the path is exact same since I copied the path and pasted.
 
Thanks!
 
1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User
/home/u61380258

lets me think that you use SAS On Demand for Academics. This version of educational SAS runs in the cloud on Linux instances, and it cannot access your local drive(s).

But this

\Documents\SAS\Salary.txt.

is a typical Windows path, so I suspect you tried to access a file on your computer, and this cannot work.

SAS Studio provides a tool to upload files. Mark the intended target directory in your navigation pane, then select Upload (the symbol with the upwards arrow). After this, select the file you want to upload (the SAS Studio applet which was downloaded to your local browser context can access your local drive), and you're done. After this, use the Linux path

/home/u61380258

as the base directory for your filenames. It corresponds to Home in the navigation pane. And use forward slashes to separate directory and file names, the backslash has a completely different function in UNIX systems.

View solution in original post

5 REPLIES 5
PaigeMiller
Diamond | Level 26

When a user like you says the information is correct, and SAS says the information is not correct, I believe SAS.

 

In particular, data sets on your local PC must be uploaded to the SAS Studio server in order for them to be used. It doesn't look like you did this.

--
Paige Miller
andreas_lds
Jade | Level 19

@sandiptemkar wrote:

Hello -

 
 
Please note, the path is exact same since I copied the path and pasted.
 
Thanks!
 

The path can't be the same, SAS UE runs on Linux, so you have to use / as separator, not \.

Kurt_Bremser
Super User
/home/u61380258

lets me think that you use SAS On Demand for Academics. This version of educational SAS runs in the cloud on Linux instances, and it cannot access your local drive(s).

But this

\Documents\SAS\Salary.txt.

is a typical Windows path, so I suspect you tried to access a file on your computer, and this cannot work.

SAS Studio provides a tool to upload files. Mark the intended target directory in your navigation pane, then select Upload (the symbol with the upwards arrow). After this, select the file you want to upload (the SAS Studio applet which was downloaded to your local browser context can access your local drive), and you're done. After this, use the Linux path

/home/u61380258

as the base directory for your filenames. It corresponds to Home in the navigation pane. And use forward slashes to separate directory and file names, the backslash has a completely different function in UNIX systems.

sandiptemkar
Calcite | Level 5
It worked .. Thank you so much for your detail explanation.. I am very new to the topic hence did not know this..
Requesting support from you in future for such questions. Thanks once again. I really appreciate your help.
bhotchocolate
Calcite | Level 5

this totally helped

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 1337 views
  • 1 like
  • 5 in conversation