<?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: Sorting Through the Features of Proc Sort in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532210#M145815</link>
    <description>&lt;P&gt;Apples and oranges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc sort has options to use different sort (collation)&amp;nbsp;sequences, remove duplicate keys or observations&amp;nbsp;to a separate output data set, prevent changing modified date on existing data, remove unique sort keys (only one record) and send those removed records to yet another data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the ONLY operation being done on a data set Proc sort will usually be significantly faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you actually doing what proc sql is designed for such as combining data sets such as joins and creating new variables, summarizind data or other manipulations&amp;nbsp;then that is something that Proc sort doesn't do. So Sort would not be a valid option.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Feb 2019 21:35:16 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-02-01T21:35:16Z</dc:date>
    <item>
      <title>Sorting Through the Features of Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532203#M145809</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone clarify on below concern,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"which one is good proc sql sorting or data sorting" ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 21:19:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532203#M145809</guid>
      <dc:creator>jaiganesh</dc:creator>
      <dc:date>2019-02-01T21:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Through the Features of Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532208#M145813</link>
      <description>&lt;P&gt;SQL order by will have advantages as noted in this link&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Custom-Sorting-with-Proc-SQL/ta-p/373460" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Custom-Sorting-with-Proc-SQL/ta-p/373460&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;normally straight ascending or descending sorts will give you what you want but just occasionally you will come up against a scenario where they won’t. In these cases, the flexibility afforded by the Proc SQL Order By clause can come to the rescue and turn what seems like a complex problem into something quite straightforward.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 21:31:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532208#M145813</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-02-01T21:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Through the Features of Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532209#M145814</link>
      <description>&lt;P&gt;Both good. Which one to use depends largely on the specific situation. You have to be more specific about your needs for us to give a more usable answer.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 21:31:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532209#M145814</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-02-01T21:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Through the Features of Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532210#M145815</link>
      <description>&lt;P&gt;Apples and oranges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc sort has options to use different sort (collation)&amp;nbsp;sequences, remove duplicate keys or observations&amp;nbsp;to a separate output data set, prevent changing modified date on existing data, remove unique sort keys (only one record) and send those removed records to yet another data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the ONLY operation being done on a data set Proc sort will usually be significantly faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you actually doing what proc sql is designed for such as combining data sets such as joins and creating new variables, summarizind data or other manipulations&amp;nbsp;then that is something that Proc sort doesn't do. So Sort would not be a valid option.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 21:35:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532210#M145815</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-02-01T21:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Through the Features of Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532211#M145816</link>
      <description>&lt;P&gt;"Apples and oranges."--Brilliant analogy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Beautifully explained with so much eloquence. First class!--&amp;gt;"If the &lt;STRONG&gt;ONLY&lt;/STRONG&gt; operation being done on a data set&lt;STRONG&gt; Proc sort will usually be significantly faster.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you actually doing &lt;STRONG&gt;what proc sql is designed for&lt;/STRONG&gt; such as combining data sets such as joins and &lt;STRONG&gt;creating new variables, summarizing data or other manipulations&amp;nbsp;t&lt;/STRONG&gt;hen that is something that Proc sort doesn't do. So Sort would not be a valid option"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's incredibly thorough.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Apples and oranges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc sort has options to use different sort (collation)&amp;nbsp;sequences, remove duplicate keys or observations&amp;nbsp;to a separate output data set, prevent changing modified date on existing data, remove unique sort keys (only one record) and send those removed records to yet another data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the ONLY operation being done on a data set Proc sort will usually be significantly faster.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you actually doing what proc sql is designed for such as combining data sets such as joins and creating new variables, summarizind data or other manipulations&amp;nbsp;then that is something that Proc sort doesn't do. So Sort would not be a valid option.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 21:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532211#M145816</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-02-01T21:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Through the Features of Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532235#M145831</link>
      <description>Thanks for fast and comprehensive reply.&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Feb 2019 00:16:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532235#M145831</guid>
      <dc:creator>jaiganesh</dc:creator>
      <dc:date>2019-02-02T00:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting Through the Features of Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532241#M145835</link>
      <description>&lt;P&gt;That was&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp; 's answer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Feb 2019 00:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sorting-Through-the-Features-of-Proc-Sort/m-p/532241#M145835</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-02-02T00:57:29Z</dc:date>
    </item>
  </channel>
</rss>

