(SAS 9.2 on WIndows) I am using ODS Document to write out a document (it consists of a bunch of proc reports). Then, I am using proc document to make new file locations, copy old sections there and give meaningful labels with setlabel. Here is how it looks in the SAS Documents viewer:
That's exactly what I want. However, when writing out to PDF later, I get this:
I don't know how to get rid of those "Table 1" bookmarks! They link to the same page as the bookmark just above. My hope was that my labels in proc document would overwrite these "Table 1", not add new entries to the TOC.
Thanks!
Yes - once I used the code example in Problem Note 31278 it worked. The trick was to use:
proc report data = xyz contents = " ";
Then move the TOC text down to the "break before" statement in proc report. Kind of roundabout, but it works.
Hmm...looks like Problem Note 31278 might apply here. I might have to revamp the process though.
Yes - once I used the code example in Problem Note 31278 it worked. The trick was to use:
proc report data = xyz contents = " ";
Then move the TOC text down to the "break before" statement in proc report. Kind of roundabout, but it works.
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.