<?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: sum equal zero for variables for sas in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148444#M39251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I thought the default would be to use all numeric variables.&amp;nbsp; Try adding to the proc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var _numeric_;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 14:21:51 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2014-06-19T14:21:51Z</dc:date>
    <item>
      <title>sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148438#M39245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I looked at the internet but I could not find anything relevant.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I have a table with thousands of variable.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I'm trying to do a sum of a variable and find out , which variable in sum , is equal to zero.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;example&lt;/P&gt;&lt;PRE class="lang-sql prettyprint prettyprinted" style="margin: 0 0 10px; padding: 5px; font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #000000; background: #eeeeee;"&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;col1 col2 col3 &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;2&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;3&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;


&lt;/PRE&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;results&lt;/P&gt;&lt;PRE class="lang-sql prettyprint prettyprinted" style="margin: 0 0 10px; padding: 5px; font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #000000; background: #eeeeee;"&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;col2 &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;However, my &lt;CODE style="padding: 1px 5px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background: #eeeeee;"&gt;proc means&lt;/CODE&gt; does not want to take my where clause.&lt;/P&gt;&lt;PRE class="lang-sql prettyprint prettyprinted" style="margin: 0 0 10px; padding: 5px; font-size: 14px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; color: #000000; background: #eeeeee;"&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;proc&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; sql&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;create&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;table&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; toto &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;as&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;select&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; nomvar&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;monotonic&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;()&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;as&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; num_lig &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;from&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; dicofr &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;where&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; nomvar &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #800000; background: transparent;"&gt;'date'&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;proc&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; sql&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;select&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; nomvar &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;into&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;varnom separated &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;by&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="color: #800000; background: transparent;"&gt;' '&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;from&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; toto &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;where&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; num_lig &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;between&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;and&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;1000&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;%&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;put varnom&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;varnom&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background-position: initial;"&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;&lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;proc&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; means data&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;afr sum &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b; background: transparent;"&gt;where&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;=(&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;sum&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;(&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;varnom&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;)=&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #800000; background: transparent;"&gt;0&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; var &lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;varnom&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; output out&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt;want&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="background: transparent;"&gt; run&lt;/SPAN&gt;&lt;SPAN class="pun" style="background: transparent;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;


&lt;/PRE&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;What am I doing wrong?&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;One thing though, I'm looking for something simple and not overly complex.&lt;/P&gt;&lt;P style="margin: 0 0 1em; font-size: 14px; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;TIA for your suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148438#M39245</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-06-19T13:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148439#M39246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean which individual variable(s) that the sum for all rows are 0?&lt;/P&gt;&lt;P&gt;The sum() function adds values on one row only...?&lt;/P&gt;&lt;P&gt;Having data in separate columns is (almost) always as asking for trouble.&lt;/P&gt;&lt;P&gt;Try transpoing your data, and then there will surely be easier ways to query your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148439#M39246</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-06-19T13:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148440#M39247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Added, just seen LinusH's response and complete concur that transposing so that your data looks like:&lt;/P&gt;&lt;P&gt;COL1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;COL2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;COL3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;COL1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe something like:&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;&amp;nbsp; col1=0; col2=0; col3=0; output;&lt;BR /&gt;&amp;nbsp; col1=1; col2=0; col3=2; output;&lt;BR /&gt;&amp;nbsp; col1=1; col2=0; col3=3; output;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;&amp;nbsp; select&amp;nbsp; case&amp;nbsp; when sum(COL1)=0 then "COL1"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when sum(COL2)=0 then "COL2"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when sum(COL3)=0 then "COL3"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else "" end&lt;BR /&gt;&amp;nbsp; into&amp;nbsp;&amp;nbsp;&amp;nbsp; :VARNOM&lt;BR /&gt;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp; HAVE;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;%put &amp;amp;VARNOM.;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:59:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148440#M39247</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-06-19T13:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148441#M39248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It might be difficult for SQL, but it's pretty easy for SAS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc summary data=have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; output out=stats sum=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data names;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; length variable_name $ 32;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set stats (drop=_type_ _freq_);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; array nums {*} _numeric_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; do _n_=1 to dim(_numeric_);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if nums{_n_}=0 then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variable_name = vname(nums{_n_});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; keep variable_name;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;I'm not sure that qualifies as "simple" but it must be in the ballpark.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:13:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148441#M39248</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-06-19T14:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148442#M39249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Astounding ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When running the proc summary, I had the following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Statistics requested in output statement 1, but no analysis variables have been specified. Output statement will&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; be ignored.&lt;/P&gt;&lt;P&gt;WARNING: No output data set(s) will be created due to error(s) in output statement(s).&lt;/P&gt;&lt;P&gt;ERROR: Neither the PRINT option nor a valid output statement has been given.&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;WARNING: The data set WORK.STATS may be incomplete.&amp;nbsp; When this step was stopped there were 0 observations and 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; variables.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE SUMMARY used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.03 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.03 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:19:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148442#M39249</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-06-19T14:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148443#M39250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RW9,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The transpose would be a good idea but I have many variables ... close to 6000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is SQL is hitting a limit when you have so manys ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:20:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148443#M39250</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-06-19T14:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148444#M39251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I thought the default would be to use all numeric variables.&amp;nbsp; Try adding to the proc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var _numeric_;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:21:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148444#M39251</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-06-19T14:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148445#M39252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A slight variation on Astounding - minus the second step by using the stackods option in proc means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;input col1 col2 col3;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=have stackods sum;&lt;/P&gt;&lt;P&gt;ods output Summary=WANT (where=(sum=0));&lt;/P&gt;&lt;P&gt;var _numeric_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148445#M39252</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-06-19T14:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148446#M39253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Almost there. I've got a slight issue. My variables have observations with missing values. Once the proc means running, I have the following errors for &lt;/P&gt;&lt;P&gt;some of my variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Variable var47304 in list does not match type prescribed for this list.&lt;/P&gt;&lt;P&gt;ERROR: Variable var110176 in list does not match type prescribed for this list.&lt;/P&gt;&lt;P&gt;ERROR: Variable var152194 in list does not match type prescribed for this list.&lt;/P&gt;&lt;P&gt;47&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought the sum function would see the missing values as null. it is not the case, why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:32:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148446#M39253</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-06-19T14:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148447#M39254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's always something to learn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:32:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148447#M39254</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-06-19T14:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148448#M39255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would a proc summary work better?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:38:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148448#M39255</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-06-19T14:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148449#M39256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm going to tears ... ok , almost. &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:42:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148449#M39256</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-06-19T14:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148450#M39257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you verify that the above variables are numeric not character. Proc Means will just ignore nulls/missing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:45:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148450#M39257</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-06-19T14:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148451#M39258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your data source by any chance a/or created from a DBMS&amp;nbsp; that may have included something like NULL for not assigned values? The import to SAS would possibly make those dolumns character variables. The error is basically you attempted to do something like Sum words, which would be meaningless.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:51:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148451#M39258</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-06-19T14:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148452#M39259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely a character variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;proc means data=sashelp.class stackods sum;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;2&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;ods output Summary=WANT (where=(sum=0));&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;4&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;var age weight height name;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Variable Name in list does not match type prescribed for this list.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;run;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE MEANS used (Total process time):&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.36 seconds&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.00 seconds&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:53:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148452#M39259</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-06-19T14:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148453#M39260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MONOTONIC() function is not supported in PROC SQL.&amp;nbsp; Using the&lt;/P&gt;&lt;P&gt;MONOTONIC() function in PROC SQL can cause missing or non-sequential&lt;/P&gt;&lt;P&gt;values to be returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/15/138.html"&gt;http://support.sas.com/kb/15/138.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:56:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148453#M39260</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-06-19T14:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148454#M39261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of the characters are alpha numeric. That is the reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:01:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148454#M39261</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-06-19T15:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148455#M39262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JWillis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fair enough. But in my case , it is working quite well as i'm not asking the function to do amazing things ,&lt;/P&gt;&lt;P&gt;just list the number of the observations, which will be like a rowid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:04:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148455#M39262</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-06-19T15:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148456#M39263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So your actual criteria is sum of numeric variables is 0 and if character variable the number of missing? You can't add character values...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:08:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148456#M39263</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-06-19T15:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: sum equal zero for variables for sas</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148457#M39264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm realizing that , Reeza.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to do a dos2unix on my csv files to see if it can be fix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:13:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-equal-zero-for-variables-for-sas/m-p/148457#M39264</guid>
      <dc:creator>andy_wk</dc:creator>
      <dc:date>2014-06-19T15:13:47Z</dc:date>
    </item>
  </channel>
</rss>

