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
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 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
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
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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.