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