<?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 Proc Sort in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/539994#M148898</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi There-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to understand when I am sorting the data by below code and using the new created data set&amp;nbsp;&lt;STRONG&gt;abc123&lt;/STRONG&gt; with &lt;STRONG&gt;by &lt;/STRONG&gt;keyword on sorted variables, why SAS is showing error ''&lt;STRONG&gt;BY variables are not properly sorted on data set WORK.ABC1234"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also how can I use variable &lt;STRONG&gt;actual&lt;/STRONG&gt; with by keyword in data step ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=sashelp.prdsal2 (keep=country actual) out=abc1234;&lt;BR /&gt;by country descending actual;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data abc;&lt;BR /&gt;set abc1234;&lt;BR /&gt;by country actual;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2019 11:23:17 GMT</pubDate>
    <dc:creator>vishalrajpoot3</dc:creator>
    <dc:date>2019-03-04T11:23:17Z</dc:date>
    <item>
      <title>Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/539994#M148898</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi There-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to understand when I am sorting the data by below code and using the new created data set&amp;nbsp;&lt;STRONG&gt;abc123&lt;/STRONG&gt; with &lt;STRONG&gt;by &lt;/STRONG&gt;keyword on sorted variables, why SAS is showing error ''&lt;STRONG&gt;BY variables are not properly sorted on data set WORK.ABC1234"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also how can I use variable &lt;STRONG&gt;actual&lt;/STRONG&gt; with by keyword in data step ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=sashelp.prdsal2 (keep=country actual) out=abc1234;&lt;BR /&gt;by country descending actual;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data abc;&lt;BR /&gt;set abc1234;&lt;BR /&gt;by country actual;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 11:23:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/539994#M148898</guid>
      <dc:creator>vishalrajpoot3</dc:creator>
      <dc:date>2019-03-04T11:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/539996#M148899</link>
      <description>&lt;P&gt;There is a word missing in your second by statement which appears in the first by statement...&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 11:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/539996#M148899</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-03-04T11:33:11Z</dc:date>
    </item>
  </channel>
</rss>

