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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1053 views
  • 3 likes
  • 1 in conversation