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.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.