BookmarkSubscribeRSS Feed
debusb1
Fluorite | Level 6

I have a user who wants to suppress the automatic 'idx' bookmarks created by proc report when writing to a document using ODS RTF.  Is this possible?

3 REPLIES 3
Ksharp
Super User
Can you clarify your question more ? Post an example/desired output.

Or you want this ?
https://support.sas.com/kb/31/278.html
debusb1
Fluorite | Level 6

Hi!  So I've attached the proc report code and a screen shot of the output that is created.  By default, there is a Word bookmark created called idx.  We have a user who does not like this, and wants no bookmarks in their output.  My guess is that they can only be removed manually.

Ksharp
Super User

Sorry.

It looks like your issue is coming from options 

ANCHOR= 'anchor-name'

or 

BOOKMARK='anchor-name' .

ods rtf file="c:\temp\test.rtf" bookmark='xx';                                                                                                                                                                                                                                                                      
proc report nowd data=sashelp.class; 
run; 
ods rtf close;

 

Unfortunately, I am unable to find some option like NOBOOKMARK.

Maybe @Cynthia_sas  know a solution, or buy a ticket to sas support.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1523 views
  • 0 likes
  • 2 in conversation