I am trying to run a sas 9.3 batch program and there is the following error
insufficient authorization to access c:\Windows\system32
Thanks for the solution,
When reporting problems, make it a point to always include the complete log of the failed step(s).
In the case of a failed batch run, make sure that all necessary files (source, log, output) are specified with a full path that you have permission to use.
How are you running your batch program? (cmd window, batch file, powershell, VB script, scheduler)
To quote myself:
"How are you running your batch program? (cmd window, batch file, powershell, VB script, scheduler)"
Using Windows 7 with Task Scheduler
Windows 7 Professional
I just hit a similar error. In my case it was because I did not include the -log option, and it looks like when a scheduled task runs as administrator, it writes the log to c:\WINDOWS\system32. I would double check that your -log option is in the command string.
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 save with the early bird rate—just $795!
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.