BookmarkSubscribeRSS Feed
Fred_Gavin
Calcite | Level 5
Dear All,

I am running proc sgplot in EG 4.22. When I run the code, the plot actually appears, but there is a error message in the log:

Error: insufficient authorization to access C:\Windows\system32\sgplot1.png.
What did happen to this, and how can I get rid of it?

Thank you very much.
1 REPLY 1
ChrisHemedinger
Community Manager
In your ODS statement, be sure to include the GPATH= option to tell SAS where to put the graph files.

ods html file="c:\myoutput\file.html" gpath="c:\myoutput" /* other options */;

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 10431 views
  • 1 like
  • 2 in conversation