<?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 Need to remove () in macro variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-to-remove-in-macro-variable/m-p/53976#M11373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks data_null_ it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2011 19:59:19 GMT</pubDate>
    <dc:creator>fadtt</dc:creator>
    <dc:date>2011-08-24T19:59:19Z</dc:date>
    <item>
      <title>Need to remove () in macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-remove-in-macro-variable/m-p/53974#M11371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I need assistance in solving this problem. I will like to use macro function to remove the parenthesis in a macro variable.&lt;/P&gt;&lt;P&gt;For example : I have (pat run track club ) as a macro variable &amp;amp;var and i want to use the &amp;amp;var in another code but the () must be off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using %sysfunc(tranwrd(&amp;amp;var,()%str(),%str() )) but it is not working. My code may be wrong .&lt;/P&gt;&lt;P&gt;Please assist to correct and solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 18:04:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-remove-in-macro-variable/m-p/53974#M11371</guid>
      <dc:creator>fadtt</dc:creator>
      <dc:date>2011-08-24T18:04:23Z</dc:date>
    </item>
    <item>
      <title>Need to remove () in macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-remove-in-macro-variable/m-p/53975#M11372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Compress has already been suggested, in your other related thread. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'SAS Monospace';"&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; %let v = (pat run track club);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'SAS Monospace';"&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %let v = %sysfunc(compress(%superQ(v),%str(%(%))));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: black; font-family: 'SAS Monospace';"&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %put NOTE: V=&amp;amp;v;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; color: blue; font-family: 'SAS Monospace';"&gt;NOTE: V=pat run track club&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 18:15:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-remove-in-macro-variable/m-p/53975#M11372</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2011-08-24T18:15:52Z</dc:date>
    </item>
    <item>
      <title>Need to remove () in macro variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-remove-in-macro-variable/m-p/53976#M11373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks data_null_ it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 19:59:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-remove-in-macro-variable/m-p/53976#M11373</guid>
      <dc:creator>fadtt</dc:creator>
      <dc:date>2011-08-24T19:59:19Z</dc:date>
    </item>
  </channel>
</rss>

