BookmarkSubscribeRSS Feed
raseff
Calcite | Level 5
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?
2 REPLIES 2
ScottH_SAS
SAS Employee
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
GraphGuy
Meteorite | Level 14
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?

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 2 replies
  • 1065 views
  • 0 likes
  • 3 in conversation