BookmarkSubscribeRSS Feed
Medidata
Fluorite | Level 6

Hello,

I am SAS layman user. I have been trying to apply ODS codes present in the Kaplan graph manual but each time I apply the codes it gives me the following error;
SAS errorX.PNG


I am using the following code from the Kaplan graph manual;
SAS error x2.PNG



Can anyone please tell me what I am doing incorrect or can you please rectify my code?

1 REPLY 1
Reeza
Super User

The code shown is for SAS Foundation/Base SAS, not the Studio version.
You would need to either explicitly create an html output file so add a FILE to the ODS HTML statement (I recommend HTML5 not HTML) or manually switch your style in the Preferences tab.

I'm not sure how to change the style in SAS Studio via syntax without explicitly specifying a file.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1 reply
  • 292 views
  • 0 likes
  • 2 in conversation