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

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2196 views
  • 0 likes
  • 2 in conversation