<?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 SAS DI Studio SCD Type 2 - duplicate records closes and opens new records in target table in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Studio-SCD-Type-2-duplicate-records-closes-and-opens-new/m-p/434835#M13455</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the SCD Type 2 loader to load data into a target table. However when I run the transformation more than once without changing the data in the source (duplicated data), the target table has closes out some records and adds new records into the table when the expected result should be no change in target.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already read and applied the solution from the a similar issue in&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/DI-studio-SCD-Type-2-close-out-records/td-p/150155#" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/DI-studio-SCD-Type-2-close-out-records/td-p/150155#&lt;/A&gt; but I am still getting the same issue where duplicated data in the source is closing and adding new records in the target.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS version 4.901&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to the sensitivity of the data I am unable to attach any sample data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone encountered this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Zubair&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2018 12:59:37 GMT</pubDate>
    <dc:creator>ZUPA1</dc:creator>
    <dc:date>2018-02-07T12:59:37Z</dc:date>
    <item>
      <title>SAS DI Studio SCD Type 2 - duplicate records closes and opens new records in target table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Studio-SCD-Type-2-duplicate-records-closes-and-opens-new/m-p/434835#M13455</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the SCD Type 2 loader to load data into a target table. However when I run the transformation more than once without changing the data in the source (duplicated data), the target table has closes out some records and adds new records into the table when the expected result should be no change in target.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already read and applied the solution from the a similar issue in&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/DI-studio-SCD-Type-2-close-out-records/td-p/150155#" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/DI-studio-SCD-Type-2-close-out-records/td-p/150155#&lt;/A&gt; but I am still getting the same issue where duplicated data in the source is closing and adding new records in the target.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS version 4.901&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to the sensitivity of the data I am unable to attach any sample data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone encountered this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Zubair&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 12:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Studio-SCD-Type-2-duplicate-records-closes-and-opens-new/m-p/434835#M13455</guid>
      <dc:creator>ZUPA1</dc:creator>
      <dc:date>2018-02-07T12:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Studio SCD Type 2 - duplicate records closes and opens new records in target table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Studio-SCD-Type-2-duplicate-records-closes-and-opens-new/m-p/434890#M13459</link>
      <description>&lt;P&gt;If you can duplicate your issue with some simple and small amount of sample data and if you sent me that data I could try to replicate&amp;nbsp;this.&amp;nbsp; Perhaps take a few columns from your source table, change the variable names but otherwise use the same variable attributes and create 3 or 4 records with made up data values. Then set up a job like you current job with an SCD type 2 loader. Once you run the job you could send me&amp;nbsp;both the physical source table and the physical target table and I can try and replicate the issue.&lt;/P&gt;
&lt;P&gt;Also can you describe the type of source and target data you are using. Are they both SAS datasets? Are either or both tables another data format?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 15:13:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Studio-SCD-Type-2-duplicate-records-closes-and-opens-new/m-p/434890#M13459</guid>
      <dc:creator>DavidGhan</dc:creator>
      <dc:date>2018-02-07T15:13:18Z</dc:date>
    </item>
  </channel>
</rss>

