Hello,
I ran a stored process and it gave error:
WARNING: GPATH or PATH is not a writable directory. It will be ignored. ERROR: Cannot write image to /mnt/san_install/sas/sasconfig/Lev1/DXGEN_BI/SGPlot.png. Please ensure that proper disk permissions are set.
It was working fine for me and appreciate to know how to fix this issue.
Thanks!
Herb
Your graph output is trying to write to a SAS install directory which is not a good thing to do. Also stored processes run under a SAS service account, possibly sassrv, and this might explain why SAS is writing there. You can confirm the actual user account by checking in SAS Management Console.
Please post your graph program so we can advise where to change it to direct output to a better folder location.
Hi SASKiwi and Reeza,
Yes, The stored process did not specify the specified the ods in the whole program code, and it did not include %STPBEGIN/%STPEND either for the output display.
I am not able to attached the stored process file, the output part include the sgplot:
proc sgplot data=inpara noautolegend;
reg y=VA x=Obtained / weight=weight;
xaxis label="Obtained (&unit)";
yaxis label="VA (&unit)";
inset "Intercept = &Int" "Slope = &Slope" /
border title="Parameter Estimates" position=topleft
;
run;
Is it possible that the prompts or the execution options change caused the issue? the snipped of the settings is attached.
Thank you for your help!
Herb
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: