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

Hello Experts,

 

I create the document with odsout obj();

In my footnote I have :

        footnote6 J=left font =Arial  HEIGHT=7pt  '^{style[leftmargin=.6in bottommargin=0.5in]FASV_&Code._v2022042501}'; 

The macro variable &Code. is resolved in the document, but in foot note I have this :

SASdevAnneMarie_0-1650896828188.png

How to appear the macrovariable in footnote ?

 

Thank you !

 

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

Use code that actually attempts to resolve the macro variable.

 

The macro processor ignores the text inside of strings that are bounded on the outside by single quotes.

If you want the macro processor to process the footnote text then use double quote characters instead.

footnote6 J=left font =Arial  HEIGHT=7pt  "^{style[leftmargin=.6in bottommargin=0.5in]FASV_&Code._v2022042501}"; 

View solution in original post

2 REPLIES 2
Tom
Super User Tom
Super User

Use code that actually attempts to resolve the macro variable.

 

The macro processor ignores the text inside of strings that are bounded on the outside by single quotes.

If you want the macro processor to process the footnote text then use double quote characters instead.

footnote6 J=left font =Arial  HEIGHT=7pt  "^{style[leftmargin=.6in bottommargin=0.5in]FASV_&Code._v2022042501}"; 
SASdevAnneMarie
Barite | Level 11
Thank you, Tom !

That works !

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
  • 450 views
  • 1 like
  • 2 in conversation