Data visualization with SAS programming

ODS PDF gplot not output following proc report

Reply
N/A
Posts: 1

ODS PDF gplot not output following proc report

In 9.1.3 I created a PDF with output from proc report followed by proc gplot. In SAS 9.2 phase 2 gplot graphic are not going to the PDF. There is a space in the PDF where the graph should be but no graphic. If I output gplot first and then report I get both. Am I missing some setting?
SAS Employee
Posts: 50

Re: ODS PDF gplot not output following proc report

Hi,

Would it be possible for you to email a snippet of code and a snapshot of your output to ods@sas.com.

I would love to check it out and see if I can help

Scott
SAS Employee
Posts: 967

Re: ODS PDF gplot not output following proc report

I wrote the following little sample, and ran it at both v9.1.3 and v9.2, and it produced a pdf containing both the "proc report" and the "proc gplot" in both versions of SAS:

%let name=pdf002;

ods listing close;
ods pdf file="&name..pdf" notoc;

title "Proc Report";
proc report data=sashelp.class;
run;

title "Followed by Proc Gplot";
proc gplot data=sashelp.class;
plot height*age=sex;
run;

ods pdf close;
ods listing;



Does the above code work ok for you?
If the above code works ok for you, can you post up some example code that triggers the problem you're seeing?
Ask a Question
Discussion stats
  • 2 replies
  • 176 views
  • 0 likes
  • 3 in conversation