<?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 Running %centroids Macro - Error in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-centroids-Macro-Error/m-p/267136#M15768</link>
    <description>&lt;P&gt;I'm trying to run the %centroids macro, but getting an error regarding the data not being sorted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a requirement on the input data set?&lt;/P&gt;
&lt;P&gt;I couldn't find anything.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;950 %centroid(input,centers,id_var);&lt;/P&gt;
&lt;P&gt;NOTE: There were 1 observations read from the data set WORK.input.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt; real time 0.00 seconds&lt;BR /&gt; cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: There were 77141 observations read from the data set WORK.input.&lt;BR /&gt;NOTE: The data set WORK.DATA3 has 77141 observations and 11 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt; real time 0.05 seconds&lt;BR /&gt; cpu time 0.04 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;ERROR: BY variables are not properly sorted on data set WORK.DATA3.&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 4442 observations read from the data set WORK.DATA3.&lt;BR /&gt;WARNING: The data set WORK.DATA4 may be incomplete. When this step was stopped there were 0&lt;BR /&gt; observations and 6 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt; real time 0.01 seconds&lt;BR /&gt; cpu time 0.01 seconds&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2016 23:00:44 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-04-28T23:00:44Z</dc:date>
    <item>
      <title>Running %centroids Macro - Error</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-centroids-Macro-Error/m-p/267136#M15768</link>
      <description>&lt;P&gt;I'm trying to run the %centroids macro, but getting an error regarding the data not being sorted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a requirement on the input data set?&lt;/P&gt;
&lt;P&gt;I couldn't find anything.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;950 %centroid(input,centers,id_var);&lt;/P&gt;
&lt;P&gt;NOTE: There were 1 observations read from the data set WORK.input.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt; real time 0.00 seconds&lt;BR /&gt; cpu time 0.00 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: There were 77141 observations read from the data set WORK.input.&lt;BR /&gt;NOTE: The data set WORK.DATA3 has 77141 observations and 11 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt; real time 0.05 seconds&lt;BR /&gt; cpu time 0.04 seconds&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;ERROR: BY variables are not properly sorted on data set WORK.DATA3.&lt;BR /&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 4442 observations read from the data set WORK.DATA3.&lt;BR /&gt;WARNING: The data set WORK.DATA4 may be incomplete. When this step was stopped there were 0&lt;BR /&gt; observations and 6 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt; real time 0.01 seconds&lt;BR /&gt; cpu time 0.01 seconds&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 23:00:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-centroids-Macro-Error/m-p/267136#M15768</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-28T23:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Running %centroids Macro - Error</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-centroids-Macro-Error/m-p/267141#M15769</link>
      <description>&lt;P&gt;D'oh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;input-data-set
specifies a map data set. &lt;STRONG&gt;The input map data set must be sorted by the ID variables.&lt;/STRONG&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Apr 2016 23:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Running-centroids-Macro-Error/m-p/267141#M15769</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-28T23:33:31Z</dc:date>
    </item>
  </channel>
</rss>

