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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 806 views
  • 0 likes
  • 3 in conversation