<?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 SCD type 2 without using talend SCD component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SCD-type-2-without-using-talend-SCD-component/m-p/2197933#M1471</link>
    <description>&lt;P&gt;Use case:&lt;/P&gt; 
&lt;P&gt;1)Compare the source file&amp;nbsp; data with the dimension table data.&lt;/P&gt; 
&lt;P&gt;2)Identify the changing column .and key column.&lt;/P&gt; 
&lt;P&gt;3)Load the dimension table data into a staging file.&lt;BR /&gt;4)Inner join the two set of data then.:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scd2_part1.JPG" style="width: 802px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Z8.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146685i1A6C7A7E58AED042/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Z8.jpg" alt="0683p000009M8Z8.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scd2_part2.JPG" style="width: 722px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Ke.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156916i076A7EF5BECF1967/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Ke.jpg" alt="0683p000009M8Ke.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a)Catch inner join reject and get the new records for insert&amp;nbsp; operation..&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b)Identify the no change records by comparing two data sets.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;c)Update the active flag to "N"&amp;nbsp; and end date to current day date for an changed records(by comparing the changing columns from two data sets).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;d)Insert a row for the changed records with active flag as "Y" ,Start Date as current day date . and end date as any default date "31-12-9999".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1.insert_new_rec(tfileoutputdelimited) and&amp;nbsp;insert_new_row_fr_changed_rec (tfileoutputdelimited) are in append mode to create a consolidated file for insert operation.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2. tjava_1 Code : &lt;STRONG&gt;context.setProperty("datestamp", TalendDate.getDate("dd-MM-yyyy").toString());&amp;nbsp; &lt;/STRONG&gt;The highlighted context is used in&amp;nbsp;&lt;STRONG&gt;insert_new_rec(tfileoutputdelimited) and&amp;nbsp;insert_new_row_fr_chnaged_rec (tfileoutputdelimited) &lt;/STRONG&gt;to have the file name same.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fileoutputnamingconvention.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8eB.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155915i662CE8FE828AD874/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8eB.jpg" alt="0683p000009M8eB.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2019 02:16:04 GMT</pubDate>
    <dc:creator>NIKISUBHADIP</dc:creator>
    <dc:date>2019-12-05T02:16:04Z</dc:date>
    <item>
      <title>SCD type 2 without using talend SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-type-2-without-using-talend-SCD-component/m-p/2197933#M1471</link>
      <description>&lt;P&gt;Use case:&lt;/P&gt; 
&lt;P&gt;1)Compare the source file&amp;nbsp; data with the dimension table data.&lt;/P&gt; 
&lt;P&gt;2)Identify the changing column .and key column.&lt;/P&gt; 
&lt;P&gt;3)Load the dimension table data into a staging file.&lt;BR /&gt;4)Inner join the two set of data then.:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scd2_part1.JPG" style="width: 802px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Z8.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146685i1A6C7A7E58AED042/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Z8.jpg" alt="0683p000009M8Z8.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scd2_part2.JPG" style="width: 722px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8Ke.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156916i076A7EF5BECF1967/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8Ke.jpg" alt="0683p000009M8Ke.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a)Catch inner join reject and get the new records for insert&amp;nbsp; operation..&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b)Identify the no change records by comparing two data sets.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;c)Update the active flag to "N"&amp;nbsp; and end date to current day date for an changed records(by comparing the changing columns from two data sets).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;d)Insert a row for the changed records with active flag as "Y" ,Start Date as current day date . and end date as any default date "31-12-9999".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1.insert_new_rec(tfileoutputdelimited) and&amp;nbsp;insert_new_row_fr_changed_rec (tfileoutputdelimited) are in append mode to create a consolidated file for insert operation.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;2. tjava_1 Code : &lt;STRONG&gt;context.setProperty("datestamp", TalendDate.getDate("dd-MM-yyyy").toString());&amp;nbsp; &lt;/STRONG&gt;The highlighted context is used in&amp;nbsp;&lt;STRONG&gt;insert_new_rec(tfileoutputdelimited) and&amp;nbsp;insert_new_row_fr_chnaged_rec (tfileoutputdelimited) &lt;/STRONG&gt;to have the file name same.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fileoutputnamingconvention.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8eB.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155915i662CE8FE828AD874/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8eB.jpg" alt="0683p000009M8eB.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 02:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-type-2-without-using-talend-SCD-component/m-p/2197933#M1471</guid>
      <dc:creator>NIKISUBHADIP</dc:creator>
      <dc:date>2019-12-05T02:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 2 without using talend SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-type-2-without-using-talend-SCD-component/m-p/2197934#M1472</link>
      <description>&lt;P&gt;could you please share screenshot of rules applied in tmap&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2019 05:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-type-2-without-using-talend-SCD-component/m-p/2197934#M1472</guid>
      <dc:creator>lucky0691</dc:creator>
      <dc:date>2019-12-05T05:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 2 without using talend SCD component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SCD-type-2-without-using-talend-SCD-component/m-p/2197935#M1473</link>
      <description>&lt;P&gt;Please find the rules screenshot and explanation below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Location column is identified as changing column.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scd_rules.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8gl.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142806i218990C40EF2A468/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8gl.jpg" alt="0683p000009M8gl.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scd_rules_1.JPG" style="width: 474px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8gq.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156436i451297EE7283D34B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8gq.jpg" alt="0683p000009M8gq.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scd_2.JPG" style="width: 473px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8gv.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128296iBAE993E573262E89/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8gv.jpg" alt="0683p000009M8gv.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2019 01:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SCD-type-2-without-using-talend-SCD-component/m-p/2197935#M1473</guid>
      <dc:creator>NIKISUBHADIP</dc:creator>
      <dc:date>2019-12-07T01:46:39Z</dc:date>
    </item>
  </channel>
</rss>

