<?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: macros in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/macros/m-p/240838#M268358</link>
    <description>&lt;P&gt;SAS language can interpret 2 as either character or numeric, depending on the context:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xrays=2;&lt;/P&gt;
&lt;P&gt;robot='R2D2';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Macro language is not determining whether "2" is character or numeric. &amp;nbsp;It is merely substituting "2" into the program, making it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc print data=data;&lt;/P&gt;
&lt;P&gt;where rating=2;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS language then interprets the program, and decides what each word means. &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Dec 2015 21:42:01 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2015-12-24T21:42:01Z</dc:date>
    <item>
      <title>macros</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macros/m-p/240811#M268356</link>
      <description>&lt;P&gt;%let a=2 here a is a macro variable and is character and if i write ths&lt;/P&gt;&lt;P&gt;proc print data=data;&lt;/P&gt;&lt;P&gt;where rating=&amp;amp;a;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;then records with rating=2 is coming.How ths character is getting resolved as numeric over here?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 16:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macros/m-p/240811#M268356</guid>
      <dc:creator>pawandh</dc:creator>
      <dc:date>2015-12-24T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: macros</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macros/m-p/240816#M268357</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;Macro variables contain only character data. However, the macro facility has features that enable a variable to be evaluated as a number when it contains character data that can be interpreted as a number.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#a002293823.htm" target="_self"&gt;Introduction to Macro Variables&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 16:25:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macros/m-p/240816#M268357</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2015-12-24T16:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: macros</title>
      <link>https://communities.sas.com/t5/SAS-Programming/macros/m-p/240838#M268358</link>
      <description>&lt;P&gt;SAS language can interpret 2 as either character or numeric, depending on the context:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;xrays=2;&lt;/P&gt;
&lt;P&gt;robot='R2D2';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Macro language is not determining whether "2" is character or numeric. &amp;nbsp;It is merely substituting "2" into the program, making it:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc print data=data;&lt;/P&gt;
&lt;P&gt;where rating=2;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS language then interprets the program, and decides what each word means. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 21:42:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/macros/m-p/240838#M268358</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-12-24T21:42:01Z</dc:date>
    </item>
  </channel>
</rss>

