<?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 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/93355#M19681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code (I would hope that you plan to include a by statement so that it sorts by one or more variables) won't alter ref.dname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will simply create a file called work.dname2 that looks like it the original, but sorted in whatever order you specify,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can think of where it would actually alter a file is if one used the old style macro code to rename work.dname2 to be referenced as ref.dname.&amp;nbsp; But, unless someone was really mischievousness (and old enough to know about old style macros), I can't imagine that happening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2012 04:49:31 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-12-07T04:49:31Z</dc:date>
    <item>
      <title>Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/93354#M19680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am sorting a dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc sort dataset=ref.dname out=dname2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i do like this will the original dataset will ever be disturbed????&lt;/P&gt;&lt;P&gt;Do i need to set it and then do the Sorting????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 04:31:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/93354#M19680</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-12-07T04:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sort</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/93355#M19681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code (I would hope that you plan to include a by statement so that it sorts by one or more variables) won't alter ref.dname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will simply create a file called work.dname2 that looks like it the original, but sorted in whatever order you specify,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can think of where it would actually alter a file is if one used the old style macro code to rename work.dname2 to be referenced as ref.dname.&amp;nbsp; But, unless someone was really mischievousness (and old enough to know about old style macros), I can't imagine that happening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 04:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Sort/m-p/93355#M19681</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-12-07T04:49:31Z</dc:date>
    </item>
  </channel>
</rss>

