<?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: Issue with the &amp;quot;%&amp;quot; Special Character in a %qscan macro array in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-the-quot-quot-Special-Character-in-a-qscan-macro/m-p/419601#M280487</link>
    <description>&lt;P&gt;One would question why a percent sign is even in the values. If you are manipulating data (macro language being a poor choice for that in general) then the percent sign mostly shouldn't be involved just the decimal form. If you are displaying data, (again not the best use of macro language) the format of a numeric value is likely what should place the % sign as humans really should be the only ones that care.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And even though there are some question uses of "macro array" there is no such actual supported structure by SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2017 15:39:37 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-12-08T15:39:37Z</dc:date>
    <item>
      <title>Issue with the "%" Special Character in a %qscan macro array</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-the-quot-quot-Special-Character-in-a-qscan-macro/m-p/419571#M280484</link>
      <description>&lt;P&gt;I am attempting use read in a macro array that has the "%" special character in the text.&amp;nbsp; I attempted using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%let&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; Med = &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%qscan&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%nrbquote&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;(&amp;amp;test1),&amp;amp;i.,9999);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;which resolved most of the issues with characters such as ' or + etc.. but it did not work for the following character string&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5% SALINE+2%NAHCO399996.6%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would you recommend when reading in the "%" special character in a text string?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 14:43:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-the-quot-quot-Special-Character-in-a-qscan-macro/m-p/419571#M280484</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2017-12-08T14:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the "%" Special Character in a %qscan macro array</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-the-quot-quot-Special-Character-in-a-qscan-macro/m-p/419582#M280485</link>
      <description>&lt;P&gt;Try %SQPERQ&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let Med = %qscan(%superq(test1),&amp;amp;i.,999);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Dec 2017 15:04:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-the-quot-quot-Special-Character-in-a-qscan-macro/m-p/419582#M280485</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-12-08T15:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the "%" Special Character in a %qscan macro array</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-the-quot-quot-Special-Character-in-a-qscan-macro/m-p/419593#M280486</link>
      <description>&lt;P&gt;Ksharp thanks for the response.&amp;nbsp; %superq does not work in this circumstance.&amp;nbsp; The log issued many error messages if superq was used and the program abended.&amp;nbsp; %nrbquote issued several warnings but ran for the most part.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 15:24:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-the-quot-quot-Special-Character-in-a-qscan-macro/m-p/419593#M280486</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2017-12-08T15:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with the "%" Special Character in a %qscan macro array</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-with-the-quot-quot-Special-Character-in-a-qscan-macro/m-p/419601#M280487</link>
      <description>&lt;P&gt;One would question why a percent sign is even in the values. If you are manipulating data (macro language being a poor choice for that in general) then the percent sign mostly shouldn't be involved just the decimal form. If you are displaying data, (again not the best use of macro language) the format of a numeric value is likely what should place the % sign as humans really should be the only ones that care.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And even though there are some question uses of "macro array" there is no such actual supported structure by SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 15:39:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-with-the-quot-quot-Special-Character-in-a-qscan-macro/m-p/419601#M280487</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-12-08T15:39:37Z</dc:date>
    </item>
  </channel>
</rss>

