<?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: merge in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/merge/m-p/399453#M96754</link>
    <description>&lt;P&gt;You &lt;EM&gt;can&lt;/EM&gt; do it, which does not mean you &lt;EM&gt;should&lt;/EM&gt;. If you have an error, you need to recreate the dataset from its original source(s).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS when you create dataset xxx, SAS writes to a file named xxx.sas7bdat.lck. Once the step has finished, that file is renamed to xxx.sas7bdat. If a file with that name already exists, it is deleted first.&lt;/P&gt;
&lt;P&gt;If an error (that SAS detects!) happened, and xxx.sas7bdat already exists, no rename is done, the new file is deleted, and the original kept. But that does not protect you from a logical error that is not detected by SAS.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2017 11:01:40 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-09-28T11:01:40Z</dc:date>
    <item>
      <title>merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merge/m-p/399438#M96744</link>
      <description>&lt;P&gt;The following SAS program is submitted:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;libname temp ‘SAS data library’;&lt;BR /&gt;data &lt;STRONG&gt;temp.sales&lt;/STRONG&gt;;&lt;BR /&gt;merge &lt;STRONG&gt;temp.sales&lt;/STRONG&gt;&lt;BR /&gt;work.receipt;&lt;BR /&gt;by names;&lt;BR /&gt;run;&lt;BR /&gt;The input data files are sorted by the NAMES variable:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happen to see this question, so is it okay to have same name for&amp;nbsp;SAS data set that is referenced for both read&lt;BR /&gt;and write operations??&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 09:39:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merge/m-p/399438#M96744</guid>
      <dc:creator>pchen002</dc:creator>
      <dc:date>2017-09-28T09:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merge/m-p/399447#M96751</link>
      <description>&lt;P&gt;Yes!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 10:30:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merge/m-p/399447#M96751</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2017-09-28T10:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merge/m-p/399453#M96754</link>
      <description>&lt;P&gt;You &lt;EM&gt;can&lt;/EM&gt; do it, which does not mean you &lt;EM&gt;should&lt;/EM&gt;. If you have an error, you need to recreate the dataset from its original source(s).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS when you create dataset xxx, SAS writes to a file named xxx.sas7bdat.lck. Once the step has finished, that file is renamed to xxx.sas7bdat. If a file with that name already exists, it is deleted first.&lt;/P&gt;
&lt;P&gt;If an error (that SAS detects!) happened, and xxx.sas7bdat already exists, no rename is done, the new file is deleted, and the original kept. But that does not protect you from a logical error that is not detected by SAS.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 11:01:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merge/m-p/399453#M96754</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-28T11:01:40Z</dc:date>
    </item>
  </channel>
</rss>

