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

Similar Messages

  • 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

  • 11g R1 problem... PLS-00103: Encountered the symbol "¿" when expecting...

    Yesterday AM. my customer went live with an upgrade. Things started out ok, but as the load on the system started to build, we started seeing errors.
    The reported error is:
    S1000 Oracle ODBC Ora ORA-06550: line 1, column 42:
    PLS-00103: Encountered the symbol "¿" when expecting one of the following:
    . ( ) , * @ % & = - + < / > at in is mod remainder not rem =>
    <an exponent (**)> <> or != or ~= >= <= <> and or like
    This is in response to calling a stored procedure with this signature.
    MY_THING (
    p1 IN NUMBER,
    p2 OUT NUMBER,
    p2 IN NUMBER
    I believe this is a failure with the ODBC driver to parse
    {call MY_STUFF.MY_THING(791200, ?, 1067744)}
    Now to head off the obvious responses, I'm going to say these things in boldface
    the procedure itself is fine, and works flawlessly under test
    *nowhere in any of the code is an upside-down '?' as reported in the error message*
    Has anyone else encountered this--or better yet solved it?

    thanks for the replies.
    I'd have to rule out triggers at the point the stored procedure is run. Other than logging, it doesn't do any writes to the database. It does a couple of look-ups, and returns the results in a cursor. As for the web servers, they're pretty much copies of each other. 'Out of the box + updates' Windows Server 2008 machines with our application installed on each.
    The software issuing the ODBC call is old, well worn, tried and true C++. In this case the only string parameters passed are 'PA' or 'PJ' the rest is all integers.
    But again I want to stress that it doesn't appear that we reach the database when it fails. It appears to fail when the ODBC driver is parsing the '{call xxxxxx} statement.
    On a hunch, I've just reconfigured our application to treat the offensive call as if it were an 'external' reference. Meaning that a new ODBC connection will be created/destroyed for each run. Not very efficient, but I'll take slow over broken any day. It's too early to tell if this will eliminate the error.

  • Error when exporting to flat file in ODI 11g

    This works ok in ODI 10g. I'm using IKM SQL to File Append on Windows Server 2008 R2
    Getting the following error when exporting to a flat file in ODI 11g: ODI-40406: Bytes are too big for array
    I've seen a couple of threads like this on the forum, but I've never seen an answer to the problem.

    Problem is with the difference in behaviour for the IKM SQL to File Append KM between 10g and 11g.
    Our 10g target file datastore had a mixture of fixed string and numeric columns. Mapping from the source to target was simple one to one column mapping. It generated the desired fixed format flat file; numerics were right adjusted with embedded decimal point and leading spaces. Each numeric column in the generated flat file occupied the exact space allocated to it in the layout. This gave the desired results, even though documentation for the 10g IKM states that all columns in the target must be string.
    When we converted to 11g and tried to run this interface, it generated an error on the "numeric" columns because it was wrapping them in quotation marks. The result column was being treated as string, and it was larger than the defined target once it acquired those quotation marks.
    In order to get 11g to work, I had to change all the numeric columns in the target data store to fixedstring 30. I then had to change the mapping for these numeric columns to convert them to right adjusted character strings (i.e. RIGHT(SPACE(30) + RTRIM(MyNumericColumn),30).
    Now it works.

  • Unable to install the Demonstration Environment with ODI 11g

    Hi,
    Can someone please help me with Demonstration environment installation with ODI 11g on a windows system.
    I have downloaded the zipped file from the OTN site.
    I am unable to understand the installation steps in the user guide.Posting them for your reference.
    "To manually install the Demonstration environment, do the following:
    Unzip oracledi-demo.zip in the ODI_HOME folder.
    Verify that the JAVA_HOME environment variable is set and contains the path of a JVM suitable for Oracle Data Integrator.
    If this variable is not set correctly, set it to a valid java machine location.
    For example:
    On UNIX operating systems:
    setenv JAVA_HOME/usr/local/java
    On Windows operating systems:
    Set the JAVA_HOME variable graphically "
    Regards,
    Lovey Saxena

    Hi;
    Did you try to start installation? Your Java_Home could be avaliable on your env settings, so you dont need to set this for installation. If its fails please try to use this syntax:
    Set JAVA_HOME=C:\xxx
    Regard
    Helios

  • How to execute a procedure depending on the result of a query?

    Hello, I'm new in ODI.
    I want to execute a procedure depending on the result of a query Oracle table.
    We have a Oracle Table whit a column that contains two possibles values.
    I want read the table, row by row, and depending on this value, execute a Procedure or execute another.
    How can i do?

    what you need to do is
    1. create a variable which "new_var2" which has the count of the number of rows you want to process. must be data type numeric.
    2. copy "new_var2" to the package screen.
    3. duplicate the "new_var2" on the package screen and evaluate the variable and test for "> 0" zero, call it "new_var2_E"
    3. create a new odi variable "new_var1" with a refresh of "select field1 fom (select field1,rownum as rownumber from tablex) where rownumber = #new_var2" in the relevant schema and technology.
    4. copy "new_var1" into your package (some where in the flow)
    5. right click the "new_var1" variable in you package screen and you should get the option duplicate step (click on that)
    6. select the the duplicate "new_var1" on the package screen and correct the the name to something meaning full to you "new_var1_E", also change the "type" to "evaluate variable" then you should see a "value" box. enter one of the values you want to test in the box (remember do not put in quotes ' )
    7. now back on the package screen join the "new_var1" to the "new_var1_E" with an OK line
    8 you now join "new_var2" to "new_var2_E" with OK
    9 you join "new_var2_E" to "new_var1"
    10. you then join the "new_var1_E" with an OK or a KO line to the relevant procedure.
    12. you need to duplicate "new_var2" in the package screen one more time this time and call it "new_var2_D" set the type to evaluate and then select the increment of -1
    13. the relevant procedure to "new_var2_D" with an OK
    14. join the "new_var2_D" to the "new_var2_E" with an OK
    15. this should close off the loop now the exit point is "new_var2_E" with a KO line to the next part of your process....
    Basically you should end up with a loop on new_var2 decementing, and it is used to get a specific next record row from your table.
    Hope this helps, sorry it is a little long winded..
    Edited by: DavidGD on Feb 8, 2009 3:29 PM

  • Unable to create plsql procedure, fails at cursor

    This was a working procedure which would take ID and then copy data from source parameter to destination parameter. Now I would like to have NAME as parameter, I have changed the code to accommodate the new parameters. But I am not able to create the procedure. I am getting 3 error at CURSOR (in bold red). I would like really appreciate if someone can take a look and let me know what is wrong.
    Thanks in advance
    3 ERRORs
    1. PLS-00103: Encountered the symbol "CUR_V_HSP_COLUMN_DETAIL" when expecting one of the following:
       := . ( @ % ;
    The symbol ":=" was substituted for "CUR_V_HSP_COLUMN_DETAIL" to continue.
    2. PLS-00103: Encountered the symbol "NUMBER" when expecting one of the following:
    The symbol "(" was substituted for "NUMBER" to continue.
    3. PLS-00103: Encountered the symbol "NUMBER" when expecting one of the following:
    CREATE OR REPLACE procedure EPM_PLAN_PLANSAMP.Copy_Details_test1 --Arguments
    ( in_From_Version_Name IN VARCHAR2, --HSP_object.OBJECT_NAME - Version From
    in_From_Scenario_Name IN VARCHAR2 , --HSP_object.OBJECT_NAME - Scenarios From
    in_From_Year_Name IN VARCHAR2 , --HSP_object.OBJECT_NAME - Year From
    in_To_Version_Name IN VARCHAR2, --HSP_object.OBJECT_NAME - Version To
    in_To_Scenario_name IN VARCHAR2, --HSP_object.OBJECT_NAME - Scenarios To
    in_To_Year_Name IN VARCHAR2 --HSP_object.OBJECT_NAME - Year To
    IS
    v_From_Object_Id number; --  Version From
    s_From_Object_Id number; -- Scenarios From
    y_From_Object_Id number; -- Year From
    v_To_Object_Id number; -- Version To
    s_To_Object_Id number; -- Scenarios To
    y_To_Object_Id number; -- Year To
    BEGIN
    Select object_id into v_From_Object_Id
    from hsp_object
    where object_type = 35
    and object_name = in_from_version_name;
    Select object_id into s_From_Object_Id
    from hsp_object
    where object_type = 31
    and object_name = in_from_scenario_name;
    Select object_id into y_From_Object_Id
    from hsp_object
    where object_type = 38
    and object_name = in_from_year_name;
    Select object_id into v_To_Object_Id
    from hsp_object
    where object_type = 35
    and object_name = in_to_version_name;
    Select object_id into s_To_Object_Id
    from hsp_object
    where object_type = 31
    and object_name = in_to_scenario_name;
    Select object_id into y_To_Object_Id
    from hsp_object
    where object_type = 38
    and object_name = in_to_year_name;
    --Select Supporting Details for the current Version
    CURSOR Cur_V_HSP_COLUMN_DETAIL (cV_From_Object_Id IN NUMBER, cS_From_Object_Id IN NUMBER) IS
    Select DETAIL_ID From EPM_PLAN_PLANSAMP.HSP_COLUMN_DETAIL Where DIM5 = cV_From_Object_Id AND DIM1 = cS_From_Object_Id;
    li_DETAIL_ID NUMBER;
    Li_Next_DETAIL_ID NUMBER;
    FETCH_STATUS NUMBER := 0;
    v_step_name varchar2(200);
    v_rec_cnt number := 0;
    v_cnt number;
    v_err varchar2(2000);
    -----------------------------------------Begin Copy Version ---------------------------
    BEGIN
    -- Delete Next version if already exists
    v_step_name := 'Delete on HSP_COLUMN_DETAIL_ITEM';
    Delete from HSP_COLUMN_DETAIL_ITEM
    Where DETAIL_ID in (Select DETAIL_ID from HSP_COLUMN_DETAIL
    Where DIM5 = v_To_Object_Id AND DIM1 = s_To_Object_Id);
    v_cnt := sql%rowcount;
    insert into t_copy_supporting_dtls_log values (v_step_name, v_cnt,1,'Success',sysdate);
    v_step_name := 'Delete on HSP_COLUMN_DETAIL';
    Delete from HSP_COLUMN_DETAIL
    where DIM5 = v_To_Object_Id AND DIM1 = s_To_Object_Id;
    v_cnt := sql%rowcount;
    insert into t_copy_supporting_dtls_log values (v_step_name, v_cnt,1,'Success',sysdate);
    Open Cur_V_HSP_COLUMN_DETAIL(v_From_Object_Id, s_From_Object_Id);
    v_step_name := 'Inserts ';
    LOOP
    FETCH Cur_V_HSP_COLUMN_DETAIL INTO li_DETAIL_ID;
    EXIT WHEN Cur_V_HSP_COLUMN_DETAIL%NOTFOUND;
    -- Find next detail_id
    Select Max(DETAIL_ID) + 1 INTO Li_Next_DETAIL_ID From HSP_COLUMN_DETAIL;
    -- Insert Into HSP_COLUMN_DETAIL Table
    Insert Into HSP_COLUMN_DETAIL ( DETAIL_ID , PLAN_TYPE , DIM1 , DIM2 , DIM3 , DIM4 , DIM5 , DIM6 ,
    DIM7 , DIM8 , DIM9 , DIM10 , DIM11 , DIM12 , DIM13 , DIM14 , DIM15 ,
    DIM16 , DIM17 , DIM18 , DIM19 , DIM20 )
    Select Li_Next_DETAIL_ID , PLAN_TYPE , S_To_Object_Id , DIM2 , DIM3 , DIM4 , V_To_Object_Id , DIM6 ,
    DIM7 , DIM8 , DIM9 , DIM10 , DIM11 , DIM12 , DIM13 , DIM14 , DIM15 ,
    DIM16 , DIM17 , DIM18 , DIM19 , DIM20
    From HSP_COLUMN_DETAIL
    Where DETAIL_ID = li_DETAIL_ID;
    v_rec_cnt := v_rec_cnt + sql%rowcount;
    -- Insert Into HSP_COLUMN_DETAIL_ITEM Table
    Insert Into HSP_COLUMN_DETAIL_ITEM ( DETAIL_ID , VALUE , POSITION , GENERATION , OPERATOR , LABEL)
    Select Li_Next_DETAIL_ID , VALUE , POSITION , GENERATION , OPERATOR , LABEL
    From HSP_COLUMN_DETAIL_ITEM Where DETAIL_ID = li_DETAIL_ID;
    v_rec_cnt := v_rec_cnt + sql%rowcount;
    END LOOP;
    Close Cur_V_HSP_COLUMN_DETAIL;
    insert into t_copy_supporting_dtls_log values (v_step_name, v_rec_cnt,1,'Success',sysdate);
    commit;
    exception when others then
    rollback;
    v_err := substr(sqlerrm,1,2000);
    insert into t_copy_supporting_dtls_log values (v_step_name, 0,-1,v_err,sysdate);
    commit;
    END;
    END;

    All the following statements should go into the declaration section (i.e. before the first begin)
    CURSOR Cur_V_HSP_COLUMN_DETAIL (cV_From_Object_Id IN NUMBER, cS_From_Object_Id IN NUMBER) IS
    Select DETAIL_ID From EPM_PLAN_PLANSAMP.HSP_COLUMN_DETAIL Where DIM5 = cV_From_Object_Id AND DIM1 = cS_From_Object_Id;
    li_DETAIL_ID NUMBER;
    Li_Next_DETAIL_ID NUMBER;
    FETCH_STATUS NUMBER := 0;
    v_step_name varchar2(200);
    v_rec_cnt number := 0;
    v_cnt number;
    v_err varchar2(2000);

  • Issues with procedures on ODI 11g

    Hello Gurus,
    We have an ODI environment, where we have migrated from ODI 10g to ODI 11g (11.1.1.6) using Upgrade Assistant.
    Issue is that, the Procedures in our migrated packages show executed in Operator (by Green tickmark), but they are actually NOT executing the code. Means we are not able to see Code for the procedure steps, when that step is opened from operator. It does not even show Rows updated or other statistics. It shows 0 for all.
    We do not see any error in ODI studio for those steps. Thats why unable to figure out whats happening.
    Note: There is no issue with the SQL code. Its been tested on SQL Server.
    What could be cause behind this ?
    Please help.
    Thanks,
    Santy

    The issue here is that there is Always Execute option which belongs to each procedure. It must be enabled/checked(need to check manually going through each procedure) in order to have the procedure run after migration to 11g. This was not mandatory in 10g & unfortunately, Upgrade Assistant does not take care on this.
    Regards,
    Santy

  • How to implement a CURSOR & looping inside ODI 11g Procedure

    Hello All,
    I have requirement where in my source data has multiple rows for an Item number with different Product numbers, I have to concatenate all the Product Numbers of speciifc Item number and update it into another column on the same table. How can we achive this inside ODI 11g? Can we use ODI Procedure? Can we implement a Cursor inside the ODI procedure to group the records based on Item Number and use a loop to concatenate as we do it inside a normal PL SQL procedure, if so, please let me know?
    Ex source:
    Column1,Column2, Column3
    Item01, Product01, null
    Item01, Product02, null
    Item01, Product03, null
    Item02, Product01, null
    Item02, Product08, null
    need to convert/update this source data to
    Column1,Column2, Column3
    Item01, Product01, Product01 Product02 Product03
    Item01, Product02, Product01 Product02 Product03
    Item01, Product03, Product01 Product02 Product03
    Item02, Product01, Product01 Product08
    Item02, Product08, Product01 Product08
    Regards,
    MRM

    Hi Thanks for the reply,
    I replaced the code for column3 mapping to
    CASE WHEN POC_DECODE.SOURCE IS NOT NULL THEN
    SELECT LISTAGG(POC_DECODE.TARGET,'')
    WITHIN GROUP ( ORDER BY POC_DECODE.SOURCE)
    FROM TABLE POC_DECODE A WHERE A.SOURCE=POC_DECODE.SOURCE
    END
    I get the below error:
    ODI-1228: Task TEST_POC_CONCATE (Integration) fails on the target ORACLE connection ORACLE_ORMS_DS.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
         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.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java:68)
         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:619)
    Please help...

  • How to capture Field validation errors in the Error table in ODI 11g

    Hello,
    We are using ODI 11g (11.1.1.5) and the scenario is to read the data from a flat file (.txt) and do a bulk insert into MS SQL Server database table.
    We need to capture the error records (if the source field size is greater than the target column size) into the error table. However the interface errors out at step "Loading - SrcSet0 - Load data (BULK INSERT)" with error message "SQLServer JDBC Driver][SQLServer]Bulk load data conversion error (truncation) for row 33, column 6" but these errors are not being inserted into the error table.
    Is there a way to capture these errors in the error table? Below is the KM details.
    LKM: LKM File to MSSQL (BULK)
    CKM: CKM SQL
    IKM: IKM MSSQL Incremental Update
    FLOW_CONTROL is set to true for the IKM.
    Thanks,
    Krishna

    Hello,
    I had the same problem with ODI when I was trying BULK INSERT of the txt file into MS SQL. Check the cell(s) in your source file (txt) - it looks like the value in hte cell has hiding symbols: when pressing F2 tryng edit the value in the cell the coursor appared far to the right from the right end of the value. So, try to use backspace to delete the hiding symbols and verify the above. If avasrything is OK, then modify your txt file. Let me know if it works.
    BTW , I've created procedure inside the MS SQL 2008R2, which BULK INSERTed records into temporary (#...) table and immediatelly, without any verification all the records were inserted into the final table in the DWH here is the statement:
    if object_id('TEMPDB..#<table>','U') is not null drop table #<table>
    CREATE TABLE [dbo].[#<table>] 
    [1] [varchar] (50) NULL, 
    [2] [varchar] (100) NULL, 
    [3] [varchar] (100) NULL, 
    [4] [varchar] (100) NULL, 
    [5] [varchar] (100) NULL, 
    [6] [varchar] (100) NULL, 
    [7] [varchar]  (100) NULL, 
    [8] [varchar] (100) NULL, 
    [9] [varchar] (100) NULL, 
    [10] [varchar] (100) NULL, 
    [11] [varchar] (100) NULL 
    ) ON [PRIMARY]
    bulk INSERT #<table> FROM 'N:\<table>.txt'
    with
    (FIRSTROW=2,KEEPNULLS,CODEPAGE=1252,FIELDTERMINATOR='\t'
    INSERT
    INTO <table>
    SELECT
    * FROM #<table>
    and it works! Let me also know if you find any other way around.
    regards
    Anatoli

  • Error while using startcmd.sh for OdiExportScen in ODI 11g

    Hi,
    I have upgraded ODI 10g to ODI 11g.
    I have a package wherein I have defined a procedure which has the following jython code for export of scenarios to ODI server.
    import os
    scen='#DEPLOYMENT.PVV_GET_SCN'
    scen_name=scen[5:-7]
    scen_ver=scen[-7:-4]
    file_name='/soaap/ODI_HOME/Scenarios/#DEPLOYMENT.PVV_GET_SCN'
    odiscen="/soaap/ODI_HOME/oracledi/bin/startcmd.sh OdiExportScen -SCEN_NAME="+scen_name+" -SCEN_VERSION="+scen_ver+" -FILE_NAME="+file_name
    if os.system(odiscen) <> 0:
    raise odiscen
    This code was working fine on ODI 10g but now I am getting this error when exeuting on ODI 11g :
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 8, in ?
    /soaap/ODI_HOME/oracledi/bin/startcmd.sh OdiExportScen -SCEN_NAME=SCN_PKG_DEPLOYMENT -SCEN_VERSION=002 -FILE_NAME=/soaap/ODI_HOME/Scenarios/SCEN_SCN_PKG_DEPLOYMENT002.XML
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2374)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1615)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1580)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
         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:619)
    Please guide for this.
    Thanks,
    Divya

    Hi,
    I was trying to execute the same thing in ODI 10g with the script you have mentioned and get errors with invalid syntax.
    Can you please explain how did you execute the export scenario command in ODI 10g. Would we really helpful.
    We are trying to export scenarios from operator to the local directory.
    Please find the script.
    import os
    scen='#V_GET_ODI_SCEN'
    scen_name=scen[5:-7]
    scen_ver=scen[-7:-4]
    file_name='C:\ODI_SCEN_DMP\#V_GET_ODI_SCEN'
    odiscen="C:\OraHome_1\oracledi\bin\startcmd.bat OdiExportScen -SCEN_NAME="scen_name" -SCEN_VERSION="scen_ver" -FILE_NAME="+file_name
    if os.system(odiscen) <> 0:
    raise odiscen
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    (no code object) at line 0
    File "<string>", line 6
         odiscen="C:\OraHome_1\oracledi\bin\startcmd.bat OdiExportScen -SCEN_NAME="scen_name" -SCEN_VERSION="scen_ver" -FILE_NAME="+file_name
         ^
    SyntaxError: invalid syntax
    Your help is appreciated.

  • Problem when exporting and importing project from odi 10g to odi 11g

    Hi,
    I want to migrate my project from odi 10g to odi 11g.
    But when i am importing the interface then it is giving the error of mising references .
    I have exported the project(without its child component),models
    (including my datastore),KM's,folder (without its child component),packages(with child components),interaces(with child components),procedures(with child components),variables from odi 10g.
    After exporting all these objects i imported all the objects with import type set as "Synonym mode insert" into odi 11g but when i imported the interface it is giving the error of missing references.
    Source technolgy is Oracle and target technolgy is Postgres.
    Topologies have been made in the ODI 11g same as in ODI 10g.
    Please help.

    You dont need to migrate the complete repository. You can migrate a project at a time into ODI 11.1.1.5.x
    You have to be careful while importing. You have to follow a sequence when importing.
    Empty Project -> KMs -> Models (with DB Stores) -> Variable -> Empty Folders -> Interfaces -> Procedures -> Packages ---- All in SYNONYM mode insert (no exceptions)
    And your repository id in 11g MUST be different from the one in 10g.

  • Odi 11g functions and sequence

    hello
    what is the use of fucntions and sequence.
    How do i create them in odi11g .
    where in odi 11g is expression editor window available??

    User Function Editor
    Use to define your customized functions.
    User functions enable to define customized functions that can be used in interfaces or procedures. These functions are implemented in one or more technologies. They are usable in the interfaces and procedures.
    A function can be created as a global function or in a project. In the first case, it is common to all projects, and in the second, it is attached to the project in which it is defined.
    goto
    Home > Designer Navigator Editors > Package Editor > User Function Editor
    Sequence Editor
    Use to define sequences.
    A sequence is a variable that increments itself each time it is used. Between two uses, the value can be stored in the repository or managed within an external RDBMS table.
    Oracle Data Integrator supports three types of sequences:
    Standard sequences: the last value is stored in the repository.
    Specific sequences: the last value is stored in an RDBMS table cell. Oracle Data Integrator undertakes to read the value, to lock the row (for concurrent updates) and to update the row after the last increment.
    Native sequences: this type of sequence to a sequence defined in and managed by a database engine.
    goto
    Home > Designer Navigator Editors > Package Editor > Sequence Editor
    There is no expression editor component directly in any tree of the odi components.
    You can find expression editor where you can write expressions.
    For example writing filter expressions in a mapping, writing procedure commands etc
    for more details please visit www.odiguru.com
    Thanks Guru
    Ram Kumar Lanke
    www.odiguru.com

  • ODI: Is ODI 10g compatible with SOA 11g ?

    hi all,
    I have a requirement where ODI should invoke web services in SOA 11g fusion middleware.
    Is it required that i use ODI 11g?
    Or is ODI 10g compatible working with SOA 11g.
    In case if i have to use ODI 10g to invoke webservices in SOA 11g den do i have to follow any other different procedure?
    Also, Please let me know the version of ODI to be used in either case. Thanks in advance

    Thanks Kiran.
    Can u provide any docs which supports this feature(ODI 10g working/used with SOA 11g) would be very helpful.
    Thanks,
    Edwin.

  • Can we preview data after RKM in SAP in ODI 11g

    can we able to right click and view data in models after reverse engineering in SAP in ODI 11g ??
    Edited by: Drona on Mar 16, 2012 1:06 PM

    No we cannot preview the data as SAP connection is made using Jco adapter.
    We can only preview the data for data servers which are connected using jdbc.

Maybe you are looking for

  • Color correction and gamma

    Hi is there any software to set my computer screen for TV color/gamma, in order to see how it will look on an ordinary tv? I'm making a short animation, with framepictures from photoshop. I don't wan't to spend time setting each picture to correct co

  • E50 Contacts

    Hi, I have a problem with my Nokia E50. I store all the phone numbers in the contacts as full, with country codes, etc. I append a contry code even to the ones that are in my home country (Latvia, +371), so a local Latvian number such as 27654321 is

  • Check message size before sending

    Hi everyone, Does anyone know how to check the size of an outgoing mime mulitpart message? m.getSize();where m=message always returns -1. I have found a suggested answer but i don't know how to implement it correctly. Get the InputStream for the mess

  • Anybody used PlateSpin or other V2V migration tool with Oracle VM?

    We're actually trying to migrate a few XenServer guests over to Oracle VM, but would like a more comprehensive package. One that keeps coming up is PlateSpin, although I'm by no means glued to it as a solution. Ideally, this would be a reasonably fle

  • Simple Query Caching Question

    I have a .cfm template that is used to render a handful of pages of my website. Each page is a department, for example, like "Arts & Entertainment", "Health", "Finance", and so on. On each of these pages (rendered by this same template) there is a co