BookmarkSubscribeRSS Feed
Cristina_inet
Fluorite | Level 6

Good morning!

I am using the “ods pdf Anchor” option in a pdf report as follows:

 

Cristina_inet_0-1713351869876.png

 

 

The hyperlink works fine for the first few titles until there comes a point where it stops linking the page correctly.

In the following example, we see that after running the program the anchor for page 5 (v_num) is IDX5.

Cristina_inet_1-1713351896159.png

 

However, the IDX 5 link does not take me to the corresponding page.

Cristina_inet_2-1713351911012.png

 

Could you tell me how to solve this problem?
Would it be possible to see the properties of these hyperlinks to know the page you are using?

Thank you,

2 REPLIES 2
JosvanderVelden
SAS Super FREQ
Can you provide code for a simplified example (without sensitive/private data) that we can use to test?

From your description we (or at least I) cannot identify a cause for the reported issue.
ballardw
Super User

I wonder if we are seeing one of the odd effects of using the * <text>; style of comment text with the macro language.

 

You might try, as an experiment, replacing the * characters in the macro Crea_ancla with a more neutral, in terms of macro language, text character like an underscore _ and see if that still fails in the same place.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 2 replies
  • 764 views
  • 0 likes
  • 3 in conversation