<?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: how to exclude non response answers from calculation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-non-response-answers-from-calculation/m-p/618896#M181615</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/294494"&gt;@c-skissner&lt;/a&gt;&amp;nbsp; Your question seems little ambiguous. Do you have a variable by the name VAR that you want to filter from the input? Is this what you mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc freq data=work.'combined file _ mcos hcbs cahps'n;
where var &amp;gt;0;
tables 'q_84'n;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2020 17:25:41 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2020-01-21T17:25:41Z</dc:date>
    <item>
      <title>how to exclude non response answers from calculation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-non-response-answers-from-calculation/m-p/618894#M181614</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to exclude negative numbers from my calculations:&amp;nbsp; Below is an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;freq&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work.'combined file _ mcos hcbs cahps'n;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;tables&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;'q_84'n&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#d80000" face="Courier New" size="3"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; &amp;gt;&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#08726d" face="Courier New" size="3"&gt;0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;I am receiving the below error:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;180&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&amp;nbsp; Thank you Steve K.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 16:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-non-response-answers-from-calculation/m-p/618894#M181614</guid>
      <dc:creator>c-skissner</dc:creator>
      <dc:date>2020-01-21T16:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to exclude non response answers from calculation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-non-response-answers-from-calculation/m-p/618896#M181615</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/294494"&gt;@c-skissner&lt;/a&gt;&amp;nbsp; Your question seems little ambiguous. Do you have a variable by the name VAR that you want to filter from the input? Is this what you mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc freq data=work.'combined file _ mcos hcbs cahps'n;
where var &amp;gt;0;
tables 'q_84'n;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 17:25:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-exclude-non-response-answers-from-calculation/m-p/618896#M181615</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-01-21T17:25:41Z</dc:date>
    </item>
  </channel>
</rss>

