Reverse engg data store using ODI SDK

how to I reverse engineer a data store and not a model using ODI SDK
Is there any class for reverse engg? Or should I use KM's?

When I reverse engg my delimited or fixed file, I am able to see the data of datastore; I used same datastore in interface
Yes , I used the data store in interface using code(sdk)
I am not doing anything manually in studio; everything is done through java code (using sdk)...but I have checked data of datastore by right clicking on it, its giving proper data
filedescriptor contains start position and num of bytes
your text file is looks like FIXED format,
my Delimited format text file:
empNo,empName
1,Deepa
2,Deepali
3,Patil
4,Deeps
and FIXED format text file:
10   
Georges                                     
Hamilton                                    
15/01/2001 00:00:00
11   
Andrew                                      
Andersen                                    
22/02/1999 00:00:00
12   
John                                        
Galagers                                    
20/04/2000 00:00:00
13   
Jeffrey                                     
Jeferson                                    
10/06/1988 00:00:00
20   
Jennie                                      
Daumesnil                                   
28/02/1988 00:00:00
21   
Steve                                       
Barrot                                      
24/09/1992 00:00:00
22   
Mary                                        
Carlin                                      
14/03/1995 00:00:00
30   
Paul                                        
Moore                                       
11/03/1999 00:00:00
31   
Paul                                        
Edwood                                      
18/03/2003 00:00:00
32   
Megan                                       
Keegan                                      
29/05/2001 00:00:00
40   
Rodolph                                     
Bauman                                      
29/05/2000 00:00:00
41   
Stanley                                     
Fischer                                     
12/08/2001 00:00:00
42   
Brian                                       
Schmidt                                     
25/08/1992 00:00:00
50   
Anish                                       
Ishimoto                                    
30/01/1992 00:00:00
51   
Cynthia                                     
Nagata                                      
28/02/1994 00:00:00
52   
William                                     
Kudo                                        
28/03/1993 00:00:00
if file format is Delimited we need not to worry about physical length or logical length, bcoz we are able to do reverse engg for that; which automatically set all fields
odiColumn.setLength(length); method sets both physical and logical length

Similar Messages

  • How to create data stores in ODI ?

    Hi all,
    I am new to this ODI part.Can anyone please help me as how to create data stores in ODI.
    A prompt reply will be highly aprreciated.
    Thanks
    Saurabh.

    What do you mean by "create datastores"?
    If you mean you want to reverse engineer existing tables from a database, then the phrase used in the ODI docs is "reverse enginnering". If you mean to create new tables in a database, then:
    1) ODI is not meant to be a database design tool.
    2) Using the "diagrams" node under a data model, you are able to use the "Common Format Designer" (CFD) tool to design and create the structure. The CFD tool is a simple ER-digram tool, but importantantly, if you drag structures in from one model to another, it remembers where it came from, allowing automatic generation of interfaces, and it automatically translates the data types.

  • Logical data Model Using ODI

    Can I create Logical data Model Using ODI ? If yes how can I do it ?

    User,
    ODI is not a tool to design. It's a comprehensive integration platform.
    However if you would like to model your data, you can use for example Oracle Designer 9i, which is availble one the Oacle website for free.
    Oracle 10gR2 Designer is also availble at: http://www.oracle.com/technology/software/products/designer/htdocs/winsoft.html
    Good luck.
    Edited by: kumper on 2008-10-16 00:33

  • Anyone successfully used ODI SDK to create master repository?

    I'm just trying to compile and run the sample code given by Oracle (odi_sdk_samples.zip downloaded from http://www.oracle.com/technetwork/indexes/samplecode/dataintegration-sample-522116.html) to create a master repository, and I am running into an error below.
    java CreateMasterAndWorkRepositorySample
    oracle.odi.setup.RepositoryScriptsNotFoundException: Scripts were not found
    at oracle.odi.setup.support.MasterRepositorySetupImpl.internalCreateMaster(MasterRepositorySetupImpl.java:146)
    at oracle.odi.setup.support.MasterRepositorySetupImpl.createMasterRepository(MasterRepositorySetupImpl.java:52)
    at CreateMasterAndWorkRepositorySample.main(CreateMasterAndWorkRepositorySample.java:43)
    Caused by: java.io.FileNotFoundException: Directory /scripts/xml/ does not exist.
    at com.sunopsis.repository.manager.RepositoryManager.getRepositoryCreationXMLFilesDirectory(RepositoryManager.java:4565)
    at oracle.odi.setup.support.MasterRepositorySetupImpl.internalCreateMaster(MasterRepositorySetupImpl.java:139)
    ... 2 more
    Does anyone know how to tell JVM the location of /scripts/xml ? This happens to exist at oracledi.sdk/lib/scripts/xml under ODI installation. All I am doing to run the above program is adding all JARS from oracledi.sdk/lib to CLASSPATH and compiling this and one other file (SimpleOdiInstanceHandle.java) in the same directory. Unfortunately, there is no documentation out there on how to set up the environment properly. Apparently it is trying to get to some XML files that ODI needs to execute in order to create the master repository....
    Thank you in advance for your help.
    글 수정: user11180669

    Well hindsight is 20/20 but oraparams.sh needed to be run before running any program that uses ODI SDK. :)

  • Error when adding multiple source data stores in ODI Interface

    I am trying to create an ODI Interface with couple of source tables and one target table. Say for example I am using the following data structure in my target table.
    Order (Target Table)
    order id
    product id
    customer id
    address id
    warehouse id
    shipment id
    for the above target table i need to extract data from each of the following source tables.
    orderitem
    product
    customer
    address
    warehouse
    shipment
    Total 6 source tables i need to join however and load data for target table.
    When I drag source data stores in to ODI interface mapping tab It throws the following Null Pointer Error. Due to this error I am not able to map target table with all the source tables.
    Please suggest me what could be the reason for the error.
    Error:
    java.lang.NullPointerException
         at oracle.odi.interfaces.interactive.support.clauseimporters.ClauseImporterDefault.importClauses(ClauseImporterDefault.java:81)
         at oracle.odi.interfaces.interactive.support.actions.InterfaceActionAddSourceDataStore.performAction(InterfaceActionAddSourceDataStore.java:124)
         at oracle.odi.interfaces.interactive.support.InteractiveInterfaceHelperWithActions.performAction(InteractiveInterfaceHelperWithActions.java:845)
         at oracle.odi.interfaces.interactive.support.InteractiveInterfaceHelperWithActions.performAction(InteractiveInterfaceHelperWithActions.java:821)
         at oracle.odi.ui.OdiSdkEntityFactory.dropSourceDataStore(OdiSdkEntityFactory.java:523)
         at oracle.odi.ui.etlmodeler.diag.dragdrop.DiagramNodeDropHandler.dropObjects(DiagramNodeDropHandler.java:150)
         at oracle.diagram.framework.dragdrop.handler.DelegateChooserDropHandler.dropSelected(DelegateChooserDropHandler.java:386)
         at oracle.modeler.dnd.ModelerTCDropHandler.access$001(ModelerTCDropHandler.java:69)
         at oracle.modeler.dnd.ModelerTCDropHandler$3.run(ModelerTCDropHandler.java:288)
         at oracle.modeler.dif.GraphicAdder.addImpl(GraphicAdder.java:387)
         at oracle.modeler.dif.GraphicAdder.addAndLayoutImpl(GraphicAdder.java:372)
         at oracle.modeler.dif.GraphicAdder.addSelectAndLayout(GraphicAdder.java:348)
         at oracle.modeler.dnd.ModelerTCDropHandler.dropSelected(ModelerTCDropHandler.java:284)
         at oracle.diagram.framework.dragdrop.handler.DelegateChooserDropHandler.drop(DelegateChooserDropHandler.java:150)
         at oracle.diagram.framework.dragdrop.DefaultDropPlugin.drop(DefaultDropPlugin.java:115)
         at oracle.modeler.dnd.ModelerDropPlugin.drop(ModelerDropPlugin.java:100)
         at oracle.diagram.framework.dragdrop.DropTargetHelper.drop(DropTargetHelper.java:188)
         at oracle.diagram.framework.dragdrop.ManagerViewDragAndDropController$MyDropTargetListener.drop(ManagerViewDragAndDropController.java:802)
         at java.awt.dnd.DropTarget.drop(DropTarget.java:434)
         at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:519)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:832)
         at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:756)
         at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)
         at java.awt.Component.dispatchEventImpl(Component.java:4487)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4312)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4163)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Hello,
    does somebody have a solution for this issue?
    I am new to ODI and have the same problem. I am using ODI Designer Standalone Edition Version 11.1.1.
    Maybe there is something wrong with my configuration, maybe I am doing something wrong while creating the mapping graphically. It does not help to save and re-open the mapping. Also it does not help to re-reverse engineer the objects. Also it does not seem to have something to do with the number of objects joined (some objects seem to always cause this error, with some the error starts when there are 10 or more objects on the map before they are added).
    One possible workaround i have found is to do it all on the quick-edit tab by one by one creating the joins and mappings (+source or lookup joins and filter mapping). It seems to work with my configuration, but drag&drop functionality on the mapping tab would sometimes be faster, more convenient and just more human like.
    Br,
    Jaanus

  • Data loading using ODI

    Hi,
    I am using ODI 10g for loading data into oracle 10g database from a flat file. The flat file is in fixed format, but the data is in a single row, so the data is not loaded correctly. For example, 1000 records are shown in 1 line.
    Can someone please suggest, what customization should I make to the IKM to achieve this.
    Please let me know the questions you may have.
    Thanks a lot.

    Hi John,
    I reversed my Planning model and able to see those columns now. I tried executing my interface and got the below error
    The source result set contains column [EMPLOYEE_ACCOUNT] which has no corresponding column on the planning side.
    My source is an oracle table and i have seperate columns for each dimension member. What I did is, mapped the Data column (JobTitle) from source to the Target column(JobTitle) and rest all dimension member columns from source to Point of View column seperated by a comma. My Planning cube name is EMPLOYEE, so in th data cube name column i manually entered "EMPLOYEE" and tried executing it.
    Please guide me as always
    Thanks,
    Sravan

  • Automating the Datastores creation using ODI SDK's in ODI 11g.

    Hi Team,
    We have a requirement in which structure of the Datastores to be reverse engineered is attached in the .csv file below. Please give a solution to reverse engineer the datastores reading them from the .csv file. Also, Please find the file "ODI_SDK_MODEL_DATASTORES.groovy" in which I have created the Datastore using the ODI SDK's but datastore names are hard-coded inside the groovy script. Please use this file as a reference and re-write the code for datastore creation in such a way that it reads the datastore, column and datatype names at the runtime from the .csv file and creates the datastore dynamically.
    I have attached the needed files below.
    Thanks a ton in advance!!!
    Best Regards,
    Shivesh.

    I'll be very surprised if anyone will write the code for you. This is a discussion forum not a free resource for producing code. People will be willing to help point you in the right direction or help you if you hit an unusual issue. As you have done some of the work with the SDK you should be able to extend this to meet your requirements with a bit of research and trial and error.
    If this is too much, it may be worth considering hiring and experienced consultant to help you with your more difficult requirements.

  • How to make Filemaker as data store in ODI.

    Hi
    I have a requirement where i need to export data from Filemaker 11 to Oracle 11g, using ODI 11g . Is their any way to use Filemaker directly or by using ODBC connection of Filemaker to use it as data store to export data into Oracle database. Also let me know what measures need to be taken to make it happen?
    Thanks in advance.
    Regards
    Sandeep.

    Thanks Dev for responding,
    I have created the ODBC DSN for filemaker tool and trying to add it in topology. But it is not recognizing into any datastore. Tried with sun-jdbc/odbc driver also in odi. But didn't work.
    Can you suggest me how to connect the filemaker odbc in odi.
    Thanks in advance.
    Regards
    Sandeep

  • GL Data load using ODI to Essbase

    Hi, I am trying to load GL actual data to essbase application using ODI. Source file is having 10 columns and the Target is having 11 columns. We are using rules file to load data into essbase. Rules file will split 9th column as two columns and will load the data into Essbase. When we test the rules file in essbase data is getting load into application. when we use the same rule file in ODI interface data is not getting load and giving error as "Unknown member" for the member which we are spliting in 9th column. Source file: HSP_RATES ACCOUNT PERIOD YEAR SCENARIO VERSION CURRENCY ENTITY SFUND PROGRAM DATA HSP_InputValue 611101 Jul FY13 ACTUAL Final Local 0000 SBNR AC0001PS0001 25000 AC0001PS0001 is the concatenated string from GL. we will split this as two columns using rules file to load into essbase application. Please suggest what might be the reason for the error. How to do the mapping between source and target. I have mapping one column(AC0001PS0001) to two dimensions (Program, Activity) in Essbase. Please suggest. Thanks Sri

    In ODI, what you have to do is to split it in the ODI itself. While you are mapping, you can use SQL functions to map it to two different columns. Similar to the way you are doing it in Rule file.
    Regards
    Amarnath
    ORACLE | Essbase

  • Data Migration using ODI

    Hi All-
    Has anyone used ODI for Data Migration (from any legacy to any new application)?
    I'm looking for documents on how the solution was designed and implemented?
    Regards,
    -Ranjit

    Hi,
    Yes I'm using ODI for data migration.
    The migration is beetwen Legacy (slqserver) to SAP (SqlServer), we also use WEB SERVICE.

  • Does Concurrent Data Store use synchronous writes?

    When specifying the DB_INIT_CDB flag in opening a dbenv (to use a Concurrent Data Store), you are unable to specify any other flags except DB_INIT_MPOOL. Does this mean that logging and transactions are not enabled, and in turn that db does not use synchronous disk writes? It would be great if someone could confirm...

    Hi,
    Indeed, when setting up CDS (Concurrent Data Store) the only other subsystem you may initialize are the shared memory buffer pool subsystem (DB_INIT_MPOOL). CDS suites applications where there is no need for full recoverability or transaction semantics, and where you need support for deadlock-free, multiple-reader/single writer access to the database.
    You will not initialize the transaction subsystem (DB_INIT_TXN) nor the logging subsystem (DB_INIT_LOG). Note that you cannot specify recovery configuration flags when opening the environment with DB_INIT_CDB (DB_INIT_RECOVER or DB_RECOVER_FATAL).
    I assume that by synchronous/asynchronous writes you're referring to the possibility of using DB_TXN_NOSYNC and DB_TXN_WRITE_NOSYNC for transactions in TDS applications to influence the default behavior (DB_TXN_SYNC) when committing a transaction (which is to synchronously flush the log when the transaction commits). Since in a CDS set up there is no log buffer, no logs or transactions these flags do not apply.
    The only aspect pertaining to writes in CDS applications that needs discussion is flushing the cache. Flushing the cache (or database cache) - DB->sync(), DB->close(), DB_ENV->memp_sync() - ensures that any changes made to the database are wrote to disk (stable storage). So, you could say that since there are no durability guarantees, including recoverability after failure, that disk writes in CDS application are not synchronous (they do not reach stable storage, you need to explicitly flush the environment/database cache).
    More information on CDS applications is here:
    [http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/cam.html]
    Regards,
    Andrei

  • Call ODI 11g scenario from Essbase calc script/business rule using ODI SDK

    I am looking for any hints on how to use the ODI 11g SDK. I want to call a java application (CDF) that runs an ODI scenario using RUNJAVA in Essbase which I have successfully done in the 10g environment.
    The java application has the odi-core.jar included in the project and registers OK with Essbase and I have replicated code from the Oracle sample code site. When I run the application in a calc script I get the following error:
    EssbaseCluster-1.EFTS.EFTS.odi     Execute calculation script     June 17, 2011 10:20:40 AM NZST     Failed
    Error: 1200456 Problem running [indigo.essbase.odi.RunODIScenario]: [java.lang.NoClassDefFoundError: org/springframework/util/StringUtils]
    When I comment out the code that calls the creates the OdiInstance then the java app executes fine - i.e. writes something to the Essbase log.
    The research I have done so far indicates that a classpath is incorrect. If that is the case where do I start looking to correct the classpath? Is it the ODI classpath or the Essabase classpath?
    Any tips would be grateful.
    Thanks.

    You need to import more jars to execute this
    following are the jars
    1)     bsf.jar
    2)     bsh-2.0b2.jar
    3)     commons-collections-3.2.jar
    4)     eclipselink.jar
    5)     odi-core.jar
    6)     ojdl.jar
    7)     oracle.ucp_11.1.0.jar
    8)     persistence.jar
    9)     spring-beans.jar
    10)     spring-core.jar
    11)     spring-dao.jar
    12)     spring-jdbc.jar
    Once you have this in classpath - your scenario will execute
    Hope this helps.

  • Data load using ODI 11.1.1.5 to hyperion.

    Hi All,
    I have installed ODI and we have already installed Hyperion.
    After installation of ODI , I have created Master repository and Work repository.
    Now i am planning to load data to hyperion planning applications dimensions(Eg. Entity).
    1) In Topology section, i did right click on Hyperion planning and clicked on "New Data Server". Filled the required infomartion and saved it.
    2) Then i right clicked on newly created Data server and opted "New physical schema", but after that it is not showing any application in Application(Catalog) and Application (Work Catalog) drop downs.
    Before those steps we had created planing applications in Hyperion.
    Please let me know what is wrong/missing in above steps or share the steps to load the data in hyperion.
    -PM

    Yes , i have entered the values in text boxes/drop downs . Afterward i tried to save it but it ask to fill "context".Then i seletected Context option, In that i have only one option global, I opted that.
    And in second field logical schema , doesnt have any value. System doesnt allow to save without giving these values.
    Can you please me further steps.
    -PM

  • Cannot reverse in Data store

    We are loading the metadata from a falt file to Hyperion planning.
    In Models when I create a new datastore and perform reverse, I dont see any error message also I dont see any effect of reverse. Please advise.

    are you doing a reverse on planing the you need to use the correct RKM for planning,
    If you are doing it on the file then can you tell me what steps did you follow.
    Regards
    Vinil

  • Use ODI sdk in procedure

    Hi,
    I would like to create a reference to running package in jython procedure. And i would like to modify some propority of this package in my jython procedure.
    It's possible ?
    Thank you

    Thanks a lot it did not fail.
    Now I am going to check if my procedure does something.
    Steps to use a variable resulting from a query in a procedure. ( In my case I used a alphanumeric variable )
    1) I declare a global Variable My_Variable. I chose
    - type 'Alphanumeric'
    - default value SELECT TO_CHAR(DATE_LAST_PROCESS) FROM PS_S1_ODI_BASCULE
    - action 'Dernière valeur'
    - I refresh my variable by running the query on the RDBMS
    2)In the procedure I refer to my variable by writing '#My_Variable'. My SQL Code becomes
    SELECT A.SESS_NAME ,
    A.SCEN_VERSION,
    A.SESS_BEG ,
    A.SESS_DUR,
    C.NNO,
    RTRIM(LTRIM(B.STEP_NAME)) TABLE_NAME
    ,SUM(C.STEP_DUR)
    , SUM(NB_INS) NB_INS
    FROM COUNT_TMP D , SNP_SESSION A , SNP_SESS_STEP B, snp_step_log C
    WHERE
    'PS_' || RTRIM(LTRIM(B.STEP_NAME)) = D.TABLE_NAME AND
    A.SESS_BEG >= TO_DATE( '#DATE_BASCULE' , 'DD/MM/YYYY') AND
    A.SESS_NO = B.SESS_NO AND
    B.SESS_NO = C.SESS_NO AND B.NNO = C.NNO
    GROUP BY A.SESS_NAME , A.SCEN_VERSION ,A.SESS_BEG ,A.SESS_DUR, C.NNO ,B.STEP_NAME
    ORDER BY A.SESS_NAME , A.SCEN_VERSION, C.NNO

Maybe you are looking for

  • Production order system status after being settled

    Hello, I am currently in ECC 605 project. I remembered once production order is variance calculated and settled,new system status, VCAL , is set at production order.  And sometimes the production order won't be set with status VCAL even though it's v

  • Doubt in DBMS_JOB

    Hello Friends, I have a doubt in creating job schedule. I created a stored proecedure for a particular process and i would like to execute that sp every 5 secs. i created a job scheduler and submitted that but could not able to run that. Can anyone t

  • HP Envy17 1050ea Notebook Overheating

    HP Envy17 1050ea Notebook Windows 7 64-bit System Temperature 90D Hardware design flaw The laptop surface is constantly extremely hot during normal use. It is so uncomfortable that I must use a separate keyboard and mouse. This is the worst at the ba

  • Help installing flash player on Amazon Silk

    Need help installing on Amazon Silk

  • Diagram editor

    Hi, I'm working in a project of an editor that will make diagrams, like class diagrams. I made a jframe and created a class Entities that extends a JLabel. The action of place the entities on the frame and move them is working, but I don't know how t