<?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: Set by option in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Set-by-option/m-p/606826#M176285</link>
    <description />
    <pubDate>Sun, 24 Nov 2019 17:51:05 GMT</pubDate>
    <dc:creator>aaaaa34</dc:creator>
    <dc:date>2019-11-24T17:51:05Z</dc:date>
    <item>
      <title>Set by option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-by-option/m-p/606825#M176284</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What does by option do in:&lt;BR /&gt;data aaa;&lt;BR /&gt;set bbb;&lt;BR /&gt;by var1 var2;&lt;BR /&gt;run;</description>
      <pubDate>Sun, 24 Nov 2019 17:50:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-by-option/m-p/606825#M176284</guid>
      <dc:creator>aaaaa34</dc:creator>
      <dc:date>2019-11-24T17:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set by option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-by-option/m-p/606826#M176285</link>
      <description />
      <pubDate>Sun, 24 Nov 2019 17:51:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-by-option/m-p/606826#M176285</guid>
      <dc:creator>aaaaa34</dc:creator>
      <dc:date>2019-11-24T17:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set by option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-by-option/m-p/606827#M176286</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/299214"&gt;@aaaaa34&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BR /&gt;What does by option do in:&lt;BR /&gt;data aaa;&lt;BR /&gt;set bbb;&lt;BR /&gt;by var1 var2;&lt;BR /&gt;run;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In this case, the BY statement with a single dataset listed in the SET statement does almost nothing. It does allow FIRST.&amp;nbsp; and LAST. variables to be created and used, but your code doesn't use them, so essentially BY does nothing in your code.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2019 17:55:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-by-option/m-p/606827#M176286</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-11-24T17:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set by option</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Set-by-option/m-p/606828#M176287</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/299214"&gt;@aaaaa34&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;What does by option do in:&lt;BR /&gt;data aaa;&lt;BR /&gt;set bbb;&lt;BR /&gt;by var1 var2;&lt;BR /&gt;run;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It forces a sort condition by var1 var2. If a deviation from the sort order is encountered during execution, the step will terminate with an ERROR.&lt;/P&gt;
&lt;P&gt;Other than that, the by statement in your code has no effect, as neither first. or last. is used.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2019 17:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Set-by-option/m-p/606828#M176287</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-24T17:59:28Z</dc:date>
    </item>
  </channel>
</rss>

