<?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 Does %superq work with a construct like &amp;&amp;x&amp;i ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Does-superq-work-with-a-construct-like-x-i/m-p/132392#M26981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have many macro variables, &amp;amp;x1, &amp;amp;x2, &amp;amp;x3 ... containing text strings. I loop through all of them, using &amp;amp;&amp;amp;x&amp;amp;i to refer to each variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one or more of the text strings, there might a percent sign or ampersand, for example the text string assigned to &amp;amp;x3 is: Image_Test BfCent_AB (%rms) 114&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use the %superq so that SAS will not resolve the apparent macro referece %rms in the text strign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to use something like %superq(&amp;amp;&amp;amp;x&amp;amp;i) in my loop, but of course that won't work within %superq. Is there a modification or workaround that would allow this to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried %nrbquote(&amp;amp;&amp;amp;x&amp;amp;i) and that appears to work, but I get a worrisome WARNING in the SASLog that says:&lt;/P&gt;&lt;P&gt;Apparent invocation of macro RMS not resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Sep 2013 17:57:26 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2013-09-09T17:57:26Z</dc:date>
    <item>
      <title>Does %superq work with a construct like &amp;&amp;x&amp;i ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-superq-work-with-a-construct-like-x-i/m-p/132392#M26981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have many macro variables, &amp;amp;x1, &amp;amp;x2, &amp;amp;x3 ... containing text strings. I loop through all of them, using &amp;amp;&amp;amp;x&amp;amp;i to refer to each variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In one or more of the text strings, there might a percent sign or ampersand, for example the text string assigned to &amp;amp;x3 is: Image_Test BfCent_AB (%rms) 114&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use the %superq so that SAS will not resolve the apparent macro referece %rms in the text strign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to use something like %superq(&amp;amp;&amp;amp;x&amp;amp;i) in my loop, but of course that won't work within %superq. Is there a modification or workaround that would allow this to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried %nrbquote(&amp;amp;&amp;amp;x&amp;amp;i) and that appears to work, but I get a worrisome WARNING in the SASLog that says:&lt;/P&gt;&lt;P&gt;Apparent invocation of macro RMS not resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 17:57:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-superq-work-with-a-construct-like-x-i/m-p/132392#M26981</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2013-09-09T17:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Does %superq work with a construct like &amp;&amp;x&amp;i ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-superq-work-with-a-construct-like-x-i/m-p/132393#M26982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this %superQ(X&amp;amp;i)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With SUPERQ you "point" the location of the data you want quote.&amp;nbsp; With NRBQUOTE you quote the resolved value of a macro variable reference.&amp;nbsp; Or something like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 18:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-superq-work-with-a-construct-like-x-i/m-p/132393#M26982</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-09-09T18:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Does %superq work with a construct like &amp;&amp;x&amp;i ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-superq-work-with-a-construct-like-x-i/m-p/132394#M26983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that works. It's one of those "why didn't I think of that" moments. Thanks again, data _null_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2013 18:33:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-superq-work-with-a-construct-like-x-i/m-p/132394#M26983</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2013-09-09T18:33:21Z</dc:date>
    </item>
  </channel>
</rss>

