<?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: Blank '.' Data I need to Group in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Blank-Data-I-need-to-Group/m-p/134443#M260904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That . is the missing. You are caught by the difference meanings in SQL null and SAS missing. &lt;/P&gt;&lt;P&gt;In normal SQL the null value is excluded (3 value logic unknown aside false/true)&amp;nbsp; With SQL on sas-datasets missings are included. Processing data with SAS procs missings are excluded. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2014 12:02:32 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-10-21T12:02:32Z</dc:date>
    <item>
      <title>Blank '.' Data I need to Group</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Blank-Data-I-need-to-Group/m-p/134440#M260901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this code below and when joining to another table some accounts dont have a score and therefore the output populates with a '.'&amp;nbsp; How can I group up the accounts with blank information, do i need to do this to my code I run off the bak of this, below the dataset code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATASET&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table work.dcm as&lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;month_date,&lt;/P&gt;&lt;P&gt;accountno as accnum,&lt;/P&gt;&lt;P&gt;mean(score_DSCORDELPHI) as avg_delphi,&lt;/P&gt;&lt;P&gt;case &lt;/P&gt;&lt;P&gt;when DSCORDELPHI &amp;lt; 500 then '&amp;lt; 500' &lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 500 and 599 then '500-599'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 600 and 699 then '600-699'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 700 and 799 then '700-799'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 800 and 899 then '800-899'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 900 and 1100 then '900-1100'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI &amp;gt; 1100 then '&amp;gt; 1100' &lt;/P&gt;&lt;P&gt;else 'null' end as Delphi&lt;/P&gt;&lt;P&gt;from gdcm.dcm201409;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table work.rwa_dcm as &lt;/P&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;distinct month_date,&lt;/P&gt;&lt;P&gt;SUM(rwa_prov) as rwa,&lt;/P&gt;&lt;P&gt;delphi&lt;/P&gt;&lt;P&gt;from &lt;/P&gt;&lt;P&gt;work.complete_dataset&lt;/P&gt;&lt;P&gt;group by &lt;/P&gt;&lt;P&gt;month_date, delphi;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MY OUTPUT -&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="248"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="95"&gt;rwa&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none;" width="68"&gt;Delphi&lt;/TD&gt;&lt;TD class="xl66" style="border-left: medium none;" width="85"&gt;avg_delphi&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="19" style="border-top: medium none;" width="95"&gt;148412508.8&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;500-599&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;" width="85"&gt;743.237&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="19" style="border-top: medium none;" width="95"&gt;156185401.5&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;" width="68"&gt; &lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;" width="85"&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="19" style="border-top: medium none;" width="95"&gt;350690603.4&lt;/TD&gt;&lt;TD class="xl63" style="border-left: medium none; border-top: medium none;" width="68"&gt;&amp;lt; 500&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;" width="85"&gt;743.237&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="19" style="border-top: medium none;" width="95"&gt;368501967.6&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;900-1100&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;" width="85"&gt;743.237&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="19" style="border-top: medium none;" width="95"&gt;524554601.5&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;600-699&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;" width="85"&gt;743.237&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="19" style="border-top: medium none;" width="95"&gt;1194299549&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none; border-top: medium none;"&gt;700-799&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none; border-top: medium none;" width="85"&gt;743.237&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" style="border-top: medium none;" width="95"&gt;1635315502&lt;/TD&gt;&lt;TD class="xl69" style="border-left: medium none; border-top: medium none;"&gt;800-899&lt;/TD&gt;&lt;TD align="right" class="xl70" style="border-left: medium none; border-top: medium none;" width="85"&gt;743.237&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Blank-Data-I-need-to-Group/m-p/134440#M260901</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2014-10-21T10:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Blank '.' Data I need to Group</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Blank-Data-I-need-to-Group/m-p/134441#M260902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, by what do you mean "group blank records"?&amp;nbsp; You could just proc sort the data by Delphi avg_Delphi, then missings will be at the top.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Blank-Data-I-need-to-Group/m-p/134441#M260902</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-10-21T10:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Blank '.' Data I need to Group</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Blank-Data-I-need-to-Group/m-p/134442#M260903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have these groupings already below but I have an extra one of which is the full stop '.'. How can I gorup the '.' to &amp;lt;500?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when DSCORDELPHI &amp;lt; 500 then '&amp;lt; 500' &lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 500 and 599 then '500-599'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 600 and 699 then '600-699'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 700 and 799 then '700-799'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 800 and 899 then '800-899'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI between 900 and 1100 then '900-1100'&lt;/P&gt;&lt;P&gt;when DSCORDELPHI &amp;gt; 1100 then '&amp;gt; 1100' &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 10:49:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Blank-Data-I-need-to-Group/m-p/134442#M260903</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2014-10-21T10:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Blank '.' Data I need to Group</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Blank-Data-I-need-to-Group/m-p/134443#M260904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That . is the missing. You are caught by the difference meanings in SQL null and SAS missing. &lt;/P&gt;&lt;P&gt;In normal SQL the null value is excluded (3 value logic unknown aside false/true)&amp;nbsp; With SQL on sas-datasets missings are included. Processing data with SAS procs missings are excluded. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:02:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Blank-Data-I-need-to-Group/m-p/134443#M260904</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-21T12:02:32Z</dc:date>
    </item>
  </channel>
</rss>

