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.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.