Hi,
I'm using SAS MC to schedule programs. But when I schedule them I'm getting the following error in log file:
ERROR: Insufficient authorization to access /opt/sas94/config/Lev1/SASApp/ABCD.lst
What is the problem?
Hi Riana,
I don't know what your program does but to start, what is the behavior if you add an "ods listing close;" statement at the top of your code?
If that does not resolve the issue, we can try to change the default folder where output files are created.
Hope that helps.
Cheers,
Damo
Hi Riana,
I don't know what your program does but to start, what is the behavior if you add an "ods listing close;" statement at the top of your code?
If that does not resolve the issue, we can try to change the default folder where output files are created.
Hope that helps.
Cheers,
Damo
Thank you @Damo, @jklaverstijn @alexal ,adding "ods listing close;" resolve the issue 🙂
But I'm a little curious about the second solution: "... we can try to change the default folder where output files are created."
Can you please explain more about it?
An option I did for our workspace server was to add
cd $HOME
to the WorkspaceServer_usermods.sh file. You can do the same in the sasbatch_usermods.sh.
Hi @Riana
Great news.
The PRINT System Option: Windows could be what you're looking for.
It will allow you to direct all your *.lst files to a dedicated folder.
Cheers,
Damo
Your info is very lomited but it does ring a bell. Please elaborate if my response misses the point.
Your program tries to create an output file in the default location (current working directory) of the SASApp server. Users are generally not allowed to create files in that location, nor is it recommended.
IF this program is run through the sas data step batch server than configure the log and print locations such that they end up in a more suitable place. This can either be somewhere under the user's home directory (I'm not enthousiastic about that idea) or a specific location dedicated to this purpose. Talk to your SAS administrator about this configuration aspect.
The output location can be configured via SASMC. It's in the properties of DATA Step Batch server.
Hope this helps,
-- Jan.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.