Hello -
I am beginner of SAS. Working on SAS studio.
Created one text file with name and salary; however getting error as
/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.
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.
@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 \.
/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.
this totally helped
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.
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.