BookmarkSubscribeRSS Feed
Priyanka_b
Calcite | Level 5

Received below error on Linux 64 bit(SAS 9.4 Grid). Same code is working in EG but not when I execute directly on server

 

ERROR: Insufficient authorization to access /sas/9.4/prod/config/Lev1/SASApp/sasgraph.png.

data cars_small; /* For Scatter Plots*/
set sashelp.cars;
where make in ('Jeep' 'Chevrolet' 'Ford' 'Chrysler');
data cars_large; /* For Bar Charts*/
set sashelp.cars;
n1=(cylinders le 4)*-1;
n2=(cylinders gt 4)*1;
label n1='<= 4 Cylinders' n2='>4 Cylinders';
run;

 

ods html path="/sasuserhome/XYZ" (url=none)
body="barGraph.html";

proc sgplot data=cars_small;
reg x=weight y=MSRP / degree=2 clm;
scatter x=weight y=invoice;
run; quit;

 

Tried to specify gpath=<location where I have complete access> or ods html path but still it is looking for default sas configuration path. Do I need to use any grid enable options?Any suggestions?

Thanks!

1 REPLY 1
Damo
SAS Employee

Hi Priyanka_b,

 

In addition to the GPATH statement, did you try to add the below statement prior to your ODS statement:

  ods _all_ close;

cheers,

Damo

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1922 views
  • 0 likes
  • 2 in conversation