<?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: Replace data from one dataset to another conditionally in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333317#M75079</link>
    <description>&lt;P&gt;Make sure that both datasets are sorted by year and quarter.&lt;/P&gt;
&lt;P&gt;Do a data step update, as described here:&amp;nbsp;&lt;A href="https://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001329153.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001329153.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2017 09:24:05 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-02-16T09:24:05Z</dc:date>
    <item>
      <title>Replace data from one dataset to another conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333308#M75075</link>
      <description>&lt;P&gt;I have two dataset A and B&lt;/P&gt;&lt;P&gt;dataset A:&lt;BR /&gt;year Quarter Amount&lt;BR /&gt;2012&amp;nbsp;Q4&amp;nbsp;200&lt;BR /&gt;2013 &amp;nbsp;Q4&amp;nbsp;300&lt;BR /&gt;2014 &amp;nbsp;Q4&amp;nbsp;400&lt;BR /&gt;2015&amp;nbsp;Q4 &amp;nbsp;500&lt;BR /&gt;2016&amp;nbsp;Q4&amp;nbsp;600&lt;/P&gt;&lt;P&gt;dataset B:&lt;BR /&gt;year quarter Amount&lt;BR /&gt;2013&amp;nbsp;Q4&amp;nbsp;400&lt;BR /&gt;2014&amp;nbsp;Q4&amp;nbsp;510.45&lt;BR /&gt;2015&amp;nbsp;Q4&amp;nbsp;600&lt;BR /&gt;2016&amp;nbsp;Q4 &amp;nbsp;700&lt;/P&gt;&lt;P&gt;i want to replace the amount values which have been changed in dataset B in Dataset A.&lt;BR /&gt;Could you please let me know how to do it in SAS.&lt;/P&gt;&lt;P&gt;My output should be&lt;BR /&gt;Dataset A:&lt;BR /&gt;year Quarter Amount&lt;BR /&gt;2012&amp;nbsp;Q4&amp;nbsp;200&lt;BR /&gt;2013 &amp;nbsp;Q4&amp;nbsp;400&lt;BR /&gt;2014 &amp;nbsp;Q4&amp;nbsp;510.45&lt;BR /&gt;2015&amp;nbsp;Q4 &amp;nbsp;600&lt;BR /&gt;2016&amp;nbsp;Q4&amp;nbsp;700&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 08:02:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333308#M75075</guid>
      <dc:creator>jagadeesh_2907</dc:creator>
      <dc:date>2017-02-16T08:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Replace data from one dataset to another conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333311#M75076</link>
      <description>&lt;P&gt;Take the free Programming 1 course where you will learning techniques like this.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 08:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333311#M75076</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-02-16T08:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replace data from one dataset to another conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333312#M75077</link>
      <description>Okay sure. But I need to do this urgently. Could you please help me do this in SAS</description>
      <pubDate>Thu, 16 Feb 2017 08:29:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333312#M75077</guid>
      <dc:creator>jagadeesh_2907</dc:creator>
      <dc:date>2017-02-16T08:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Replace data from one dataset to another conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333315#M75078</link>
      <description>&lt;P&gt;This is not a training site. Simple inquiries that can be read directly from documentation or teached in introductory classes in not in my priority list.&lt;/P&gt;
&lt;P&gt;The responders here volunteer.&lt;/P&gt;
&lt;P&gt;I don't care if it's urgent or not, who decides which is most important among&amp;nbsp;the thousands of questions that are posted here?&lt;/P&gt;
&lt;P&gt;I'm here for the fun of it, and help people with basic tasks because they lack of planning is not it.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 08:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333315#M75078</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-02-16T08:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Replace data from one dataset to another conditionally</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333317#M75079</link>
      <description>&lt;P&gt;Make sure that both datasets are sorted by year and quarter.&lt;/P&gt;
&lt;P&gt;Do a data step update, as described here:&amp;nbsp;&lt;A href="https://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001329153.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/basess/58133/HTML/default/viewer.htm#a001329153.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 09:24:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-data-from-one-dataset-to-another-conditionally/m-p/333317#M75079</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-02-16T09:24:05Z</dc:date>
    </item>
  </channel>
</rss>

