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

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 4136 views
  • 6 likes
  • 3 in conversation