Learning SAS? Welcome to the exclusive online community for all SAS learners.

Error Message in SAS University Edition

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 12
Accepted Solution

Error Message in SAS University Edition

Hello,

 

I hope I'm not bothering anybody with my tons of newbie questions but I'm kind of under time pressure and have not figured this out after searching solutions&googling for quite some time..

 

This is part of a macro code I am trying to run. It plots the desired graphs but does not output the data set to a permanent file.

 

ODS GRAPHICS / RESET IMAGENAME = "&country._&start._&end." IMAGEFMT =PNG;
ODS HTML GPATH = '/folder/myfolders/' image_dpi =300;

proc sgplot data=WORK.CARPLOT1_&country._&number.;
	title "Cumulative Average Abnormal Return for Event Window (&start.,&end.)";
	series x=Date y=CAAR / transparency=0.0;
	xaxis grid;
	yaxis grid label="CAAR(%)"; 
run;

ods graphics / reset;
title;
 NOTE: Writing HTML Body file: sashtml74.htm
 ERROR: Insufficient authorization to access /opt/sasinside/SASConfig/Lev1/SASApp/sashtml74.htm.
 ERROR: No body file. HTML output will not be created.

I think the problem is that I am using SAS University Edition / SAS Studio and need to adapt this code somehow. Like various threads suggested I am using the shared folder, so what else could I be doing wrong?

 

Greatly appreciate your help!


Accepted Solutions
Solution
a week ago
PROC Star
Posts: 7,630

Re: Error Message in SAS University Edition

I was able to get it to run by adding a path option. i.e.:

ODS HTML path='/folders/myfolders'
         GPATH = '/folders/myfolders/' image_dpi =300;

Art, CEO, AnalystFinder.com

 

View solution in original post


All Replies
PROC Star
Posts: 7,630

Re: Error Message in SAS University Edition

Change:

ODS HTML GPATH = '/folder/myfolders/' image_dpi =300;

to

ODS HTML GPATH = '/folders/myfolders/' image_dpi =300;

Art, CEO, AnalystFinder.com

Occasional Contributor
Posts: 12

Re: Error Message in SAS University Edition

thanks for your answer.

unfortunately i still get the error message

Super User
Posts: 20,688

Re: Error Message in SAS University Edition

Your path is FOLDER, you missed the S at the end.

 

/folders/myfolders/  

 

Also, you can specify it directly to an RTF or HTML file.

 

ods html gpath='/folders/myfolders/' file='/folders/myfolders/myHTML.html' style=meadow <rest of options>;
Solution
a week ago
PROC Star
Posts: 7,630

Re: Error Message in SAS University Edition

I was able to get it to run by adding a path option. i.e.:

ODS HTML path='/folders/myfolders'
         GPATH = '/folders/myfolders/' image_dpi =300;

Art, CEO, AnalystFinder.com

 

☑ This topic is solved.

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

Discussion stats
  • 4 replies
  • 255 views
  • 1 like
  • 3 in conversation