BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BriGuy
Calcite | Level 5

(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:

SAS1.jpg

That's exactly what I want.  However, when writing out to PDF later, I get this:

SAS2.jpg

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!

1 ACCEPTED SOLUTION

Accepted Solutions
BriGuy
Calcite | Level 5

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.

View solution in original post

2 REPLIES 2
BriGuy
Calcite | Level 5

Hmm...looks like Problem Note 31278 might apply here.  I might have to revamp the process though.

BriGuy
Calcite | Level 5

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.

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
  • 976 views
  • 3 likes
  • 1 in conversation