<?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: Sas MACRO in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sas-MACRO/m-p/610263#M177692</link>
    <description>&lt;P&gt;This article should help you out: &lt;A href="http://support.sas.com/resources/papers/proceedings09/022-2009.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings09/022-2009.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 08 Dec 2019 05:59:32 GMT</pubDate>
    <dc:creator>jvdl</dc:creator>
    <dc:date>2019-12-08T05:59:32Z</dc:date>
    <item>
      <title>Sas MACRO</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-MACRO/m-p/610262#M177691</link>
      <description>&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;i was not comfortable not having any value after "NE", am i understanding it correctly as per my log message in Below program??&lt;/P&gt;&lt;P&gt;i read some documentation ,&amp;nbsp;&lt;A href="https://v8doc.sas.com/sashtml/macro/z0543542.htm" target="_blank"&gt;https://v8doc.sas.com/sashtml/macro/z0543542.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and also referred Carpenters's Guide to Macro, Still not clear .&lt;/P&gt;&lt;P&gt;I am not clear what "NE" is comparing against!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%macro jack(vals);&lt;/P&gt;&lt;P&gt;%if&amp;nbsp; &amp;amp;vals.&amp;nbsp; ne %then %do;&lt;/P&gt;&lt;P&gt;%put "Note:Has some values, therefore logical expression resolves to 1, which is True";&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%else %do;&lt;/P&gt;&lt;P&gt;%put "Note:Does not have any value, therefore logical expression 0, which is false";&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%jack(nothing);&lt;/P&gt;&lt;P&gt;%jack();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, is it going to be true anything except Missing values for &amp;amp;vals.!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;HimalayanCat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2019 05:28:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-MACRO/m-p/610262#M177691</guid>
      <dc:creator>himalayancat</dc:creator>
      <dc:date>2019-12-08T05:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Sas MACRO</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-MACRO/m-p/610263#M177692</link>
      <description>&lt;P&gt;This article should help you out: &lt;A href="http://support.sas.com/resources/papers/proceedings09/022-2009.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings09/022-2009.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2019 05:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-MACRO/m-p/610263#M177692</guid>
      <dc:creator>jvdl</dc:creator>
      <dc:date>2019-12-08T05:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sas MACRO</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-MACRO/m-p/610264#M177693</link>
      <description>Here NE blank space in the if condition indicates that if the macro parameter i.e., &amp;amp;vals is not blank then execute the condition to print in log the message 'Note:Has some values, therefore logical expression resolves to 1, which is True' else output to the log a message saying that 'Note does not have any value, therefore logical expression 0, which is false'</description>
      <pubDate>Sun, 08 Dec 2019 06:08:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-MACRO/m-p/610264#M177693</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-12-08T06:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sas MACRO</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-MACRO/m-p/610267#M177696</link>
      <description>&lt;P&gt;To be more comfortable, do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%if "&amp;amp;vals." ne "" %then %do;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 08 Dec 2019 07:46:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-MACRO/m-p/610267#M177696</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-08T07:46:38Z</dc:date>
    </item>
  </channel>
</rss>

