Desktop productivity for business analysts and programmers

Problem when using Proc Capability and graphing

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

Problem when using Proc Capability and graphing

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


Accepted Solutions
Solution
‎06-07-2012 10:32 AM
New Contributor
Posts: 2

Re: Problem when using Proc Capability and graphing

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


All Replies
Trusted Advisor
Posts: 2,114

Problem when using Proc Capability and graphing

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

Community Manager
Posts: 2,889

Problem when using Proc Capability and graphing

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

Solution
‎06-07-2012 10:32 AM
New Contributor
Posts: 2

Re: Problem when using Proc Capability and graphing

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.

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

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