ODI  Knowledge modules

Hi All,
I am using ODI 11.1.1.3
My interface is simple one to one column mapping from on1 source table and one target table.
Both source/target are in oracle 10g
1) Whats should be my LKM in source ?
the options available to me are
a) LKM ORACLE TO ORACLE ( databaselink)
b) LKM ORACLE TO ORACLE ( datapump)
c) LKM SQL to ORACLE
There is NO simple ORACLe to Oracle LKm available
I have not created any DBlink
What options do I have ?
Should I be creating DBLINK or does ODI create them directly and use (a) ?
Should I simply use SQL to ORACLE ? ....I am getting insufficient privilages by using this.
Pls suggest
Thnx
S

Hi ,
thanks for you reply.
1)Do i specify the dblink name in physical architecture during data server creation for target(I assume then ODI will create the dblink)
OR
2)DO i create the DBLink in the target and then specify it in physical architecture during data server creation for target?
Below is the error
ODI-1217: Session POP_CTA_IMP_DEVICE (48001) fails with return code 1031.
ODI-1226: Step POP_CTA_IMP_DEVICE fails after 1 attempt(s).
ODI-1240: Flow POP_CTA_IMP_DEVICE fails while performing a Loading operation. This flow loads target table CTA_IMP_DEVICE_PLAY11G.
ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection ORACLE_TGT_PLAY11G.
Caused By: java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges
     at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
     at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
     at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
     at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
     at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
     at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
     at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
     at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
     at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
     at java.lang.Thread.run(Thread.java:722)

Similar Messages

  • ODI Knowledge Module for UNION - UNION ALL - INTERSECT Case Study

    All about BI & Data Integration: ODI Knowledge Module for UNION , UNION_ALL, INTERSECT

    Looks like a discussion/post rather than a question. You can uncheck the "Mark this discussion as a question" while creating the post.

  • Are there any Oracle OLAP ODI Knowledge Modules for Oracle Olap 11g ?

    Hi guys, wasnt sure where to post this so I put it here and the ODI forum
    Does anybody know when Oracle OLAP Knowledge Modules, will be available for Oracle Olap 11g. It appears that the knowledge modules released with Oracle Data Integrator 10.1.3.5, currently only work with Oracle Olap 10g...
    If there is no timeline, does anybody know of work around to get ODI reverses working on Analytical Workspaces built in Oracle Olap 11g
    Thank you
    Richard
    Edited by: RichardSmith on May 15, 2009 11:51 AM

    Raise a service request with Oracle Support (Metalink) for your system slow issue. May be, they will recommend you the workarounds for the issues which are not yet available for 11g in the form of Patches.
    Regards,
    Sabdar Syed.

  • How to refresh ODI variable as part of a Knowledge Module?

    Hi,
    I want to know how can i refresh a ODI varaible in a knowledge module using oracle Technology. EX: i have created a variable called VAR_TEST in ODI.
    In one of the knowledge module steps, i want to refresh as mentioned below:
    begin
    select colname into #VAR_TEST from tablename;
    end;
    Many thanks ....

    Hi Martin,
    Put the query in the refresh tab into the variable, generate a scenario from the variable and call the scenario thru "OdiStartScen" (Sunopsis API technology) from KM.
    In this case the variable needs to be "Last Value"
    An alternative is to use a Java variable instead.... Works better to KM's.
    Does it help you?
    Cezar Santos
    http://odiexperts.com

  • ODI 11.1 RKM E-Business Suite Knowledge Module??

    I downloaded and installed the companion, I see many knowledge modules but not the "RKM E-Business Suite" Knowledge Module..
    The documentation refers specifically to it by that name. Does it go by another name in ODI 11.1.1?
    Thank you,
    Jz

    Which companion have you downloaded. I recently downloaded Oracle Data Integrator Companion 11gR1 (11.1.1.5.2) version and that has got RKM E-Business Suite.
    Regards,
    Harris

  • Knowledge Modules for ODI- Oracle BAM Integration

    Could we please know who develops the Knowledge Modules for ODI- Oracle BAM Integration?
    Is there a separate team that develops these KMs?
    Learnt that ODI development team does not develop these KMs.

    BAM development team is responsible for the BAM ODI KMs.

  • Knowledge modules files were not created after ODI installed

    I installed ODI 10.1.3.5 on my Windows XP laptop and found that there are no Knowledge Module files in the directory ODI_HOME/oracledi/doc/km. Should these files be created after ODI installed or do we need to do something to create there KM files ? Appreciate if somebody can answer this ?
    Thanks in advance,
    Ram

    Hi Ram,
    Are you talking about KM XML files ? If yes then these are located at ODI_HOME/oracledi/impexp
    Under ODI_HOME\oracledi\doc\km you will get the PDF document about KM development guide .
    Thanks,
    Sutirtha

  • Need help in creating Knowledge module to aggregrate source data.

    Hi Guys,
    I am new to ODI and I am trying to create a Knowledge module. I went through the docs relating to Knowledge modules and APIs, so hopefully did my home work, I still find writing KM to be very challenging for the scenario, I have.
    The following is my scenario.
    I have two tables Employee and Department. Employee is the source and Department is the target. I need to sum salaries of all the employees belonging to a given department. And then insert the data into Department table.
    Structure of the tables is as follows:
    Employee(Source Table name)
    Employee_id
    Salary
    Dept_id
    Department(Target table name)
    id
    total_salary
    Both target and source are on the same server. The user of this KM would drag and drop both source and target tables into interface and then map the columns. In the above case, Dept_id to id and salary to total_salary and then use this IKM. And off-course the user would indicate what columns would be aggregated on and what would be used as group by. One way to tag that, would be to use those UD1,UD2 tags in target column properties. (If there is another way to tag a column to indicate a column to be used for aggregation and a given column to be used in group by during run time in source, please let me know)
    I choose to write IKM for this.
    The challenging part is that I am having hard time figuring out the columns of source table as to what column should be used as group by and what column to be aggregated on. Since the tags are defined on Target columns and not on source columns. So have to figure out the appropriate columns through the mapping at run time.
    The following is what I am planning to write in (Insert new rows ) command. And the part where I need help is how to compose select statement.
    iinsert into <%=odiRef.getTable("L","TARG_NAME","A")%>
    <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>
    <%=odiRef.getColList(",", "[COL_NAME]", ",\n\t", "", "((INS and TRG) and REW)")%>
    Select
    source.column1,sum(source.column2) from <%=odiRef.getFrom()%> GROUP BY source.column1
    Thanks.

    I did try as per your advise.
    Filter is not making a difference. Irrespective of me adding a filter or not, ODI generates a sql that has GROUP BY , just by looking at SUM(SALARY).
    Coming back to the main issue, this does do what I wanted to do. I was planning on using a custom KM. But I guess, this is as good as custom KM, since the work done in an interface (assuming a custom KM exists) by going through either route is the same, so I can live with this approach.
    Thanks for the help.

  • How to Import Knowledge Modules

    Hi,
    I am patching the ODI to 10.1.5.3 and successfully updated the install folder and imported technologies as described in the patchset. At the end I find a last step to import Knowledge Modules, but I can't see how this step is performed.
    Could you explain me how to do this?
    Thanks
    Fabio D'Alfonso

    Hi,
    In any of KM types, right-click and choose "Import KM" and, after that, in the first textbox, go the ODI install directory and drill drow until "impexp" directory (Example: C:\OraHome_1\oracledi\impexp).
    Don't "open" the diretory, just choose it and click OK. The KM list should appears to you.
    Works?
    Cezar Santos
    http://odiexperts.com

  • Unusual behavior with 'IKM Oracle Incremental Update' knowledge module

    Hi All,
    We are getting strange behaviour in our PIP.We have following three scenarios in our PIP.
    1) LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG
    2) LOAD_ORACLEEBIZ_DISCRETEMFG_WORKORDER_DATA_TO_PAS_PKG
    3) LOAD_ORACLEEBIZ_PROCESSMFG_WORKORDER_DATA_TO_PAS_PKG
    we have a project variable PVV_GET_SCEN_NAME which will hold the scenario name in that package.
    we are trying to modify the 'IKM Oracle Incremental Update' knowledge module, we have written following code.this code will match the content of I$ table with target table based on various columns.if they are matching we will delete the matching rows from target table. But when we are executing scenario "LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG",then the wrong IF condition is getting matched in the following procedure.
    the condition that is getting matched is "ELSIF ('#ORACLEEBIZ_TO_PAS_PROJECT.PVV_GET_SCEN_NAME'='LOAD_ORACLEEBIZ_DISCRETEMFG_WORKORDER_DATA_TO_PAS_PKG') THEN".Actually the value of #ORACLEEBIZ_TO_PAS_PROJECT.PVV_GET_SCEN_NAME will be LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG.i am not sure why odi is matching this condition.
    Please provide your comments on this issue.thanks in advace.
    IKM step:
    BEGIN
    IF '#PVV_GET_SCEN_NAME'='LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG' THEN
    DELETE FROM <%=odiRef.getTable("L", "TARG_NAME", "W")%> WHERE (item_number,lot_number,source_system) IN
    (SELECT item_number,lot_number,source_system FROM <%=odiRef.getTable("L", "INT_NAME", "A")%>);
    COMMIT;
    ELSIF '#PVV_GET_SCEN_NAME'='LOAD_ORACLEEBIZ_DISCRETEMFG_WORKORDER_DATA_TO_PAS_PKG' THEN
    DELETE FROM <%=odiRef.getTable("L", "TARG_NAME", "W")%> WHERE (segment1,segment2,segment3,source_system,item_number) IN
    (SELECT segment1,segment2,segment3,source_system,item_number FROM <%=odiRef.getTable("L", "INT_NAME", "A")%>);
    COMMIT;
    ELSIF '#PVV_GET_SCEN_NAME'='LOAD_ORACLEEBIZ_PROCESSMFG_WORKORDER_DATA_TO_PAS_PKG' THEN
    DELETE FROM <%=odiRef.getTable("L", "TARG_NAME", "W")%> WHERE (segment2,source_system) IN
    (SELECT segment2,source_system FROM <%=odiRef.getTable("L", "INT_NAME", "A")%>);
    COMMIT;
    ELSE
    NULL;
    END IF;
    END;
    Thanks
    Baji

    Hi Himanshu,
    Thanks for your help.
    I gave fully qualified name,even then it didn't worked.
    - How are you deriving the value of variable
    project variable PVV_GET_SCEN_NAME is refreshing variable and it will get the value of scenario with the following sql query
    select SESS_NAME
    from <%=snpRef.getObjectName("L","SNP_SESSION","D")%>
    where SESS_NO = <%=snpRef.getSession("SESS_NO")%>
    -Log or store the value of variable as comment in IKM sql query using "-- #varvalue" and note the value is same as compared
    When i gave --#varvalue (or) --#ORACLEEBIZ_TO_PAS_PROJECT.PVV_GET_SCEN_NAME is doesnot display any thing.what i did is I changed the PVV_GEN_SCEN_NAME variable to hostorize variable to see correct value of that and after the executing the scenario,i can see the value as "LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG".I also tried same thing by changing technology to jython and i am able to see same value "LOAD_ORACLEEBIZ_PROCESSMFG_BULK_LOT_DATA_TO_PAS_PKG" for the PVV_GET_SCEN_NAME variable.
    Thanks
    Baji

  • Knowledge module performance

    Hi
    I am facing an issue on knowledge module performance.
    Source DB is Oracle 11g and Target DB is Oralce 11g, and Iam using below knowledge module and my interface execution taking 34 seconds to perform 27868 records transfermation from source to target
    ODI 11g (11.1.1.6.0)
    OS: Windows XP
    CKM Oracle
    LKM Oracle to Oracle (Merge)
    IKM Oracle Incremental Update(DBLINK)
    I have created DBLINK and it is working fine.
    My requirement is,
    I need to reduce the interface execution time of 34 to 10 seconds.
    Please help me on performance tuning on IKM Oracle Incremental Update(DBLINK) KM
    Thanks in advance
    Regards,
    Phanikanth

    Hi
    Thank you for your response.
    I have tried with removed with flow control true and test
    with minus and flow control: my inter face taking 33 seconds to transfer 31658 records and now without minus and with flow control: true it is taking 27 seconds to transfer same amount of count
    I have tried with without minus and with flow control: flase and it is taking 23 seconds to do the same job
    I have removed the minus and added one duplicate record at source DB but it is not moving to E$ table and getting failes at Merge Row step with error mention above.e removed minu from
    I have removed minus clause from load data into flow table I$ step in KM and while testing it is giving same issue.
    with out minus, the KM will throw the duplicated records into E$ table (flow control is true)
    In target DB, we have added B-Tree indexs, I have checked before that
    Regards,
    Phanikanth

  • Provide me the docs for knowledge modules

    Hi All,
    Please provide me the Materials for understanding Knowledge modules.
    I need to understand more on knowledge modules as I am new to ODI tool.

    Hi Sri,
    If this is what you require, please mark the thread as answered and allocate helpful/correct points to close the thread.
    Thanks
    Bos

  • Migrating the Knowledge Modules

    Hi We are migrating Sunopsis to ODI.We have customised the knowledge modules in our project for specific scenarios. when we are Importing the knowledge modules from Sunopsis how they will behave. What are the primary steps we need to follow when we start working on. Any specifications for this to do. Please give me your inputs. If you have any docs please send ti across to me to [email protected]
    Thanks in Advance for your Inputs.
    Regards,
    Mansur

    Hello Mansur.
    I have done that before and there is no secret. Just follow the Instalation guide steps and any, at times that I did it, there is no problem.
    The KM's from Sunopsis are full compatible.
    An attention point is to Rpository upgrades but it is described at Instalation Guide
    http://www.oracle.com/technology/products/oracle-data-integrator/10.1.3/htdocs/1013_support.html#docs
    Does it help you?

  • Knowledge modules for siebel CRM

    Hi all,
    can anyone give me the details about downloading knowledge modules for loading data into siebel CRM.
    whether i can download it from the oracle website?..
    i tried but i couldn't get the correct path...
    any suggestions will be helpful.
    Thanks,
    imus

    Hi Bouch,
    Thanks for your response.
    I got the patches(Knowledge modules for siebel CRM) from the metalink.
    I need to know the use of Siebel Knowledge Modules in ODI. I am new to SIEBEL Environment.
    According to me, SIEBEL is an application which access data from a database. So to transfer data to Siebel, we can transfer the data to EIM tables which will be a normal oracle (target) transformation.
    So what is the use of SIEBEL knowledge modules. Definetly there will be some specific in it.
    please suggest me.
    Thanks in Advance,
    imus

  • Knowledge modules usage

    Hi,
    I have a requirement where I need to build my metadata(hierarchy) in Hyperion Planning using a flat file by using ODI.
    I'm using File technology as my source and Hyperion Planning technology as my Target in topology manager.
    But i do not know that what all knowledge modules I should be using to achive this.
    Can someone plase let me know that what all knowledge modules I should be using so that I can build the hierarchy in Hperion planning via a flat file using ODI.
    Thanks

    You will need the following KM's
    1) LKM File to SQL
    2) IKM SQL to Hyperion Planning

Maybe you are looking for

  • Need Help in french please : Soucis de synchronis​ation entre Mail et mon BlackBerry

    Bonsoir à tous, J'ai un petit soucis, lorsque j'écris un mail via Mail sur mon MacBook, mon BlackBerry fait une sauvegarde des brouillons à intervalle d'une minute à peu près, ce qui fais que je me retrouve avec plusieurs copies du même mail avec une

  • X: drive HP Pavilion d7 HD crash

    0) PROBLEM: no Win 7 Home Premium OA boot/ goes into SMART check failing error HD1 (301). reboot gives X: boot 1) Boots to boot drive X: (whatever that is!) and includes mystery G: drive. Drive letters changed/incremented from pals’ *identical* machi

  • I can't get my Mac Pro pair with the ipad

    I can't get my Mac pro pair with the iPad

  • External images are not displaying in RDLC report

    I need to add an external image in my RDLC report. My issue is the image has to come from an external site URL. I passed the URL using report parameter, but doesn't show any output. However, if I pass the URL directly in the RDLC report in the image

  • Time capsule networks

    I have a time capsule AND a 2wire router. If can use TC setup to set up a new network; I can see two networks, one low speed, one high speed. In addition, I also see the network from the 2wire router. To access the internet, I have to connect to the