<?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: SCD type 1 &amp; 3 in SAS code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171976#M33090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering for an response - Can someone shed some light on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Aug 2014 13:29:59 GMT</pubDate>
    <dc:creator>RamKumar</dc:creator>
    <dc:date>2014-08-23T13:29:59Z</dc:date>
    <item>
      <title>SCD type 1 &amp; 3 in SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171975#M33089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any possibilities to produce a SCD type 1 &amp;amp; SCD type 3 report in base\advanced SAS code? If so, I request you to provide me the outline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 14:34:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171975#M33089</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2014-08-22T14:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 1 &amp; 3 in SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171976#M33090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering for an response - Can someone shed some light on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2014 13:29:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171976#M33090</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2014-08-23T13:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 1 &amp; 3 in SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171977#M33091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; What do these reports look like? Are you actually asking about reports or about how to accomplish a special type of processing described by these terms?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Obviously, SCD type 1, type2, etc. are some kind of special report and/or process and your lack of a response indicates that forum participants might not know what "SCD type 1" or "SCD type 3" reports look like. Or, if they know what they look like, then they don't have data to test with, since you did not provide any test data or a program that illustrates the code that you've tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are asking about "slowly changing dimension" processes and possible reports, such as the type 1 example discussed here &lt;A href="http://dwhlaureate.blogspot.com/2012/09/scd-type-1slowly-changing-dimension.html" title="http://dwhlaureate.blogspot.com/2012/09/scd-type-1slowly-changing-dimension.html"&gt;SCD Type 1,Slowly Changing Dimension Use,Example,Advantage,Disadvantage&lt;/A&gt;, then it appears that there is no standard report for type 1 and the "new" record simply replaces the "old/original" record and no history is kept. In that case, I assume a simple PROC PRINT for a "before" and a PROC PRINT for an "after" would be sufficient "reporting". If what you are asking is how to actually perform the update, that is a different question and is probably best answered by looking at descriptions of DATA step programs to do data set updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Complicating your question and pertinent to the answer is whether the files involved are SAS datasets, relational data base tables (such as Oracle or DB2) and the permissions involved for updating the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are NOT talking about Slowly Changing Dimensions, then you will need to elaborate on what you are asking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Aug 2014 18:47:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171977#M33091</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-08-24T18:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 1 &amp; 3 in SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171978#M33092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ideally I used to perform SCD's (1,2 &amp;amp; 3) in DI Studio transformation. But I wish to understand how it can be accomplished in via SAS coding. Unfortunately I don't have data at the moment to share you though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My source and target is SAS datasets. It would be fine if you can explain me with the sample data or just provide me the outline especially for SCD-3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 07:32:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171978#M33092</guid>
      <dc:creator>RamKumar</dc:creator>
      <dc:date>2014-08-25T07:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: SCD type 1 &amp; 3 in SAS code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171979#M33093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please don't cross-post in several forums. See my answers in &lt;A __default_attr="225593" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://communities.sas.com/"&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;About Type 3. Follow Patricks (and SCD Type 2 Loader transform generated code) guidelines for finding last valid record, and join with input data. You are probably looking at if/case assignment logic for moving old information to the "old columns" and placing up date information oin the current columns.&lt;/P&gt;&lt;P&gt;BTW, I rarely use Type 3 columns, especially not in conformed dimensions, never in a detail data store. Perhaps in some user specific information mart...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 14:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SCD-type-1-3-in-SAS-code/m-p/171979#M33093</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-08-25T14:25:17Z</dc:date>
    </item>
  </channel>
</rss>

