Hi Guys,
I'm getting below error message when I'm executing SAS code.
ERROR: Windows error code: 5 in hc_disk_close for C:\Users\XXXXXXX\AppData\Local\Temp\2\SAS
Temporary Files\_TD16076_ALUSFW-W10073_\sastmp-000000061.sas7butl, Access is denied.
ERROR: File WORK.'SASTMP-000000061'n.UTILITY is damaged. I/O processing did not complete.
ERROR: File WORK.'SASTMP-000000061'n.UTILITY is not open.
Need help
Thanks
I suggest you try the program on another PC if possible. If it works on that then your PC likely has a hardware or software fault.
On the assumption that you are running SAS locally on your PC:
I'm using PC SAS and I have 56GB C drive free storage.
I have write access to this location C:\Users\XXXXXXX\AppData\Local\Temp\2\SAS
Temporary Files
Is this an intermittent problem or does it happen every time you run this program? Windows error code 5 relates to access being denied to update a file. If it is happening consistently then I suggest you open a Tech Support track with SAS.
It happens everytime when every I run this program. I will check with Admin team.
I suggest you try the program on another PC if possible. If it works on that then your PC likely has a hardware or software fault.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.