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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 857 views
  • 0 likes
  • 3 in conversation