<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how do i mask a statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260033#M50396</link>
    <description>&lt;P&gt;It was not in quotes for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;%put footnote &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;lt;%nrstr(&amp;amp;footnote.)&amp;gt;;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2016 11:26:21 GMT</pubDate>
    <dc:creator>vraj1</dc:creator>
    <dc:date>2016-03-30T11:26:21Z</dc:date>
    <item>
      <title>how do i mask a statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260022#M50390</link>
      <description>&lt;P&gt;I have a footnote "%s: percentage of successful attempts".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if i use&amp;nbsp;%nrstr(&amp;amp;footnote.) where footnote sontains "%nrstr(&amp;amp;footnote.)"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i get the following warning.&lt;/P&gt;
&lt;P&gt;WARNING: Apparent invocation of macro S not resolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i mask this&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 10:50:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260022#M50390</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2016-03-30T10:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: how do i mask a statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260031#M50394</link>
      <description>&lt;P&gt;Use single quotes instead of double is a quick way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In single quotes SAS won't try and resolve the macro, in double quotes it would. If you also needed to include a macro variable in your footnote this wouldn't work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 11:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260031#M50394</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-30T11:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: how do i mask a statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260033#M50396</link>
      <description>&lt;P&gt;It was not in quotes for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;%put footnote &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;lt;%nrstr(&amp;amp;footnote.)&amp;gt;;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 11:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260033#M50396</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2016-03-30T11:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: how do i mask a statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260039#M50397</link>
      <description>&lt;P&gt;So, can you provide some example of what it is your doing. &amp;nbsp;Why have the footnote in a macro variable, normally there would be lots of footnotes, so easier to store them in a dataset, then call it from there:&lt;/P&gt;
&lt;PRE&gt;data _null_;
  set footnotes;
  call execute(cat('footnote',strip(put(_n_,best.)),' j=l "',strip(footnote),'";'));
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:03:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260039#M50397</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-03-30T12:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: how do i mask a statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260041#M50398</link>
      <description>&lt;P&gt;I have a dataset which has all footnotes for each table and importing the dataset for each particular program and calling them&lt;/P&gt;
&lt;P&gt;call symput('footnote',%nrbquote(strip(footnote))); in the datastep then i am using&amp;nbsp;%put footnote &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &amp;lt;%nrbquote(&amp;amp;footnote.)&amp;gt;;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:16:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260041#M50398</guid>
      <dc:creator>vraj1</dc:creator>
      <dc:date>2016-03-30T12:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: how do i mask a statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260045#M50399</link>
      <description>&lt;P&gt;Yes, so you could try the datastep I provided above, to simply generate the statements from the datastep - avoid all the macro variables and other processing.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:29:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260045#M50399</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-03-30T12:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: how do i mask a statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260056#M50404</link>
      <description>&lt;P&gt;Can you post actual SAs code that replicates the error message? &amp;nbsp;It is unclear if you are talking about the FOOTNOTE statement or the creation of a macro variable named FOOTNOTE or expanding the reference to a macro varaible named FOOTNOTE.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:49:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-do-i-mask-a-statement/m-p/260056#M50404</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-03-30T12:49:59Z</dc:date>
    </item>
  </channel>
</rss>

