BookmarkSubscribeRSS Feed
laxmanpai
Calcite | Level 5
Hi,
I have 2 output files in Sas EG.
the path is /mnt/a.txt and
/mnt/a1.txt

But when I try to delete the file using the fileexists condition in SAS EG , I get the message "physical file does not exist" even though the file exists in that output path

Could you please let me know how to fix this issue through coding in SAS EG ?

2 REPLIES 2
ballardw
Super User

Is mnt the mount point for the drive?

In relation to the server that is likely executing your SAS?

The servers typically do not see your local computer and you need to use complete paths from a mount or drive to be sure things are pointing at the correct location.

andreas_lds
Jade | Level 19

Please post the code you are using. Most times, when sas is complaining about the non-existence of files, those files are simply not visible for the sas session.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 967 views
  • 0 likes
  • 3 in conversation