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;
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?
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?
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.
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!
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.