<?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: NOTE 49-169: The meaning of an identifier... - how to avoid note without inserting blanks? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/NOTE-49-169-The-meaning-of-an-identifier-how-to-avoid-note/m-p/676516#M204006</link>
    <description>Nice workaround, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I secretly hoped it would be possible to forbid SAS macro compiler to look too deeply into the code it is meant to produce, but this one does the current job, definitely.&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Aug 2020 15:26:40 GMT</pubDate>
    <dc:creator>ute</dc:creator>
    <dc:date>2020-08-13T15:26:40Z</dc:date>
    <item>
      <title>NOTE 49-169: The meaning of an identifier... - how to avoid note without inserting blanks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-49-169-The-meaning-of-an-identifier-how-to-avoid-note/m-p/676466#M203980</link>
      <description>&lt;P&gt;I am trying to write a macro that puts a prefix inside all quoted strings in a list. It does work, but throws Note 49-169 for all prefix that seem not to make sense to SAS.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro prefixstrings(stringlist, prefix);
  %sysfunc(prxchange(s/\'(\w+)/'&amp;amp;prefix$1/,-1,&amp;amp;stringlist))
%mend;

%put %prefixstrings(unquoted test 'quoted test', x);
/* no complaints because apparently '...'x is detected as having a meaning */
%put %prefixstrings(unquoted test 'quoted test', A);
/* NOTE 49-169 ... :-(  */&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is there an easy workaround to avoid this? Putting a blank before &amp;amp;prefix is no option since the result is undesired.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 12:55:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-49-169-The-meaning-of-an-identifier-how-to-avoid-note/m-p/676466#M203980</guid>
      <dc:creator>ute</dc:creator>
      <dc:date>2020-08-13T12:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE 49-169: The meaning of an identifier... - how to avoid note without inserting blanks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-49-169-The-meaning-of-an-identifier-how-to-avoid-note/m-p/676512#M204004</link>
      <description>&lt;P&gt;Put the initial quote into a look-behind assertion, like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro prefixstrings(stringlist, prefix);
  %sysfunc(prxchange(s/(?&amp;lt;=%str(%'))(\w+)/&amp;amp;prefix$1/,-1,&amp;amp;stringlist))
%mend;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Aug 2020 15:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-49-169-The-meaning-of-an-identifier-how-to-avoid-note/m-p/676512#M204004</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2020-08-13T15:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE 49-169: The meaning of an identifier... - how to avoid note without inserting blanks?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-49-169-The-meaning-of-an-identifier-how-to-avoid-note/m-p/676516#M204006</link>
      <description>Nice workaround, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I secretly hoped it would be possible to forbid SAS macro compiler to look too deeply into the code it is meant to produce, but this one does the current job, definitely.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Aug 2020 15:26:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-49-169-The-meaning-of-an-identifier-how-to-avoid-note/m-p/676516#M204006</guid>
      <dc:creator>ute</dc:creator>
      <dc:date>2020-08-13T15:26:40Z</dc:date>
    </item>
  </channel>
</rss>

