BookmarkSubscribeRSS Feed
dblissett
Fluorite | Level 6

I am getting an error that I have never had before and I cannot find any information on it. 

 

"Error: Unable to establish ODS Graphics context"

 

Any help would be appreciated. 

 

 

3 REPLIES 3
Reeza
Super User
What code is generating this error?
dblissett
Fluorite | Level 6

The code is part of a very large loop. Here is one of the charts I make. 

 

ODS region y=0.01in Height= 3in Width=4in;
ODS GRAPHICS / Height=2.5in Width=3.5in ;
Proc SGPLOT data=REGI_Agg_PDF1_&C. SGANNO=REGI_SGANNO_RUU description="";
VbarPARM response=RUU Category=Year / Barwidth=0.75 FILLATTRS=(color=&colour);
Title "Sales Activity (&monthfull only)";
Xaxis Valuesrotate=vertical display=(nolabel) Valueattrs=(size=14 weight=BOLD);
yaxis display=none;
Run;

mtnbikerjoshua
Obsidian | Level 7

While researching this error, I found the following usage note that links the error to the USER system option. While I am still confused about the error behaviour I am seeing, this may be useful to you or others with the same error.

 

68936 - Using the SAS® SG procedures or ODS Graphics with the USER system option results in "Error: ...

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 2513 views
  • 1 like
  • 3 in conversation