ODI-1228: Task TMP_BATCH_MST (Control) fails on the target ORACLE connectio

Hi all,
i received this error ...plz help me...
i build process of data migration bt i received this error when i start exection of this process....
ODI-1228: Task TMP_BATCH_MST (Control) fails on the target ORACLE connection odi_oracle.
Caused By: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
     at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
     at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
     at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
     at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
     at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
     at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
     at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
     at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
     at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
     at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
     at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
     at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
     at java.lang.Thread.run(Thread.java:662)

Have you selected the key column in target data store ?
Bhabani
http://dwteam.in

Similar Messages

  • ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection

    Hi all. I am using ODI for the first time. Trying to import a flat file data into Oracle table.
    Flat file has 4 columns Empno,Ename,Deptno,Salary [2 rows]
    so is the Target Table in Oracle [All are VARCHAR2 data type] --Empty table
    I am using these KMs: CKM Oracle , IKM SQL CONTROL APPEND, LKM FILE TO SQL.
    When I execute this Interface, it fails with the following error message:
    ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection [Connection_Name]
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00904: : invalid identifier
    I checked the Code and Source Code is null , Target Code is: Create Table schema.Load_{table_name} ( )
    With no columns in it.
    Can anyone help? I am using Oracle ODI 11G (11.1.1)
    Thanks in advance

    Hi,
    if i remember well ( i haven't ODI opened) LKM FILE TO SQL. needs to have all mapping done into staging area. Click on a column, check Staging Area symbol (hammer), save and re-execute.
    Remember to check that your mapping is enabled (just click on a column, first checkbox in property inspector)
    If it doesn't work please make some screenshot or at least post your execution code.
    Let us know

  • ODI-1228: Task emp(Integration) fails on the target ORACLE connection Target

    Hi all,
    I am getting error while executing interface on error. Following error occurs when i am executing interface,
    ODI-1228: Task emp(Integration) fails on the target ORACLE connection Target
    Caused By: java.sql.SQLException: Non Supported SQL92 token at position: 138
    Your help in this regard will be highly appreciated.
    Regards
    Irfan

    Hi all,
    I am getting error while executing interface on ODI. Following error occurs when i am executing interface,
    ODI-1228: Task emp(Integration) fails on the target ORACLE connection Target
    Caused By: java.sql.SQLException: Non Supported SQL92 token at position: 138
    Your help in this regard will be highly appreciated.
    Regards
    Irfan

  • ODI-1228: Task SrcSet0 (Loading) fails on the target MICROSOFT_EXCEL connec

    Hi
    i am trying to exporting the database table data into excel sheet i am getting the below error.
    ODI-1228: Task SrcSet0 (Loading) fails on the target MICROSOFT_EXCEL connection Ms_EXCE_TGT.
    Caused By: java.sql.SQLException: [Microsoft][ODBC Excel Driver] 'C$_0Location' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.
    Code:
    create table "C$_0Location"
         C1_POSITION_DEFINITION_ID     VARCHAR(255) ,
         C2_SUMMARY_FLAG__________     VARCHAR(255) ,
         C3_ENABLED_FLAG__________     VARCHAR(255)
    Edited by: 985498 on May 15, 2013 4:06 AM

    The odbc driver doesn't seem to like the special character "$" int eh table name.
    Why is the C$ table being created on through the odbc driver. You cannot have non-sql technology for staging. Making the staging area different than target should help in your case.

  • ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connec

    Hi,
    When we are trying to load data from MSSQL Server to Hyperion Essbase i am getting below error
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
    Caused By: java.sql.SQLException: statement is not in batch mode
    *     at org.hsqldb.jdbc.Util.sqlException(Unknown Source)*
    *     at org.hsqldb.jdbc.Util.sqlException(Unknown Source)*
    *     at org.hsqldb.jdbc.Util.sqlExceptionSQL(Unknown Source)*
    *     at org.hsqldb.jdbc.JDBCPreparedStatement.executeBatch(Unknown Source)*
    *     at oracle.odi.runtime.agent.execution.sql.SQLCommand.end(SQLCommand.java:267)*
    *     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:156)*
    *     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.endExecution(SQLExecutor.java:1)*
    *     at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:113)*
    Thanks
    Rama

    as written here
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2421461
    Please us the no_batch_update or nobu as false in the JDBC URL of the Topology Navigator. &nobu=false

  • CSV to Oracle - (Integration) fails on the target ORACLE connection

    Hi,
    I am trying to load data from a csv file into Oracle db via ODI.
    Here are the steps i followed:
    1- Created the FILE physical schema
    1- Created the Oracle data server and physical schema in Physical Architecture
    2- Created and linked to logical schemas
    3- Created the correspondent data models and stores and a
    ble to view the data contents of the CSV and of the target table in ODI.
    4- Created interface, added csv as source and oracle table as target
    5- Used "LKM File to SQL" and "IKM SQL Control Append" (FLOW_CONTROL is false)
    When i execute the interface, the session starts then i receive the following wrror in Operator:
    ODI-1228: Task ARIBA_G1 (Integration) fails on the target ORACLE connection DEV_DW.
    Caused By: java.sql.SQLException: Non supported SQL92 token at position: 116
    at oracle.jdbc.driver.OracleSql.handleODBC(OracleSql.java:1319)
    at oracle.jdbc.driver.OracleSql.parse(OracleSql.java:1190)
    at oracle.jdbc.driver.OracleSql.getSql(OracleSql.java:341)
    at oracle.jdbc.driver.OracleSql.getSqlBytes(OracleSql.java:649)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)
    This is the Code section:
    BeanShell script error: Sourced file: inline evaluation of: ``if ( odiRef.getUserExit("FLOW_CONTROL").equals("1") ) { out.print(" \ninsert int . . . '' : Typed variable declaration : Error in method invocation: Method getDataSetMin() not found in class'com.sunopsis.dwg.snpreference.SnpReferenceInterne' : at Line: 25 : in file: inline evaluation of: ``if ( odiRef.getUserExit("FLOW_CONTROL").equals("1") ) { out.print(" \ninsert int . . . '' : odiRef .getDataSetMin ( )
    BSF info: Insert new rows at line: 0 column: columnNo
    if ( odiRef.getUserExit("FLOW_CONTROL").equals("1") ) { out.print(" \ninsert into\t") ;
    out.print(odiRef.getTable("L","TARG_NAME","A")) ;
    out.print(" \n( \n\t") ;
    out.print(odiRef.getColList("", "[COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
    out.print(" \n\t") ;
    out.print(odiRef.getColList(",", "[COL_NAME]", ",\\n\\t", "", "((INS and TRG) and REW)")) ;
    out.print(" \n) \nselect\t") ;
    out.print(odiRef.getColList("", "[COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
    out.print(" \n\t") ;
    out.print(odiRef.getColList(",", "[EXPRESSION]", ",\\n\\t", "", "((INS and TRG) and REW)")) ;
    out.print(" \nfrom\t") ;
    out.print(odiRef.getTable("L","INT_NAME","A")) ;
    out.print(" \n") ;
    } else { out.print(" \ninsert into\t") ;
    out.print(odiRef.getTable("L","TARG_NAME","A")) ;
    out.print(" \n( \n\t") ;
    out.print(odiRef.getColList("", "[COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
    out.print(" \n\t") ;
    out.print(odiRef.getColList(",", "[COL_NAME]", ",\\n\\t", "", "((INS and TRG) and REW)")) ;
    out.print(" \n) \n\nselect\n    ") ;
    out.print(odiRef.getColList("", "[COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
    out.print("   \n  ") ;
    out.print(odiRef.getColList(",", "[EXPRESSION]", ",\\n\\t", "", "((INS and TRG) and REW)")) ;
    out.print(" \nFROM (\t\n") ;
    for (int i=odiRef.getDataSetMin(); i <= odiRef.getDataSetMax(); i++){out.print("\n") ;
    out.print(odiRef.getDataSet(i, "Operator")) ;
    out.print("\nselect \t") ;
    out.print(odiRef.getPop("DISTINCT_ROWS")) ;
    out.print("\n\t") ;
    out.print(odiRef.getColList(i,"", "[EXPRESSION] [COL_NAME]", ",\\n\\t", "", "((INS and !TRG) and REW)")) ;
    out.print(" \nfrom\t") ;
    out.print(odiRef.getFrom(i)) ;
    out.print("\nwhere\t") ;
    if (odiRef.getDataSet(i, "HAS_JRN").equals("1")) { out.print("\n\tJRN_FLAG <> 'D'\t") ;
    } else {out.print("\t(1=1)\t") ;
    } out.print("\n") ;
    out.print(odiRef.getJoin(i)) ;
    out.print("\n") ;
    out.print(odiRef.getFilter(i)) ;
    out.print("\n") ;
    out.print(odiRef.getJrnFilter(i)) ;
    out.print("\n") ;
    out.print(odiRef.getGrpBy(i)) ;
    out.print("\n") ;
    out.print(odiRef.getHaving(i)) ;
    out.print("\n") ;
    }out.print("\n) ") ;
    out.print(odiRef.getInfo("DEST_TAB_ALIAS_WORD")) ;
    out.print(" ODI_GET_FROM\n\n") ;
    } out.print("\n") ;
    ****** ORIGINAL TEXT ******
    <%if ( odiRef.getUserExit("FLOW_CONTROL").equals("1") ) { %>
    insert 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 <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>
    <%=odiRef.getColList(",", "[EXPRESSION]", ",\n\t", "", "((INS and TRG) and REW)")%>
    from <%=odiRef.getTable("L","INT_NAME","A")%>
    <% } else { %>
    insert 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
        <%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>  
      <%=odiRef.getColList(",", "[EXPRESSION]", ",\n\t", "", "((INS and TRG) and REW)")%>
    FROM (
    <%for (int i=odiRef.getDataSetMin(); i <= odiRef.getDataSetMax(); i++){%>
    <%=odiRef.getDataSet(i, "Operator")%>
    select  <%=odiRef.getPop("DISTINCT_ROWS")%>
    <%=odiRef.getColList(i,"", "[EXPRESSION] [COL_NAME]", ",\n\t", "", "((INS and !TRG) and REW)")%>
    from <%=odiRef.getFrom(i)%>
    where <% if (odiRef.getDataSet(i, "HAS_JRN").equals("1")) { %>
    JRN_FLAG <> 'D' <%} else {%> (1=1) <% } %>
    <%=odiRef.getJoin(i)%>
    <%=odiRef.getFilter(i)%>
    <%=odiRef.getJrnFilter(i)%>
    <%=odiRef.getGrpBy(i)%>
    <%=odiRef.getHaving(i)%>
    <%}%>
    ) <%=odiRef.getInfo("DEST_TAB_ALIAS_WORD")%> ODI_GET_FROM
    <% } %>
    Any suggestions are highly appreciated.
    Mike

    Hi Santy,
    No, no error or bad files.
    Actually the data are moved correctly into the temp table created by ODI, but not from there to the final target table.
    I found out the reason though, the knowledge modules imported were from another ODI installation!
    I made sure to import the proper KM and it worked.
    Thanks!

  • ODI-1228: fails on the target ORACLE connection.

    Hi,
    I tried running an interface, and encountered the following error:
    ODI-1228: Task Pop.ABC (Integration) fails on the target ORACLE connection Dev.
    Caused By: java.sql.SQLException: ORA-12170: TNS:Connect timeout occurred
    Kindly guide me what will be the reason of its failure.
    Thanks.

    Hi,
    It didnt work.
    The same error exists.
    The server is located at a remote location. So, what can be done to resolve this issue.
    Which value should be appropriate for the parameter to make it work for me?
    Thanks.

  • (Loading) fails on the target SUNOPSIS_ENGINE connection MEMORY_ENGINE.

    Hi
    I have run my first interface in ODI 11g and come up with the below error during the Loading KM phase. Can anyone suggest a way to fix?
    The background is that we are migrating from a 10g in a SQL Server environment to a 11g in an Oracle env. I export/imported the work rep and logical schemas. I imported the physical connections one by one since I couldn't import the master rep.
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection MEMORY_ENGINE.
    Caused By: java.sql.SQLException: unknown token
    +     at org.hsqldb.jdbc.Util.sqlException(Unknown Source)+
    +     at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)+
    +     at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)+
    +     at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +     at java.lang.reflect.Method.invoke(Method.java:597)+
    +     at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)+
    +     at $Proxy2.prepareStatement(Unknown Source)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:158)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)+
    +     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)+
    +     at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)+
    +     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)+
    +     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)+
    +     at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)+
    +     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)+
    +     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)+
    +     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)+
    +     at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)+
    +     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)+
    +     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)+
    +     at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)+
    +     at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)+
    +     at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)+
    +     at java.lang.Thread.run(Thread.java:662)+
    Caused by: org.hsqldb.HsqlException: unknown token
    +     at org.hsqldb.error.Error.error(Unknown Source)+
    +     at org.hsqldb.error.Error.error(Unknown Source)+
    +     at org.hsqldb.ParserBase.read(Unknown Source)+
    +     at org.hsqldb.ParserDQL.readNewSchemaObjectName(Unknown Source)+
    +     at org.hsqldb.ParserDDL.compileCreateTable(Unknown Source)+
    +     at org.hsqldb.ParserDDL.compileCreate(Unknown Source)+
    +     at org.hsqldb.ParserCommand.compilePart(Unknown Source)+
    +     at org.hsqldb.ParserCommand.compileStatement(Unknown Source)+
    +     at org.hsqldb.Session.compileStatement(Unknown Source)+
    +     at org.hsqldb.StatementManager.compile(Unknown Source)+
    +     at org.hsqldb.Session.execute(Unknown Source)+
    +     ... 27 more+

    Still getting the error 'Unknown Token' when using the SUNOPSIS_MEMORY_ENGINE (LKM SQL to SQL).
    I have updated the KM to 11g
    I can run successfully using an Oracle db for staging, so it is just using the SUNOPSIS_MEMORY_ENGINE that causes a problem.
    Cheers

  • ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target

    I get this error when trying to run PRD-create-populate-table from Oracle by example ODI
    ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target ORACLE connection ODI_DATA_SERVER.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-02264: name already used by an existing constraint
    ODI-1228: Task PRD-create-populate-table (Procedure) fails on the target ORACLE connection ODI_DATA_SERVER.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-02264: name already used by an existing constraint
         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:662)

    the specified constraints name is still used. Please check if you are having the order correctly ie drop table , create and insert and check if the table is dropped , if still the constraints is there then drop it from database

  • Demote Server and Remove AD DS Role fails with "the target principal name is incorrect"

    Hi all, 
    I am attempting to demote a domain controller so i can remove the AD DS role and have the server just its own workstation.
    This domain controller has never replicated the domain and DS services were/are not working.  We didnt discover this until the other domain controller died and has since been rebuilt with a brand new domain.  The old domain no longer exists whatsoever.
    So as said, I'm trying to demote this server, there is no domain to tidy up afterwards.  However even with force removal option I'm getting the DFS Replication error: "the target principal name is incorrect".  I do not exactly require
    it do this myself, there is nothing to replicate anymore, i just need the DC demoted or role completely removed.  There are no other DC's to transfer FSMO's or anything like that as its to be completely stand-alone.
    Does anyone have any ideas how this role can be forcibly removed other than using the " force removal option " in ADDS config wizard?  
    Any help will be gratefully appreciated.
    Thanks in advance
    Phill

    Hi Phill,
    You can try to use Ntdsutil.exe to perform metadata cleanup.
    If this doesn’t work, then I agree with Ed that you would need to reinstall the machine.
    More information for you:
    Clean Up Server Metadata
    http://technet.microsoft.com/en-us/library/cc816907(v=WS.10).aspx#bkmk_commandline
    Best Regards,
    Amy

  • ODI 11g  (odi 11.1.1.3)  procedure failed -  Encountered the symbol "," ...

    Hi All,
    I am facing problem while calling PL/SQL procedure from ODI procedure:
    ODI Console show below error code on failure of procedure:
    =======================================================================
    ODI-1228: Task PR_RETRIVE_DATA (Procedure) fails on the target ORACLE connection SES_DW.
    Caused By: java.sql.SQLException: ORA-06550: line 1, column 30:
    PLS-00103: Encountered the symbol "," when expecting one of the following:
    ( ) - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table continue avg count current exists max min prior sql
    stddev sum variance execute multiset the both leading
    trailing forall merge year month day hour minute second
    timezone_hour timezone_minute timezone_region timezone_abbr
    time timestamp interval date
    <a string literal with character set specification>
    ================================================
    Thanks,
    Dharmaraj

    Hi,
    it seems there are compilation errors in your PL/SQL, leading to the ORA-06550 error. Check your PL/SQL code and try to execute it directly in the database to see if the issue is related to ODI.
    Regards,
    Alex

  • ODI-1228: ORA-22950: cannot ORDER objects without MAP or ORDER method

    Simple interface between two schemas in the same oracle database (10g)
    I am trying to copy one table and do one simple lookup (in a table located in 3rd schema on the same database)
    Integration task fails on
    ODI-1228: Task messagexml_document (Integration) fails on the target ORACLE connection S2_P1.
    Caused By: java.sql.SQLException: ORA-22950: cannot ORDER objects without MAP or ORDER method
    Can anybody tell me, what I am doing wrong? Code that generate this error is just a simple INSERT with SELECT and sub SELECT with JOIN?
    I just can't find anything about this error.
    I'm stuck :-(

    I discovered that one of my fields is an XMLType field and is a part of comparison ODI do when it tries to do incremental update. The error message here is just a message from db that it can't compare XMLType fields to each other.
    Is there any way to learn ODI to not to compare by XMLType field?

  • Getting ODI-1228 : Missing IN or OUT parameter at index:: 12

    Hi,
    I am getting following error while executing ODI package :
    ODI-1226: Step DATA_LOAD_STAGE fails after 1 attempt(s).
    ODI-1240: Flow DATA_LOAD_STAGE fails while performing a Loading operation. This flow loads target table STAGE_ITEM_MOD_SYN.
    ODI-1228: Task SrcSet0 (Loading) fails on the target ORACLE connection ORCL_NMC_INFC.
    Caused By: java.sql.SQLException: Missing IN or OUT parameter at index:: 12
    Could you please tell why this error occurs and how to resolve it.
    Following is the code generated :
    SOURCE CODE :
    select
    IT.ITEM_NUMBER    C2_ITEM_NUMBER,
    IT.PRIMARY_DESC    C6_PRIMARY_DESC,
    IT.SECONDARY_DESC    C7_SECONDARY_DESC,
    IT.UDA_Name    C10_UDA_NAME,
    IT.UDA_VALUE    C11_UDA_VALUE,
    IT.IBC    C3_IBC,
    IT.SUPPLIER_SITE    C4_SUPPLIER_SITE,
    IT.PRIMARY_SUPP_IND    C5_PRIMARY_SUPP_IND,
    IT.MODIFICATION_TYPE    C1_MODIFICATION_TYPE,
    IT.USER_ID    C8_USER_ID,
    IT.CREATION_DATETIME    C9_CREATION_DATETIME
    from #NMC_ITEM_MODIFICATION.V_FILE_PATH/INCOMING//#NMC_ITEM_MODIFICATION.V_FILE_NAME.csv   IT
    where (1=1)
    TARGET CODE :
    DECLARE
    err_num NUMBER;
    err_msg VARCHAR2(300);
    BEGIN
    insert into ODISTG.C$_0STAGE_ITEM_MOD_SYN
    C2_ITEM_NUMBER,
    C6_PRIMARY_DESC,
    C7_SECONDARY_DESC,
    C10_UDA_NAME,
    C11_UDA_VALUE,
    C3_IBC,
    C4_SUPPLIER_SITE,
    C5_PRIMARY_SUPP_IND,
    C1_MODIFICATION_TYPE,
    C8_USER_ID,
    C9_CREATION_DATETIME
    values
    :C2_ITEM_NUMBER,
    :C6_PRIMARY_DESC,
    :C7_SECONDARY_DESC,
    :C10_UDA_NAME,
    :C11_UDA_VALUE,
    :C3_IBC,
    :C4_SUPPLIER_SITE,
    :C5_PRIMARY_SUPP_IND,
    :C1_MODIFICATION_TYPE,
    :C8_USER_ID,
    :C9_CREATION_DATETIME
    exception
    when others then
    err_num := SQLCODE;
          err_msg := SUBSTR(SQLERRM, 1, 300);
    insert into odistg.ITEM_MODFCTN_ERROR(ITEM_NUMBER,ERR_MSSG) values( :C1_ITEM_NUMBER,err_msg);
    end;
    Thanks,
    Lakshmi

    In fact I don't think the error happens in this part of the step (the one you sent the code). This is the command on target part and it should happen after the file load. Can you get the code in the Load step from the source and target area?
    Should be a step like this.
    Also, could you create another interface using the regular KM? Only for test purposes?
    The step that you sent here happens in the integration part (insert new rows) and the only thing different that it does is if the insert cannot insert something (like a invalid char in a number columns or something like that) it'll log the error in a error table.

  • Error: while populating the target.

    While populating the target table gettig the following error:
    ODI-1228: Task Int_HDM_IND_PRTY_ETHN (Export) fails on the target ORACLE connection ORACLE_ETLDEV_INOVA_3.
    Caused By: java.sql.SQLException: ORA-01471: cannot create a synonym with same name as object
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
         at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:662)

    Hi,
    Bottom line: The object name is already persist in ur back end DB.
    Login to ur back end schema and query,
    select * from all_objects where object_name like '<object name which ODI generate>%'
    Drop it manually and run the interface.
    Cause for the problem, initially u would have ran the same interface with different KM and opted DELETE_TEMPORARY_OBJECTS to False/ODI fails without dropping the temporary table, so ODI will keep the C$_<object name> in back end (may be in table form).
    Now, with DBLINK u are trying to create Synonym with the same name as the earlier object which eventually fails.
    Makes sense?
    Thanks,
    Guru

  • ODI-1228 - strange SME issue...

    Hi Guys,
    I have following problem: I used Interface with filters like that:
    EBS.Year = '#Year'
    EBS.Period = '#Month'
    After I deleted this filters my interface fails during Loading data to SME step with following error:
    ODI-1228: Task SrcSet0 (Loading) fails on the target SUNOPSIS_ENGINE connection SUNOPSIS_MEMORY_ENGINE.
    Caused By: java.sql.SQLException: statement is not in batch mode
    When I added one of the filters again, it started to work again...
    Has anyone faced error like that before? What should I do to make my interface work again?
    Best regards,
    Greg

    Oracle Support helped me with &nobu option

Maybe you are looking for

  • I want ti reset my apple TV

    I want to rest my apple TV. I run diagnostics and everything is ok. All I want to do is reset. I tried to reset using the remote control by pushing menu and - at the same time for 6 six seconds. I got nothing. Is there anything else to do? Is my appl

  • Is it possible to make a row in a table control as output only row?

    Hi SDN, I have created a table control with wizard.I want to make a particular row as non-editable for a condition from my program.Is it possible?

  • Listing product numbers and linking related pdf

    I need to create a web page that just lists our product numbers and link a pdf for each. We are having problems with our original website where no changes can be made (including pricing). I am building a new one and although I have our shopping cart

  • Default Color Settings on Macbook Pro Retina

    Hi All, I am using a 15" MBP Retina. I plugged it to a projecter and I think it kind of changed my display settings and I don't know what they were. What is the default color setting that comes with this ? Is it Color LCD (In System Preferences -> Di

  • OB transfer to SAP

    I Expert When moving to SAP all open AR invoices will be imported from the legacy system. Among the invoices there are incoming payments which have been entered as payment on account that needs to be also brought across to SAP. I need to know how to