<?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 in() and = operator in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/in-and-operator/m-p/60785#M13204</link>
    <description>I am using following condition&lt;BR /&gt;
&lt;BR /&gt;
 if  li_date ne 0 and   ((logging_date - datejul(li_date)) &amp;lt;= 180) and  (NEGAUTH_STAT_CD in ('LI') or NEGAUTH_REM1_STAT_CD in ('LI'))&lt;BR /&gt;
&lt;BR /&gt;
I am getting error in datejul(li_date) function as few values of li_date = 0, i used li_date ne 0 to avoid this condition but error is keep comming.&lt;BR /&gt;
&lt;BR /&gt;
when I changed  NEGAUTH_STAT_CD in ('LI') to  NEGAUTH_STAT_CD ='LI' , code works fine.&lt;BR /&gt;
&lt;BR /&gt;
Could anyone explain, why in() operator shows error and = opertor doen't.</description>
    <pubDate>Tue, 11 Nov 2008 13:37:43 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-11-11T13:37:43Z</dc:date>
    <item>
      <title>in() and = operator</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-and-operator/m-p/60785#M13204</link>
      <description>I am using following condition&lt;BR /&gt;
&lt;BR /&gt;
 if  li_date ne 0 and   ((logging_date - datejul(li_date)) &amp;lt;= 180) and  (NEGAUTH_STAT_CD in ('LI') or NEGAUTH_REM1_STAT_CD in ('LI'))&lt;BR /&gt;
&lt;BR /&gt;
I am getting error in datejul(li_date) function as few values of li_date = 0, i used li_date ne 0 to avoid this condition but error is keep comming.&lt;BR /&gt;
&lt;BR /&gt;
when I changed  NEGAUTH_STAT_CD in ('LI') to  NEGAUTH_STAT_CD ='LI' , code works fine.&lt;BR /&gt;
&lt;BR /&gt;
Could anyone explain, why in() operator shows error and = opertor doen't.</description>
      <pubDate>Tue, 11 Nov 2008 13:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-and-operator/m-p/60785#M13204</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-11-11T13:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: in() and = operator</title>
      <link>https://communities.sas.com/t5/SAS-Programming/in-and-operator/m-p/60786#M13205</link>
      <description>You may want to try to post your full code and question again. You might have a problem with this:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/forums/thread.jspa?messageID=15090㫲" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=15090㫲&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Linus</description>
      <pubDate>Tue, 11 Nov 2008 15:28:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/in-and-operator/m-p/60786#M13205</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-11-11T15:28:21Z</dc:date>
    </item>
  </channel>
</rss>

