<?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 Macro function to mask decimal place in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-function-to-mask-decimal-place/m-p/88923#M18915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will probably be easy for some one, but for the life of me I can't figure it out.&lt;/P&gt;&lt;P&gt;So, there is a macro variable like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; %let ICD_CODE =&amp;nbsp; V85.5&lt;/P&gt;&lt;P&gt;But I need to pass this macro variable as 'V855'&amp;nbsp; in query because this one&lt;/P&gt;&lt;P&gt;particular query uses that form.&amp;nbsp;&amp;nbsp; All of the other queries uses the regular&lt;/P&gt;&lt;P&gt;macro variable value, V85.5.&lt;/P&gt;&lt;P&gt;So, how can I mask the decimal in the macro variable to pass to the query ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2013 02:10:39 GMT</pubDate>
    <dc:creator>suncawy</dc:creator>
    <dc:date>2013-01-29T02:10:39Z</dc:date>
    <item>
      <title>Macro function to mask decimal place</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-function-to-mask-decimal-place/m-p/88923#M18915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will probably be easy for some one, but for the life of me I can't figure it out.&lt;/P&gt;&lt;P&gt;So, there is a macro variable like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; %let ICD_CODE =&amp;nbsp; V85.5&lt;/P&gt;&lt;P&gt;But I need to pass this macro variable as 'V855'&amp;nbsp; in query because this one&lt;/P&gt;&lt;P&gt;particular query uses that form.&amp;nbsp;&amp;nbsp; All of the other queries uses the regular&lt;/P&gt;&lt;P&gt;macro variable value, V85.5.&lt;/P&gt;&lt;P&gt;So, how can I mask the decimal in the macro variable to pass to the query ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 02:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-function-to-mask-decimal-place/m-p/88923#M18915</guid>
      <dc:creator>suncawy</dc:creator>
      <dc:date>2013-01-29T02:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Macro function to mask decimal place</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-function-to-mask-decimal-place/m-p/88924#M18916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use %SYSFUNC() to call the COMPRESS() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 14pt;"&gt;%sysfunc(compress(&amp;amp;icd_code,.))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 03:11:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-function-to-mask-decimal-place/m-p/88924#M18916</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-01-29T03:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Macro function to mask decimal place</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-function-to-mask-decimal-place/m-p/88925#M18917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You, Tom !&amp;nbsp; that was perfect.&amp;nbsp;&amp;nbsp; I knew someone would have the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 04:38:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-function-to-mask-decimal-place/m-p/88925#M18917</guid>
      <dc:creator>suncawy</dc:creator>
      <dc:date>2013-01-29T04:38:48Z</dc:date>
    </item>
  </channel>
</rss>

