The SAS Output Delivery System and reporting techniques

ODS HTML TEXT =

Reply
Regular Contributor
Posts: 229

ODS HTML TEXT =

Hello,

I have a problem where probably is an easy solution for.

Im creating HTML reports in stored processes. I got a macro variable product_id.

On stored process A there is a link to stored process B. Both stored processes use the input paramater product_id.

When I want to create a link from A to B:

ODS HTML TEXT = "<a href=&SPURL/STOREDPROCESSB&product_id=&product_id> History Product &product_id </a>";

Because the double quotes, every macro variable gets translated... But the first &product_id should not be translated. Is there any simple solution for this?

While writing this I thought of putting the & like &amp; , would that work?

Regular Contributor
Posts: 229

ODS HTML TEXT =

ok it worked Smiley Happy

Ask a Question
Discussion stats
  • 1 reply
  • 150 views
  • 0 likes
  • 1 in conversation