Trying to open a .sas
file from a read-only NFS mount (not sure if it's relevant) on CentOS7 via SAS (v9.4 TS Level 1M5) with the Program Editor and getting the error
ERROR: File is locked, but no other information is available. File=/path/to/sas/file.sas System Error Code = 37.
ERROR: File is in use, /path/to/sas/file.sas
Am not sure what could be causing this. Not sure what processes could be accessing the file aside from the process I am opening the file with and have no problems with accessing the NFS share and opening the file with other applications on the server (eg. Pluma text editor).
Running lslock
on the server, none of these .sas
files show up.
If relevant, the /etc/exports
config for the NFS mount on the exporting server I'm trying to access from the client looks like...
...
/path/to/nfs/share myclientserver(ro,root_squash,sync) someotherserver(...) ...
...
Anyone with more experience have any ideas what could be going on here?
Any other debugging info that should be added to this question?
Program Editor wants to open the file in update mode, which is not possible. Copy the file to a local directory and open it from there.
What kind of program files do you have that are too big to download?
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.