BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
plaffey
Calcite | Level 5

When I am trying to draw histograms in Proc Capability I get this error,  I have included some of the log that surrounds this error for content.

SYMBOLGEN: Macro variable NUTR1 resolves to s_iodine

NOTE: For COMPHIST statement 1, histogram bins are determined by the

classification level code = TDcode.

NOTE: Processing beginning for variable dummy.

NOTE: Processing COMPHIST statement number 1.

NOTE: For classification level code = TDcode, the normal kernel estimate for

c=1 has a bandwidth of 21.321 and an AMISE of 561E-9.

WARNING: TITLE1 is too long. Height has been reduced to 82.33 pct of

specified or default size.

NOTE: This SAS session is using a registry in WORK. All changes will be lost

at the end of this session.

ERROR: Insufficient authorization to access

/opt/SAS/config/Lev1/SASApp/sasgraph.png.

NOTE: 2 records written to

/work/SAS_work2374000021C0_sas-eg/SAS_work00B5000021C0_sas-eg/capabili.p

ng.

NOTE: There were 43349 observations read from the data set WORK.POTT.

NOTE: The data set WORK.S_IODINEHIST has 50 observations and 5 variables.

NOTE: PROCEDURE CAPABILITY used (Total process time):

real time 15.86 seconds

cpu time 2.63 seconds

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
plaffey
Calcite | Level 5

G'Day All

What we have found is to insert this code at the start of a programme.

ODS OUTPUT;

ODS GRAPHICS ON;

and that cleared up the error message that we were getting.

View solution in original post

3 REPLIES 3
Doc_Duke
Rhodochrosite | Level 12

This is probably one for Tech Support and your local Unix server admin.

/opt/SAS is where many Unix systems put the common programs and libraries.  Users typically are not allowed write access.

Tech support may be able to tell you how to redirect your .png file or a global setting the Unix admin can change.

Doc Muhlbaier

Duke

ChrisHemedinger
Community Manager

Do you have custom ODS statements in your program?  You need to specify the GPATH= option on the ODS statement to tell SAS where to put the image files.  If you want them to be referenced in a relative path from where your HTML output lands (assuming ODS HTML), then you also want to specify the (URL=) suboption.

http://support.sas.com/documentation/cdl/en/graphref/63022/HTML/default/viewer.htm#a003152012.htm

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!
plaffey
Calcite | Level 5

G'Day All

What we have found is to insert this code at the start of a programme.

ODS OUTPUT;

ODS GRAPHICS ON;

and that cleared up the error message that we were getting.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 3 replies
  • 4891 views
  • 6 likes
  • 3 in conversation