How to make customization 2 SCD in ODI 11 g

Hello

I am new to ODI. I use 11.1.1.9 version. on windows.

I want to customize my implementation of type 2 SCD with the requirements below:

My Data Source

Store_ID Store_street_address Store_city Store_state Store_region First_open_date

ST0001, ' 4, street candy", BAN, KAR, SOUTH, 09/01/2014-21:55

My target data

Store_Key Store_id Store_add, Store_city, Store_State, Eff_date, Active_Flg, end_date

1, ST0001, ' 4, candy Street", BAN, KAR, SOUTH, 09/01/2014-21:55, 1 January 00

When I change the street address, below is the snapshot of the target with the use of the IKM SCD:

Store_Key Store_id Store_add, Store_city, Store_State, Eff_date, Active_Flg, end_date

1, ST0001, ' 4, Candy Street", BAN, KAR, SOUTH, 09/01/2014-21:55, 15/1/2014, 0-> here I want to fill end_date as 1/14/2014(subtract 1 day from the effective date of next active record)

2, ST0001, ' 5, the food Street", BAN, KAR, SOUTH, 15/01/2014-21:55, 1 January 00-> here I want to fill in null for end_date

Can someone please provide all entries for the same.

Hi Sharmila,

You answers in my blog with the solution.

SCD Type2 in the ODIDW team

Now, a day not giving a lot of time in OTN because we have a lot of new ODI friends help each other here. Thank you guys!

Tags: Business Intelligence

Similar Questions

  • How to make the darker text and how to get rid of the ads on my toolbar

    original title: GI 82 and my text is too light, how to make it darker also how can I get rid of the ads on my toolbar

    Just do my text coming or in your darkest records

    Hello

    1 are you referring to the ads in the Internet Explorer toolbar?

    2. are you referring to the policies of the Internet Explorer icons?

    Method 1: You can change the theme of the operating system Windows 7 high contrast themes that will make the text and the darkest record.

    Follow the steps below to change the high contrast theme.

    1. open Personalization by clicking the Start button, then Control Panel. In the search box, type personalization, and then click customization.

    2. under Basic and high contrast themes, click Windows 7 Basic or one of the high contrast themes.

    Method 2: In order to disable ads in Internet Explorer disable all modules and check if this is useful.

    No add-on, run Internet Explorer mode.

    a. Click Start, point to programs, point to Accessories and system tools

    b. click Internet Explorer (No Add-ons).

    If this resolves the problem, follow these steps to isolate the browser add-on that is causing the problem:

    a. click Tools and then click Internet Options.

    b. click on the tab programs, then click on Manage Add-ons.

    c. click an add-on in the name list and then click on disable.

    d. Repeat step c until you identify the add-on that is causing the problem.

    If this solves the problem, this could be caused by an adware installed as add-on. See the link below for more information.

    http://Windows.Microsoft.com/en-us/Windows/help/Internet-Explorer/slow-five-tips-to-boost-performance

  • How to make the new messages show up on Windows mail? columns for messages sent and deleted without long appears. How to make a comeback?

    Original title: Messages a suddenly begin to appear new downstairs; How can I make them appear at the top?  In addition, the columns for messages sent and deleted no long appears.  How to make a comeback?

    It's the Windows Mail 06 comes with Vista.

    Hello

    Step 1:

    Follow these steps and check if that helps.

    (a) open Windows Mail.

    (b) click on view

    (c) select sort by , click on to.

    Do you view recent messages on top.

    Step 2:

    (a) in Windows Mail.

    (b) click on view

    (c) select Layout.

    (d) under the basic click toolbar. (To display the toolbar if it disappears).

    (e) click on customize the toolbar and add Send/recv current toolbar features.

    See also:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Windows-Mail

    Hope this helps,

  • hit a wrong button and everything is bigger - how to make this new kid?

    I was cleaning my keyboard and typing something that makes everything bigger - how to get back to normal size?

    Hello

    Right click on desktop - customize - display settings - Set resolution.

    Right click on desktop - customize - top left adjust font size (DPI)

    CTRL + mouse wheel works ZOOM

    CTRL + and CTRL - work ZOOM in and out

    Your mouse/touchpad probably incorporates a ZOOM to it.

    Your system also has a magnifier built in which could be a problem - it can also often be programmed to work
    on mouse/keyboards.

    How to turn on the Magnifier On or Off in Vista
    http://www.Vistax64.com/tutorials/125037-Magnifier-turn-off.html

    To see if your mouse/touchpad is set to ZOOM or enlarge use Control Panel - mouse.

    The TouchPad also has Hotkey controls to verify with the help of machine to online system
    documentation and their forums, where appropriate.

    ==========================================

    Use restoring the system to a point before you did.

    Start - Control Panel - restore and backup center - upper left repair Windows

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • How to make background changes color?

    Hey, I was watching recently a youtube video and a guy had a background resembling 5 or 6 lines wavy horizontal form, and he changed the color! He looked pretty impressive, but when I saw him, I was not really interested in this context again and the irony is that he has even posted a LINK to how to get the background that there, in the youtube description! And now that I became interested to customize my laptop more, I searched through my history in google chrome and I can't! So now what I ask people is, how to make a background that changes color? If you guys don't understand properly, then try patient and better explain, saying what im is basically "imagine that you have just a few plains wavy lines in front of you, imagine that they are blue, then imagine they turn suddenly red, then green, etc." That's basically what I mean...

    I have an Acer Aspire 5315 Laptop comes with Windows Vista Home Basic Edition...

    Hello

    You need Windows Vista Ultimate Edition or this program from Stardock (free, limited, feature the full version for $ 19.95): http://download.cnet.com/DeskScapes/3000-2336_4-10657476.html?tag=mncol

    I hope this helps.

  • How to make a manual backup, so I have redunant copying my files

    To ignore the story set in the last paragraph
    I have thousands of pictures on my laptop. I also have another, my desktop computer, a significant amount of disk space that I use for my backup
    I prefer manual backups as I want to use the content on both computers. I change my daily photo library, remove some photos that I need more, add new ones, so at the end of everything I have thousands of pictures on my laptop, most which are saved on the desktop, there are also a few new on my laptop that I would like to copy on my desk, AND there are a few elders on the desktop are no longer on the laptop (that I would like to delete)
    To say the easy things, all I want to do is make an exact copy of the photos on my laptop to my desktop folder.
    The only way I found to do this was to copy the whole folder to the desktop and then remove the old version of him
    If I just copied the new version of the folder just above that older new photos get copied but older are deleted
    Redundant comments: how to make an exact copy of a file in, say, another partition that has an older version of this same folder, which means that there is some files (in the older version folder) is no longer, I need and would like to get their removal, and other files that are already present in the two cases, I want to NOT crash. I can't do it manually because there are thousands of files and hundreds of files! Can anyone help?

    In addition to the tool to try it, I forgot to mention that Windows Live Sync app keeps files in constant sync, so if a file is changed, it will distribute the latest version of all locations synchronized.  But if a file does not change, it will not re-synchronized.

    However, there is another tool that is a bit more customizable and can be run on command (there's even a command line command so you can put it in a batch file or scheduled task).  It's Microsoft SyncToy.  Here are some resources that might interest you:
  • How can I customize the 'grid '.

    I want to make the grid simplified in different situations, for example, one with the grid lines showing all the 1/4 inch and the slightly heavier lines every inch. How to make choices like this to change the appearance of the grid. By default, the grid is too thin slices and what I need is a most basic page layout and then be able to add more later by adding lines of 1/8th of an inch but keeping heavier lines at intervals of 1 inch.

    Is there a way to make changes to the grid easily?

    TIA,

    Ken

    You can customize the grid preferences:

    Edit-> preferences-> guides and grid

  • How to make a smart export a package with JAVA?

    Hello! And sorry for my bad English.

    I just want to know how to make a smartExport of a package in JAVA. I already write code, but it has exported all my project and not only my package.

            final String folderPath = fonctionDiverses.pathFolder();
            final String smartExportFileName = fonctionDiverses.xmlName();
            
            // Set the encoding of XML file
            final EncodingOptions expeo = new EncodingOptions ("1.0", "ISO8859_9",  "ISO-8859-9");
            
            Locale locale = new Locale ("en", "US");
            Locale.setDefault (locale);
    
            //
            // From which Project will be exported the Integration Interfaces? Set below the Project code
            final String srcOdiProjectCode = fonctionDiverses.projectName();
            
            //
            // Export the Integration Interfaces from the Project
            final List<ISmartExportable> expIntegrationInterfaces = new LinkedList<ISmartExportable> ();        
    
                     
                    // Allocate an odisinstance of the name
                    final OdiInstance odiInstance = odiInstanceHandle.getOdiInstance();
                    try
                      {
                         TransactionTemplate tx = new TransactionTemplate(odiInstance.getTransactionManager());
                         tx.execute(new TransactionCallbackWithoutResult()
                            {
                             protected void doInTransactionWithoutResult(ITransactionStatus pStatus)
                             {
                     
                            /*
                             * 
                             *  <<  ODI SDK Codes goes here >>
                             *  
                             */
                                 
                                // OdiProject project =  ((IOdiProjectFinder) odiInstanceHandle.getOdiInstance ().getTransactionalEntityManager ().getFinder( OdiProject.class)).findByCode(srcOdiProjectCode); //$NON-NLS-1$
                    
                      
                                    Collection<OdiInterface> odiInterfaces = ((IOdiInterfaceFinder)odiInstanceHandle.getOdiInstance ().getTransactionalEntityManager ().getFinder (OdiInterface.class)).findByName(fonctionDiverses.packageName(), srcOdiProjectCode, fonctionDiverses.folderName()); //$NON-NLS-1$
                                            
                                    for (OdiInterface pop : odiInterfaces) 
                                    {
                                        expIntegrationInterfaces.add( (ISmartExportable) pop);
                                        System.out.println("pop : "+ pop.getName ());
                                    }
                                
                                            
                                    ISmartExportService esvc = new SmartExportServiceImpl (odiInstanceHandle.getOdiInstance ());
                                    try {
                                        esvc.exportToXml (expIntegrationInterfaces, folderPath, smartExportFileName, true, false, expeo, false, null);
                            
                                    } catch (IOException e) {
                                        e.printStackTrace ();
                                    }
                        
                                    
                     
                              } });
                         }
                     
                    finally
                            {
                             odiInstanceHandle.release();
                            }
        }
    
    }
    
    

    I got my answer that I post here to help someone else.

    package truc;
    
        import java.io.IOException;
    
        import java.util.Collection;
        import java.util.LinkedList;
        import java.util.List;
        import java.util.Locale;
    
        import oracle.odi.core.OdiInstance;
        import oracle.odi.core.persistence.transaction.ITransactionStatus;
        import oracle.odi.core.persistence.transaction.support.TransactionCallbackWithoutResult;
        import oracle.odi.core.persistence.transaction.support.TransactionTemplate;
        import oracle.odi.domain.project.OdiInterface;
        import oracle.odi.domain.project.OdiPackage;
        import oracle.odi.domain.project.OdiProject;
        import oracle.odi.domain.project.finder.IOdiInterfaceFinder;
        import oracle.odi.domain.project.finder.IOdiPackageFinder;
        import oracle.odi.domain.project.finder.IOdiProjectFinder;
        import oracle.odi.impexp.EncodingOptions;
        import oracle.odi.impexp.smartie.ISmartExportService;
        import oracle.odi.impexp.smartie.ISmartExportable;
        import oracle.odi.impexp.smartie.impl.SmartExportServiceImpl;
        import oracle.odi.publicapi.samples.SimpleOdiInstanceHandle;
    
        public class ClassName {
    
            public static void main(String args[]){
    
                final FonctionParamExport fonctionDiverses = new FonctionParamExport();
    
                //Paramètre de connexion à ODI et au repo
    
                final SimpleOdiInstanceHandle odiInstanceHandle = SimpleOdiInstanceHandle.create
                        ("jdbc:oracle:thin:@localhost:1521:EXEMPLE",
                        "oracle.jdbc.OracleDriver",
                        "Repo_User",
                        "Repo_Password",
                        "WORKREP",
                        "ODI_user",
                        "ODI_password");
    
                //
                // Set the location, and name of the Smart Export .xml file (the file which will be created during the Smart Export operation, and which will hold the exported objects)
                final String folderPath = fonctionDiverses.pathFolder();
                final String smartExportFileName = fonctionDiverses.xmlName();
    
                // Set the encoding of XML file
                final EncodingOptions expeo = new EncodingOptions ("1.0", "ISO8859_9",  "ISO-8859-9");
    
                Locale locale = new Locale ("en", "US");
                Locale.setDefault (locale);
    
                //
                // From which Project will be exported the Integration Interfaces? Set below the Project code
                final String srcOdiProjectCode = fonctionDiverses.projectName();
    
                //
                // Export the Integration Interfaces from the Project
                final List expIntegrationInterfaces = new LinkedList ();        
    
                // Allocate an odisinstance of the name
                final OdiInstance odiInstance = odiInstanceHandle.getOdiInstance();
                try
                  {
                     TransactionTemplate tx = new TransactionTemplate(odiInstance.getTransactionManager());
                     tx.execute(new TransactionCallbackWithoutResult()
                        {
                         protected void doInTransactionWithoutResult(ITransactionStatus pStatus)
                         {
    
                             OdiProject project =  ((IOdiProjectFinder) odiInstanceHandle.getOdiInstance ().getTransactionalEntityManager ().getFinder( OdiProject.class)).findByCode(srcOdiProjectCode); //$NON-NLS-1$
    
                                Collection odiPackages = ((IOdiPackageFinder)odiInstanceHandle.getOdiInstance ().getTransactionalEntityManager ().getFinder (OdiPackage.class)).findByName(fonctionDiverses.packageName(), srcOdiProjectCode, fonctionDiverses.folderName()); //$NON-NLS-1$
    
                                for (OdiPackage pop : odiPackages)
                                {
                                    expIntegrationInterfaces.add( (ISmartExportable) pop);
                                    System.out.println("pop : "+ pop.getName ());
                                }
    
                                ISmartExportService esvc = new SmartExportServiceImpl (odiInstanceHandle.getOdiInstance ());
    
                                try {
                                    esvc.exportToXml (expIntegrationInterfaces, folderPath, smartExportFileName, true, false, expeo, false, null);
    
                                } catch (IOException e) {
                                    e.printStackTrace ();
                                }
    
                          } });
                     }
                    finally
                        {
                         odiInstanceHandle.release();
                        }
            }
        }
    
  • How to enable customization hidden using "manage the levels of customization.

    Hello

    I have problem with the activation of the customization (see below). Box is not active. How to make it active?

    Thanks for the reply

    issue.png

    Problem is solved. "Value of the profile: ' FND: seeding of customization Mode" should be set to: Yes. After changing the value of this profile, box (see screenshot in my first post) can be changed

  • How to make animated gifs to work in FCPX?

    Hello

    How to make animated gifs to work in FCPX?

    They work in FCP7 (FCS) but not FCPX. Strange.

    assailed

    Elmer

    If you had FCP7, you have Quicktime 7 Pro (upgraded automatically at installation FCP7). Check your Applications > Utilities folder.

    Open the gif in QT7 and export as... (Sequence Quicktime Movie > Open Options)... might as well go with ProRes LT and make sure that you pay attention to the size option (select current if the original is 100%).

  • How to make live iPhone photos 7

    How to make a live Webcam picture on my new iPhone 7

    http://help.Apple.com/iPhone/10/#/iph1e767793c

  • Can you please tell me how to make the thicker arrows on the Pages.

    Can you please tell me how to make the thicker arrows on the Pages. Thank you very much. There is something incredibly simple to do, but I, having a disconcerting brain, am totally unable to understand. Please please help me. Thank you

    < re-titled by host >

    Try here > Pages for Mac: Add and edit forms

  • How to make the list of instrumental music

    How to make a list of all my player someone help

    Alan

    iTunes is not a method to determine what tracks have vocals. You can create a normal playlist and put what you want in it.

    TT2

  • How to make itunes on an Android 5.1.1

    How to make itunes on my android5.1.1

    Do you mean how can you get an app called iTunes on your Android? If so, you can't. You can, however, download the app Apple music store Google play.

    Or, do you mean, how can you get the music you bought on the iTunes Store on your Android? You would be transferred in any way that you usually transfer the music on your phone. Drag and drop generally works very well.

  • How to make a wired internet connection to my macbook pro?

    How to make a wired internet connection to my macbook pro

    < removed >

Maybe you are looking for