<?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 help with below statement in one program in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930578#M366129</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;IND_F = ID1 &amp;gt;= ID2 &amp;gt;= ID3 ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;One of the program says as below can someone please help what does that mean?&lt;/P&gt;&lt;P&gt;They are all date values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am seeing value of IND_F = 1 for few records not sure how ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kajal&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2024 01:57:53 GMT</pubDate>
    <dc:creator>kajal_30</dc:creator>
    <dc:date>2024-06-03T01:57:53Z</dc:date>
    <item>
      <title>Need help with below statement in one program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930578#M366129</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;IND_F = ID1 &amp;gt;= ID2 &amp;gt;= ID3 ;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;One of the program says as below can someone please help what does that mean?&lt;/P&gt;&lt;P&gt;They are all date values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am seeing value of IND_F = 1 for few records not sure how ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kajal&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 01:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930578#M366129</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2024-06-03T01:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with below statement in one program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930579#M366130</link>
      <description>&lt;P&gt;This is a shortcut, meaning:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;IND_F = (ID1 &amp;gt;= ID2) and (ID2 &amp;gt;= ID3) ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It returns a 0 or a 1, depending on the comparisons.&amp;nbsp; When both comparisons are true, IND_F receives a value of 1.&amp;nbsp; Otherwise it receives a value of 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 02:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930579#M366130</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2024-06-03T02:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with below statement in one program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930580#M366131</link>
      <description>&lt;P&gt;Below is logically the same formulated a bit more traditionally&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;  if (ID1 &amp;gt;= ID2) and (ID2 &amp;gt;= ID3) then IND_F =1;
  else IND_F = 0;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The code you've got is a bit more "shorthand". Everything right of the first equal sign is a logical expression for which SAS returns 1 if true and 0 if false.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 03:37:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930580#M366131</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-06-03T03:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with below statement in one program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930645#M366145</link>
      <description>&lt;P&gt;Thank you so much&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 16:57:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930645#M366145</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2024-06-03T16:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with below statement in one program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930646#M366146</link>
      <description>&lt;P&gt;thank you so much&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 16:58:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-help-with-below-statement-in-one-program/m-p/930646#M366146</guid>
      <dc:creator>kajal_30</dc:creator>
      <dc:date>2024-06-03T16:58:02Z</dc:date>
    </item>
  </channel>
</rss>

