BookmarkSubscribeRSS Feed
moreka
Obsidian | Level 7

 

When I submit the code below, no matter what combination of options I try with it, the output produced has the Table of Contents overlayed on top of the graph (image below).

 

ods pdf contents;
proc univariate data=dataset; var ml; histogram ml; run; 
ods pdf close;

           

       Table of Contents & Histogram.JPG

 

I'm on a 64-bit using SAS 9.4.  

Has anyone else experienced this, what might I be doing incorrectly, and is there a solution/work-around?

 

 

2 REPLIES 2
ballardw
Super User

You should provide the full code, including the ODS PDF destination code as options there may be related to the issue. Also, which version of SAS are you running?

moreka
Obsidian | Level 7

I'm on SAS 9.4, 64-bit Windows 7.

 

 

That really is the only code submitted, other than creating a temporary dataset and running an "options nofmterr;" for the dataset. I'm on a different machine now with a different dataset getting the same results (log attached).

 

I've tried directing it to a specifiic output destination, and tested it with and without about every option for PDF ODS, but it comes out wrong every time the "contents" or "contents=yes" option was included.

 

           Capture.PNG

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1661 views
  • 0 likes
  • 2 in conversation