Help using Base SAS procedures

ods graphics

Reply
Contributor
Posts: 50

ods graphics

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

Respected Advisor
Posts: 3,799

Re: ods graphics

Lack of semicolons perhaps?

Contributor
Posts: 50

Re: ods graphics

Posted in reply to data_null__

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;

SAS Super FREQ
Posts: 8,864

Re: ods graphics

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

Contributor
Posts: 50

Re: ods graphics

Posted in reply to Cynthia_sas

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

Ask a Question
Discussion stats
  • 4 replies
  • 166 views
  • 0 likes
  • 3 in conversation