<?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: Proc Sort Output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort-Output/m-p/525871#M143107</link>
    <description>&lt;P&gt;Almost. The code will not change the sort order of the kicks data set. If it were already sorted that order would remain. No records should be removed either.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jan 2019 20:46:11 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-01-09T20:46:11Z</dc:date>
    <item>
      <title>Proc Sort Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort-Output/m-p/525863#M143105</link>
      <description>&lt;P&gt;Hello All!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am I correct in saying that, with the code below, the dataset check will be sorted and deduped but the dataset kicks will not be sorted or deduped?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sort data = kicks nodupkey out=check; by edipn; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 20:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sort-Output/m-p/525863#M143105</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2019-01-09T20:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sort Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort-Output/m-p/525869#M143106</link>
      <description>&lt;P&gt;This is an excellent opportunity for experimentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
  set sashelp.class;
run;

proc sort data = class nodupkey out=class2;
  by age;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Data set class, a clone of sashelp.class is sorted by name.&amp;nbsp;&amp;nbsp; So the above uses your programming logic.&amp;nbsp; Compare the CLASS2 data set (proc print data=class2;run;) to data set CLASS.&amp;nbsp; They are only 19 observations long.&amp;nbsp; You will have used SAS to answer your SAS question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 20:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sort-Output/m-p/525869#M143106</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2019-01-09T20:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sort Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort-Output/m-p/525871#M143107</link>
      <description>&lt;P&gt;Almost. The code will not change the sort order of the kicks data set. If it were already sorted that order would remain. No records should be removed either.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 20:46:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sort-Output/m-p/525871#M143107</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-09T20:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sort Output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort-Output/m-p/525880#M143110</link>
      <description>You can think of this, as a situation, where the input data set is not modified in any manner. Any modifications are on the out data set.</description>
      <pubDate>Wed, 09 Jan 2019 21:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sort-Output/m-p/525880#M143110</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-09T21:02:08Z</dc:date>
    </item>
  </channel>
</rss>

