<?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: mergenoby in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/mergenoby/m-p/68760#M14905</link>
    <description>The undocumented DSOPTIONS may be useful.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
120  options dsoptions=note2err;&lt;BR /&gt;
121  data test;&lt;BR /&gt;
122     set sashelp.class;&lt;BR /&gt;
123     if first.name then;&lt;BR /&gt;
124     run;&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Variable first.name is uninitialized.&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
WARNING: The data set WORK.TEST may be incomplete.  When this step was stopped there were 0&lt;BR /&gt;
         observations and 5 variables.&lt;BR /&gt;
WARNING: Data set WORK.TEST was not replaced because this step was stopped&lt;BR /&gt;
[/pre]</description>
    <pubDate>Tue, 31 Aug 2010 11:59:26 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2010-08-31T11:59:26Z</dc:date>
    <item>
      <title>mergenoby</title>
      <link>https://communities.sas.com/t5/SAS-Programming/mergenoby/m-p/68758#M14903</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I know that there is such a MERGENOBY option. Is there also something similar that would work something like SET NO BY but, for example, just in cases if you use FIRST.variable or LAST.variable? (Option that would not let you use first.variable if you don't use BY statement?)&lt;BR /&gt;
&lt;BR /&gt;
Seems too complicated to really have such, but maybe you know some trick how not to forget BY statement in such cases &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Ieva</description>
      <pubDate>Tue, 31 Aug 2010 07:16:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/mergenoby/m-p/68758#M14903</guid>
      <dc:creator>ieva</dc:creator>
      <dc:date>2010-08-31T07:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: mergenoby</title>
      <link>https://communities.sas.com/t5/SAS-Programming/mergenoby/m-p/68759#M14904</link>
      <description>no options seem to support this (although I think there is a SAS92 feature which would convert a lot of NOTE messages into ERROR or WARNING).&lt;BR /&gt;
If you want a quick check, search for strings &lt;BR /&gt;
&lt;B&gt;"NOTE: Variable first."&lt;/B&gt; and &lt;B&gt;"NOTE: Variable last."&lt;/B&gt;  &lt;BR /&gt;
could be worth a ballot item &lt;A href="http://support.sas.com/community/ballot/" target="_blank"&gt;http://support.sas.com/community/ballot/&lt;/A&gt;  or "Suggestion" at &lt;A href="http://support.sas.com/contact/software_comments.html" target="_blank"&gt;http://support.sas.com/contact/software_comments.html&lt;/A&gt; &lt;BR /&gt;
 &lt;BR /&gt;
peterC</description>
      <pubDate>Tue, 31 Aug 2010 10:36:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/mergenoby/m-p/68759#M14904</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-08-31T10:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: mergenoby</title>
      <link>https://communities.sas.com/t5/SAS-Programming/mergenoby/m-p/68760#M14905</link>
      <description>The undocumented DSOPTIONS may be useful.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
120  options dsoptions=note2err;&lt;BR /&gt;
121  data test;&lt;BR /&gt;
122     set sashelp.class;&lt;BR /&gt;
123     if first.name then;&lt;BR /&gt;
124     run;&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Variable first.name is uninitialized.&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
WARNING: The data set WORK.TEST may be incomplete.  When this step was stopped there were 0&lt;BR /&gt;
         observations and 5 variables.&lt;BR /&gt;
WARNING: Data set WORK.TEST was not replaced because this step was stopped&lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 31 Aug 2010 11:59:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/mergenoby/m-p/68760#M14905</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2010-08-31T11:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: mergenoby</title>
      <link>https://communities.sas.com/t5/SAS-Programming/mergenoby/m-p/68761#M14906</link>
      <description>Great thanks Peter and data _null_! That is the option I was searching for.</description>
      <pubDate>Tue, 31 Aug 2010 12:10:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/mergenoby/m-p/68761#M14906</guid>
      <dc:creator>ieva</dc:creator>
      <dc:date>2010-08-31T12:10:40Z</dc:date>
    </item>
  </channel>
</rss>

