Hello
I have this code which output a tabulate table to excel for me. It works fine when it run in SAS EG but when run through SAS management console I get insufficient access error. I believe I need to add noprint function as I had the same error when I used proc sql with count functions but proc tabulate doesn't seem to to have one. I have tried ods select none but this stop the tabulate table to export to excel.
Hi:
My guess is that the problem is write access to the location where you are trying to write the XLSX output file. OR, if your code is inside a stored process that you haven't modified the code to run on the Stored Process Server or the Workspace server (if it is a stored process) or you haven't modified the code to run in a SAS Studio job if you are using Viya and the CAS server. This is probably something that you need to consult with Tech Support about. The way you modify your code and define your folder for writing output will be different depending on whether you're using stored processes and the metadata server on the BI Platform or whether you're using code in SAS Studio on a Viya/CAS platform.
Cynthia
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.