SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
jojo
Obsidian | Level 7

Why can't see the graph after running the code below, there was no errors in the log file.

ods graphics on

proc phreg data = sample plots(overlay)=survival;

......

ods graphics off

4 REPLIES 4
data_null__
Jade | Level 19

Lack of semicolons perhaps?

jojo
Obsidian | Level 7

there were the semicolons. All ods graphics are not working, I use sas 9.2.

ods graphics on;

proc freq;

   tables v1 * v2;

run;

ods graphics off;

Cynthia_sas
SAS Super FREQ

Hi:

In SAS 9.2, ODS GRAPHICS was part of SAS/GRAPH and you needed to have a SAS/GRAPH license to use ODS GRAPHICS. You might need to make sure that ODS LISTING is on, IF you have SAS/GRAPH. Otherwise, if you do have SAS/GRAPH and the LISTING destination was on when you ran this, then your only recourse is probably to work with Tech Support. They might be the only folks who have SAS 9.2 to test with.

cynthia

jojo
Obsidian | Level 7

I can use proc gplot, so does the mean I have SAS/graph? I have tried to have the ods listing on, still can't see the graph, there was no warning or errors showed in the log file

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1668 views
  • 0 likes
  • 3 in conversation