DATA Step, Macro, Functions and more

Could not refer to file that resides in my local hard drive - SAS University edition

Reply
Occasional Contributor
Posts: 14

Could not refer to file that resides in my local hard drive - SAS University edition

Hi all,

 

Hope you are  doing great. 

 

I have an error in loading my file into SAS Studio from my local hard drive. I tried many ways but still getting the error "Physical file does not exist" since, SAS Studio is referring to local host's file directory.

 

I added system path in Oracle VM settings, but no luck. I'm using SAS University Edition (SAS Studio 9.4) 

 

Please help, since it's urgent.

 

Thanks in advance!

 

P.S. I'm attaching the error log.

 

Super User
Posts: 7,758

Re: Could not refer to file that resides in my local hard drive - SAS University edition

Posted in reply to arunvaibhav

The SAS log is text-only. Please post as such in a {i} window.

Note that UE runs in a Linux virtual machine and needs UNIX style path syntax.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super User
Posts: 19,768

Re: Could not refer to file that resides in my local hard drive - SAS University edition

Posted in reply to arunvaibhav

You've made a couple of mistakes in your set up, or it appears that way in the screenshot you've attached.

myfolders should be all lower case, SAS UE is on a Unix system that's case sensitive.

 

When you refer to it, because of the Unix and VM system you need to use the reference as noted in the FAQ

 

/folders/myfolders/file_name.txt

 

A quick way to get the correct path, is to navigate to it under Servers Directories pane,right click file of interest and select properties. The path is in the properties pane.

 

In the future, please use the embed for images and include code directly in the post, many users will not download attachments and if I couldn't use the preview I wouldn't have either.

 

Ask a Question
Discussion stats
  • 2 replies
  • 111 views
  • 0 likes
  • 3 in conversation