<?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 to deal with specific tokens - ' &amp;amp; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-deal-with-specific-tokens-amp/m-p/412093#M100766</link>
    <description>&lt;P&gt;%nrbquote doesn't work on SQL or ordinary SAS variables, it only works on macro variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You want to remove %nrbquote from PROC SQL, and then use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%put %superq(n1) &amp;amp;n2 %nrbquote(&amp;amp;n3) %quote(&amp;amp;n4);
&lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Nov 2017 19:44:12 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2017-11-09T19:44:12Z</dc:date>
    <item>
      <title>how to deal with specific tokens - ' &amp;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-deal-with-specific-tokens-amp/m-p/412087#M100763</link>
      <description>&lt;P&gt;Hello I have some specific tokens. How to deal with them. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data tt;&lt;BR /&gt;input name $8.;&lt;BR /&gt;datalines;&lt;BR /&gt;A&amp;amp;M&lt;BR /&gt;A of M&lt;BR /&gt;M'M&lt;/P&gt;&lt;P&gt;M-M&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;BR /&gt;select %nrbquote(name) into :n1 - :n4 from tt;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;%put &amp;amp;n1. &amp;amp;n2. &amp;amp;n3. &amp;amp;n4.;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the log window shows nothing.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 19:15:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-deal-with-specific-tokens-amp/m-p/412087#M100763</guid>
      <dc:creator>daisy6</dc:creator>
      <dc:date>2017-11-09T19:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to deal with specific tokens - ' &amp;</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-deal-with-specific-tokens-amp/m-p/412093#M100766</link>
      <description>&lt;P&gt;%nrbquote doesn't work on SQL or ordinary SAS variables, it only works on macro variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You want to remove %nrbquote from PROC SQL, and then use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;%put %superq(n1) &amp;amp;n2 %nrbquote(&amp;amp;n3) %quote(&amp;amp;n4);
&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Nov 2017 19:44:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-deal-with-specific-tokens-amp/m-p/412093#M100766</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-11-09T19:44:12Z</dc:date>
    </item>
  </channel>
</rss>

