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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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