<?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 not working properly in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484454#M15110</link>
    <description>&lt;P&gt;HI all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created one DI studio job which has SCD type 2 transformation in it and which is failing with below mentioned error :-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="SCROLL:16950702" target="_blank"&gt;SCD Type 2&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;A href="SELECT:132726:133243" target="_blank"&gt;Line 1,822:&lt;/A&gt; ERROR: BY variables are not properly sorted on data set LIBKC.FSK_LIST_ELEMENT. etls_md5= DIGEST_VALUE= LIST_ELEMENT_ID=2683832 LIST_ID=100 LIST_ELEMENT_DESC= LIST_ELEMENT_VALUE= CREATE_DATE=06FEB2018:16:33:50 DELETE_DATE=06FEB2018:16:33:49 FIRST.LIST_ID=1 LAST.LIST_ID=0 FIRST.LIST_ELEMENT_VALUE=1 LAST.LIST_ELEMENT_VALUE=0 FIRST.LIST_ELEMENT_DESC=1 LAST.LIST_ELEMENT_DESC=0 FIRST.DELETE_DATE=1 LAST.DELETE_DATE=0 etls_str= SEGMENT_ID=. CREATE_USER_ID=. DELETE_USER_ID=. LOGICAL_DELETE_IND=. _ERROR_=1 _N_=2&lt;BR /&gt;&amp;nbsp;&lt;A href="SELECT:133510:133644" target="_blank"&gt;Line 1,822:&lt;/A&gt; WARNING: The data set WORK.ETLS_SORTEDXREF may be incomplete. When this step was stopped there were 0 observations and 7 variables.&lt;BR /&gt;&amp;nbsp;&lt;A href="SELECT:142492:142575" target="_blank"&gt;Line 1,822:&lt;/A&gt; WARNING: Data set WORK.ETLS_SOURCE was not replaced because this step was stopped.&lt;BR /&gt;&lt;STRONG&gt;See:&lt;/STRONG&gt; &lt;A href="CODE:16950702" target="_blank"&gt;Code&lt;/A&gt; | &lt;A href="LOG:16950702" target="_blank"&gt;Log&lt;/A&gt; | &lt;A href="PROPERTIES:16950702" target="_blank"&gt;Properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While trying to resolve this is issue i came to below mentioned SAS Support :-&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/45/387.html&amp;nbsp;" target="_blank"&gt;http://support.sas.com/kb/45/387.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is clearly suggesting to apply some&amp;nbsp; hotfix&amp;nbsp; but other SCD type 2 are working fine so i am confused whether i have to apply this hotfix or not ? and has anyone faced same kind of this issue in SAS DI Studio ,Please help on this .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advances &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Aug 2018 17:23:56 GMT</pubDate>
    <dc:creator>MG18</dc:creator>
    <dc:date>2018-08-06T17:23:56Z</dc:date>
    <item>
      <title>SCD type 2 not working properly</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484454#M15110</link>
      <description>&lt;P&gt;HI all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created one DI studio job which has SCD type 2 transformation in it and which is failing with below mentioned error :-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="SCROLL:16950702" target="_blank"&gt;SCD Type 2&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;A href="SELECT:132726:133243" target="_blank"&gt;Line 1,822:&lt;/A&gt; ERROR: BY variables are not properly sorted on data set LIBKC.FSK_LIST_ELEMENT. etls_md5= DIGEST_VALUE= LIST_ELEMENT_ID=2683832 LIST_ID=100 LIST_ELEMENT_DESC= LIST_ELEMENT_VALUE= CREATE_DATE=06FEB2018:16:33:50 DELETE_DATE=06FEB2018:16:33:49 FIRST.LIST_ID=1 LAST.LIST_ID=0 FIRST.LIST_ELEMENT_VALUE=1 LAST.LIST_ELEMENT_VALUE=0 FIRST.LIST_ELEMENT_DESC=1 LAST.LIST_ELEMENT_DESC=0 FIRST.DELETE_DATE=1 LAST.DELETE_DATE=0 etls_str= SEGMENT_ID=. CREATE_USER_ID=. DELETE_USER_ID=. LOGICAL_DELETE_IND=. _ERROR_=1 _N_=2&lt;BR /&gt;&amp;nbsp;&lt;A href="SELECT:133510:133644" target="_blank"&gt;Line 1,822:&lt;/A&gt; WARNING: The data set WORK.ETLS_SORTEDXREF may be incomplete. When this step was stopped there were 0 observations and 7 variables.&lt;BR /&gt;&amp;nbsp;&lt;A href="SELECT:142492:142575" target="_blank"&gt;Line 1,822:&lt;/A&gt; WARNING: Data set WORK.ETLS_SOURCE was not replaced because this step was stopped.&lt;BR /&gt;&lt;STRONG&gt;See:&lt;/STRONG&gt; &lt;A href="CODE:16950702" target="_blank"&gt;Code&lt;/A&gt; | &lt;A href="LOG:16950702" target="_blank"&gt;Log&lt;/A&gt; | &lt;A href="PROPERTIES:16950702" target="_blank"&gt;Properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While trying to resolve this is issue i came to below mentioned SAS Support :-&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/45/387.html&amp;nbsp;" target="_blank"&gt;http://support.sas.com/kb/45/387.html&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which is clearly suggesting to apply some&amp;nbsp; hotfix&amp;nbsp; but other SCD type 2 are working fine so i am confused whether i have to apply this hotfix or not ? and has anyone faced same kind of this issue in SAS DI Studio ,Please help on this .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advances &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 17:23:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484454#M15110</guid>
      <dc:creator>MG18</dc:creator>
      <dc:date>2018-08-06T17:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 2 not working properly</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484539#M15117</link>
      <description>That hot fix is for Merchandise Intelligence. This hot fix seem more relevant:&lt;BR /&gt;&lt;A href="http://support.sas.com/kb/45/939.html" target="_blank"&gt;http://support.sas.com/kb/45/939.html&lt;/A&gt;&lt;BR /&gt;What version are you using?&lt;BR /&gt;If you have 4.4 or later, and all mappings and options seem correct, try SAS Tech support.</description>
      <pubDate>Mon, 06 Aug 2018 21:16:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484539#M15117</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-08-06T21:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 2 not working properly</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484659#M15120</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using the DI studio 4.6 version and SAS 9.3 version and other SCD type2 are working properly please tell still i need to apply this hotfix.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:04:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484659#M15120</guid>
      <dc:creator>MG18</dc:creator>
      <dc:date>2018-08-07T09:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 2 not working properly</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484718#M15121</link>
      <description>&lt;P&gt;Kindly let me know there any way to check which all hot fixes has been applied to SAS system how to check this ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 12:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484718#M15121</guid>
      <dc:creator>MG18</dc:creator>
      <dc:date>2018-08-07T12:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 2 not working properly</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484905#M15123</link>
      <description>&lt;A href="http://support.sas.com/documentation/cdl/en/whatsdiff/63859/HTML/default/viewer.htm#p1liyuy27ouzuvn1k3t12m59mvur.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/whatsdiff/63859/HTML/default/viewer.htm#p1liyuy27ouzuvn1k3t12m59mvur.htm&lt;/A&gt;</description>
      <pubDate>Tue, 07 Aug 2018 20:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/484905#M15123</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-08-07T20:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 2 not working properly</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/487331#M15185</link>
      <description>&lt;P&gt;We have made the changes as per below and after this DI job is &amp;nbsp;running fine :-&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;If you don't see a PROC SORT on the Target Table in the code, then you need to open Properties on the SCD Type 2 Loader transformation, go to the Options tab, and on the SCD group set the option "Sort target table records before creating the temporary cross reference table" to YES.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;In the Additional Options group on the same Options tab for the SCD Type 2 Loader transform, enter SORTPGM=SAS in the System options: box.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Select OK to save changes.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Thanks All for Your reply and suggestion &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 10:12:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SCD-type-2-not-working-properly/m-p/487331#M15185</guid>
      <dc:creator>MG18</dc:creator>
      <dc:date>2018-08-16T10:12:52Z</dc:date>
    </item>
  </channel>
</rss>

