<?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: Where condition with multiple variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Where-condition-with-multiple-variables/m-p/445037#M283070</link>
    <description>Do you have "proc sql;" before and "quit;" after your select-statement?</description>
    <pubDate>Tue, 13 Mar 2018 05:36:10 GMT</pubDate>
    <dc:creator>error_prone</dc:creator>
    <dc:date>2018-03-13T05:36:10Z</dc:date>
    <item>
      <title>Where condition with multiple variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Where-condition-with-multiple-variables/m-p/445035#M283069</link>
      <description>&lt;P&gt;I am trying to pull records that are equal to 'Unknown' and DRG =469. What is wrong with my where statement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select count(desy_sort_key) from etl.inp_claims_lds2013_2016 where Age_Range='Unknown' and clm_drg_cd ='469';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;LOG BELOW&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;61&lt;BR /&gt;62 select count(desy_sort_key) from etl.inp_claims_lds2013_2016 where Age_Range='Unknown'&lt;BR /&gt;______&lt;BR /&gt;180&lt;BR /&gt;62 ! and clm_drg_cd ='469';&lt;BR /&gt;&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;&lt;BR /&gt;63&lt;BR /&gt;64 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;77&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 05:32:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Where-condition-with-multiple-variables/m-p/445035#M283069</guid>
      <dc:creator>fpascal</dc:creator>
      <dc:date>2018-03-13T05:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition with multiple variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Where-condition-with-multiple-variables/m-p/445037#M283070</link>
      <description>Do you have "proc sql;" before and "quit;" after your select-statement?</description>
      <pubDate>Tue, 13 Mar 2018 05:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Where-condition-with-multiple-variables/m-p/445037#M283070</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2018-03-13T05:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition with multiple variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Where-condition-with-multiple-variables/m-p/445040#M283071</link>
      <description>late night programming ... thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Mar 2018 05:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Where-condition-with-multiple-variables/m-p/445040#M283071</guid>
      <dc:creator>fpascal</dc:creator>
      <dc:date>2018-03-13T05:39:19Z</dc:date>
    </item>
  </channel>
</rss>

