<?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: Fact Table Lookup code generation in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fact-Table-Lookup-code-generation/m-p/22850#M3571</link>
    <description>I was working on Data Integration Studio. Sorry for placing the post in a wrong place.</description>
    <pubDate>Mon, 09 Jun 2008 17:40:39 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-06-09T17:40:39Z</dc:date>
    <item>
      <title>Fact Table Lookup code generation</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fact-Table-Lookup-code-generation/m-p/22848#M3569</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
The Fact Table Lookup node to lookup is generating different source codes for different target tables. Sometimes it doesn't generate the following code :&lt;BR /&gt;
&lt;BR /&gt;
   /*---- Create the xref table  ----*/ &lt;BR /&gt;
   /* Remove any existing temporary cross reference file  */ &lt;BR /&gt;
   proc datasets lib = work nolist nowarn memtype = (data view);&lt;BR /&gt;
      delete tempXrefTable;&lt;BR /&gt;
   quit;&lt;BR /&gt;
   &lt;BR /&gt;
   /* Sort target table  */ &lt;BR /&gt;
   proc sort data = pmd.FINANCIAL_ACCOUNT_DIM   &lt;BR /&gt;
      out = work.tempXrefTable;&lt;BR /&gt;
      by ACCOUNT_RK VALID_TO_DTTM;&lt;BR /&gt;
   run;&lt;BR /&gt;
   &lt;BR /&gt;
   %rcSet(&amp;amp;syserr); &lt;BR /&gt;
   &lt;BR /&gt;
   /* Get the last key variable in each set of keys  */ &lt;BR /&gt;
   data work.tempXrefTable; &lt;BR /&gt;
      set work.tempXrefTable;&lt;BR /&gt;
      by ACCOUNT_RK;&lt;BR /&gt;
      if last.ACCOUNT_RK;&lt;BR /&gt;
         output;&lt;BR /&gt;
   run;&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know why this happens or what should I do to have my lookup target table ordered by ACCOUNT_RK VALID_TO_DTTM?</description>
      <pubDate>Wed, 04 Jun 2008 13:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fact-Table-Lookup-code-generation/m-p/22848#M3569</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-04T13:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Fact Table Lookup code generation</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fact-Table-Lookup-code-generation/m-p/22849#M3570</link>
      <description>Are you sure you are working with Enterprise Guide?  "Fact Table Lookup" is not a construct in EGuide.</description>
      <pubDate>Wed, 04 Jun 2008 16:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fact-Table-Lookup-code-generation/m-p/22849#M3570</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2008-06-04T16:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Fact Table Lookup code generation</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fact-Table-Lookup-code-generation/m-p/22850#M3571</link>
      <description>I was working on Data Integration Studio. Sorry for placing the post in a wrong place.</description>
      <pubDate>Mon, 09 Jun 2008 17:40:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Fact-Table-Lookup-code-generation/m-p/22850#M3571</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-06-09T17:40:39Z</dc:date>
    </item>
  </channel>
</rss>

