BookmarkSubscribeRSS Feed
ihossan
Calcite | Level 5

Hello,

 

I am trying to see the different functionality of SAS. And I just started learning SAS. Using trial SAS (ONLINE--in WINDOWS)  https://azureuse011379.my-trials.sas.com/SASStudio/ 

 

I defined a filename as

filename cells 'D:\SAS\lwmask0_12US2.txt';

When I tried running the code, I am getting the following error:

ERROR: Physical file does not exist, 
/opt/sas/viya/config/var/tmp/compsrv/default/399cb605-fc7a-47a9-99fb-cca75e5726fa/SAS_workCA7F000000BD_sas-launcher-1d7ea85f-
c99c-477c-9174-f48c77cff9b8-nqfhx/D:\SAS\lwmask0_12US2.txt.

 

I checked :

File exists in D:\SAS

File can be opened in notepad

File is not open anywhere when running SAS

I tried changing slash  \  to /

 But nothing works.

 

Why I see a Linux file path?. Any suggestions would be greatly appreciated.

 

Thanks

4 REPLIES 4
Kurt_Bremser
Super User

The SAS you use runs on an Azure instance in the cloud, on a virtual Linux server. It does not have any access to your local drive.

But the SAS Studio applet in your browser can do this, and you must use it to upload the file to the SAS server.

After uploading (the "up" error), a right click on the uploaded file will reveal the path you must use.

ihossan
Calcite | Level 5

So, I uploaded files to my folder in the SAS. Then I tried to run the code.

 

Now it says "is not in the list of the accessible path"

 

Please see the screenshots:

 

fig2.PNGfig3.PNG

 

Is that error because I am using TRIAL version?

 

Thanks in advance

Kurt_Bremser
Super User

This looks like a message when SAS is in lockdown state. But I would think that a path in your home directory should be made accessible. Get in touch with the administrators responsible for the virtual server.

ihossan
Calcite | Level 5

Okay, I found out the issue. I was uploading files to another location. But when I uploaded files to /SAS Server/Home, it works.

 

However, I am trying to upload a big file ( > 700 MB), but it looks like the file size limit is only 100 MB. Is it because of the Trial version?.

 

fig4.PNG

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 4 replies
  • 1186 views
  • 0 likes
  • 2 in conversation