<?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 Question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/102036#M21343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let mo=Aug (every moth i change it i the %let stmnt)&lt;/P&gt;&lt;P&gt;if the current month is Aug will it translate to what I showed by the arrow?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want1;&lt;/P&gt;&lt;P&gt;set have&lt;STRONG&gt;_&amp;amp;mo&lt;/STRONG&gt;;-----------&amp;gt;&lt;STRONG&gt;have_Aug(does it requre a dot after &amp;amp;mo??)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want2;&lt;/P&gt;&lt;P&gt;set have&lt;STRONG&gt;_&amp;amp;mo.13&lt;/STRONG&gt;; -----&amp;gt;&lt;STRONG&gt;have_Aug13(does it require d double dot after &amp;amp;mo?????)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2013 20:07:31 GMT</pubDate>
    <dc:creator>robertrao</dc:creator>
    <dc:date>2013-06-10T20:07:31Z</dc:date>
    <item>
      <title>Macro Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/102036#M21343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%let mo=Aug (every moth i change it i the %let stmnt)&lt;/P&gt;&lt;P&gt;if the current month is Aug will it translate to what I showed by the arrow?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want1;&lt;/P&gt;&lt;P&gt;set have&lt;STRONG&gt;_&amp;amp;mo&lt;/STRONG&gt;;-----------&amp;gt;&lt;STRONG&gt;have_Aug(does it requre a dot after &amp;amp;mo??)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want2;&lt;/P&gt;&lt;P&gt;set have&lt;STRONG&gt;_&amp;amp;mo.13&lt;/STRONG&gt;; -----&amp;gt;&lt;STRONG&gt;have_Aug13(does it require d double dot after &amp;amp;mo?????)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 20:07:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/102036#M21343</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-06-10T20:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/102037#M21344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A dot after &amp;amp;mo in the first case is a style choice. With no addtional text to append to the macro variable resolved value notthing much happens.&lt;/P&gt;&lt;P&gt;In the second case you do not want to add two dots at the value would resolve to have_Aug.13 which would be treated as a library named have_Aug and dataset named 13. You generally only want to have one dot &lt;STRONG&gt;UNLESS&lt;/STRONG&gt;&amp;nbsp; you are appending another dot for syntax purposes such as in liberary.dataset or filename.ext.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 20:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Question/m-p/102037#M21344</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-06-10T20:37:33Z</dc:date>
    </item>
  </channel>
</rss>

