Data split / fork concept in ODI

I am using ODI 11g. If somone can guide me on the following:
In an Interface, Staging Table 1 & Staging Table 2 are joined on one attribute (i.e. sub_account) and are populating a Target Table. I need to implement the following logic to do the incremental update on the Target Table:
Records from above joining Staging Table 1 and Staging Table 2 are to be SPLIT/FORK in following two (2) groups:
•     When PRODUCT_ITEM is null, use SUB_ACCOUNT for incremental update.
•     When PRODUCT_ITEM is not null, use PRODUCT_ITEM for incremental update.
Looking for a help on how to implement above.
Thanks
Edited by: 867760 on Jun 22, 2011 1:02 PM
Edited by: 867760 on Jun 22, 2011 1:07 PM
Edited by: 867760 on Jun 22, 2011 1:09 PM

I am have it the same way in both the interfaces.
In the first Interface has a filter "PRODUCT_ITEM is not null" and select PRODUCT_ITEM as PRIMARY KEY Constraint in Data Model. This works just fine.
In the second Interface, I have a FILTER "PRODUCT_ITEM is null" and select SUB_ACCOUNT as KEY in the property inspector, KEY check box checked for Sub_Account.
Both interfaces are using IKM incremental update, but somehow the second interface is not doing successful incremental update.
Your thoughts on un-successful incremental update for the second interface.
Thank you for your valueable thoughts again.
Best!

Similar Messages

  • Problems with updating data in excel spreadsheet using ODI

    That's my first post on this forum, therefore I'd like to say Hello to everybody reading it before I present my problem.
    First I configured the ODBC connection to the xls file which conteins my data - the file isn't defined as read-only in the ODBC connection. The next step was setting up a Microsoft Excel Data Server in the topology manager in which I inserted the physical model and of course a logical one referencing the physical one. These steps allowed me to insert a model with my table in the Designer - I can view data throug the option 'view data' appearing after the right-click on the datastore. One of the columns was defined as primary key in constraints. I can use this xls file datastore as a source in an interface - loading the target finishes with a success. But I can't update the data in the xls file using the 'data' option appearing after right-click on the datastore correspondig to it in the designer. The new window with data from file appears without any problem, but when I try to update any of the fields I recieve an error:
    *"See com.borland.dx.dataset.DataSetException error code: BASE+37*
    *com.borland.dx.dataset.DataSetException: DataSet has no unique row identifiers.*
    *Note: For QueryDataSets you need to disable metaDataUpdate.ROWID in the MetaDataUpdate property, in addition to setting the RowId property on a column.* - don't know where to configure it
    at com.borland.dx.dataset.DataSetException.c(Unknown Source)
    at com.borland.dx.dataset.DataSetException.kb(Unknown Source)
    at com.borland.dx.dataset.StorageDataSet.fb(Unknown Source)
    at com.borland.dx.dataset.StorageDataSet.a(Unknown Source)
    at com.borland.dx.dataset.DataSet.startEditCheck(Unknown Source)
    at com.borland.dx.dataset.DataSet.startEdit(Unknown Source)
    at com.borland.dbswing.TableMaskCellEditor.textModified(TableMaskCellEditor.java:340)
    at com.borland.dbswing.TableMaskCellEditor.insertUpdate(TableMaskCellEditor.java:319)
    at javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source)
    at javax.swing.text.AbstractDocument.handleInsertString(Unknown Source)
    at javax.swing.text.AbstractDocument.insertString(Unknown Source)
    at javax.swing.text.PlainDocument.insertString(Unknown Source)
    at com.borland.dbswing.DBPlainDocument.insertString(DBPlainDocument.java:77)
    at javax.swing.text.AbstractDocument.replace(Unknown Source)
    at javax.swing.text.JTextComponent.replaceSelection(Unknown Source)
    at javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(Unknown Source)
    at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    at javax.swing.JComponent.processKeyBinding(Unknown Source)
    at javax.swing.JComponent.processKeyBindings(Unknown Source)
    at javax.swing.JComponent.processKeyEvent(Unknown Source)
    at com.borland.dbswing.TableMaskCellEditor.processKeyEvent(TableMaskCellEditor.java:627)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)"
    What should I do to be able to modify data from the xls file that way (is it possible in any way)?

    It is not possible to update the data directly from ODI on some technologies, mainly due to some driver limitations.
    I would suggest to edit the spreadsheet in Excel.
    Thanks,
    Julien

  • Error while loading Data in HFM application through ODI

    Hello All,
    I am performing a integration from source(Flat file) to HFM application I have created a Integration to it and while loading the data i get the following error:-
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
        at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:240)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
    com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.common.ODIHAppException: Properties [CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE] are mandatory.
        at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
        at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
        at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
        at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
        at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
        at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
        at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
        at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
        at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
        at java.lang.Thread.run(Thread.java:662)
    Caused by: Traceback (most recent call last):
      File "<string>", line 3, in <module>
        at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:240)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
    com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.common.ODIHAppException: Properties [CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE] are mandatory.
        at org.python.core.PyException.fillInStackTrace(PyException.java:70)
        at java.lang.Throwable.<init>(Throwable.java:181)
        at java.lang.Exception.<init>(Exception.java:29)
        at java.lang.RuntimeException.<init>(RuntimeException.java:32)
        at org.python.core.PyException.<init>(PyException.java:46)
        at org.python.core.PyException.<init>(PyException.java:43)
        at org.python.core.Py.JavaError(Py.java:455)
        at org.python.core.Py.JavaError(Py.java:448)
        at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:177)
        at org.python.core.PyObject.__call__(PyObject.java:355)
        at org.python.core.PyMethod.__call__(PyMethod.java:215)
        at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:221)
        at org.python.core.PyMethod.__call__(PyMethod.java:206)
        at org.python.core.PyObject.__call__(PyObject.java:397)
        at org.python.core.PyObject.__call__(PyObject.java:401)
        at org.python.pycode._pyx15.f$0(<string>:6)
        at org.python.pycode._pyx15.call_function(<string>)
        at org.python.core.PyTableCode.call(PyTableCode.java:165)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.Py.runCode(Py.java:1204)
        at org.python.core.Py.exec(Py.java:1248)
        at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
        at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
        ... 19 more
    Caused by: com.hyperion.odi.common.ODIHAppException: Properties [CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE] are mandatory.
        at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:240)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:175)
        ... 33 more
    Caused by: com.hyperion.odi.common.ODIHAppException: Properties [CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE] are mandatory.
        at com.hyperion.odi.hfm.ODIHFMUtil.validateRequiredProperties(ODIHFMUtil.java:87)
        at com.hyperion.odi.hfm.ODIHFMMetadataLoader$OptionsMetadataLoad.validate(ODIHFMMetadataLoader.java:66)
        at com.hyperion.odi.hfm.ODIHFMMetadataLoader.validateOptions(ODIHFMMetadataLoader.java:188)
        at com.hyperion.odi.hfm.ODIHFMAppStatement.validateLoadOptions(ODIHFMAppStatement.java:168)
        at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:195)
        ... 38 more
    Any help appreciated
    Thanks,
    Pratik

    LKM looks fine. Sorry it was my bad the "data" at the end was not visible and you are right its IKM for integration
    Log file that you have provided talks about these parameters but I doubt these are related to data
    I was going through the link and it takes about the parameters CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE but they are related to metadata
    Oracle Hyperion Financial Management
    I have no idea. Will keep posted if I get to know anything
    HTH
    Amarnath
    ORACLE | Essbase

  • Error while reversing data from SQL Server to ODI

    hi,
    I was reversing data from SQL Server Java 1.6_022 in ODI Java 1.5, I was getting error Version Mismatch and I updated ODI Java version to 1.6_022.
    And now, I am getting the below error while reversing the data from SQL Server database.
    0 : 08001 : java.sql.SQLException: No suitable driver
    Looking for the assistance on the same.
    Thanks,
    Abhay

    If everything is fine the reversing should be fine. I would say check again if the Technology of the Model and the also the dataserver is created under the right Technology in topology too.
    also if this doesn't help , Please tell us the steps you have carried so far . Also can you try selective reverse is it showing the tables.

  • Issue in creating data server for xml in ODI

    Hi,
    I have a XMl which has a size around 95 MB. When i tried to create data server in ODI for this xml file.
    I encounter below error,
    "oracle.odi.jdbc.datasource.ConnectionTimeoutException: A login timeout occured while connecting to the database
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:117)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1125)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:163)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$4(SnpsDialogTestConnet.java:159)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$4.doInBackground(SnpsDialogTestConnet.java:520)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$4.doInBackground(SnpsDialogTestConnet.java:1)
    at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:656)
    at java.lang.Thread.run(Thread.java:662)"
    Kindly let me know what should i do for resolving the error.
    Thanks and Regards,
    Ida Jebakirubai S.

    Yes Phil i am able to create a data server for xml files which are of smaller in size(in KB). And i can use the files in the interface as well.
    When i using this large file only i am getting this error.
    Please suggest.
    Thanks and Regards,
    Ida.

  • Please help with: A date split into 3 Combo Boxes ....

    Can someone help me with this Please?
    I have a date for a Date of Birth i.e. dd/MM/yyyy
    I need to split it up an place it into 3 combo boxes i.e. Day Combo, Month Combo and Year Combo.
    This is the code I have to set the combo boxes, now I need to bring it back into the combo boxes.
    can someone help me with the code as I need to have this finish on friday and I am running out of time. I just dont know what to do PLEASE SOMEONE HELP...
    Thanks
    Craig
    // List days
      private void DayOfTheMonth(int highNumber,JComboBox comboBox){
        comboBox.addItem(" ");
        for (int index = 1; index < highNumber; index++) {
          comboBox.addItem(String.valueOf(index));
      private void DaySpecificComboBox()
        DayOfTheMonth( 32, DayjComboBox);
    // List Months
      private void Month(){
        MonthjComboBox.addItem("");
        MonthjComboBox.addItem("January");
        MonthjComboBox.addItem("February");
        MonthjComboBox.addItem("March");
        MonthjComboBox.addItem("April");
        MonthjComboBox.addItem("May");
        MonthjComboBox.addItem("June");
        MonthjComboBox.addItem("July");
        MonthjComboBox.addItem("August");
        MonthjComboBox.addItem("September");
        MonthjComboBox.addItem("October");
        MonthjComboBox.addItem("November");
        MonthjComboBox.addItem("December");
    //List Years
      private void Year(int highNumber,JComboBox comboBox){
        comboBox.addItem(" ");
        for (int index = 2002; index > highNumber; index--) {
          comboBox.addItem(String.valueOf(index));
      private void YearSpecificComboBox()
        Year( 1900, YearjComboBox);
    private String StringFromDateFields(){
        int month =1;
        if (MonthjComboBox.getSelectedItem().equals(JANUARY))
          month = 1;
        else
          if (MonthjComboBox.getSelectedItem().equals(FEBRUARY))
            month = 2;
          else
            if (MonthjComboBox.getSelectedItem().equals(MARCH))
              month = 3;
            else
              if (MonthjComboBox.getSelectedItem().equals(APRIL))
                month = 4;
              else
                if (MonthjComboBox.getSelectedItem().equals(MAY))
                  month = 5;
                else
                  if (MonthjComboBox.getSelectedItem().equals(JUNE))
                    month = 6;
                  else
                    if (MonthjComboBox.getSelectedItem().equals(JULY))
                      month = 7;
                    else
                      if (MonthjComboBox.getSelectedItem().equals(AUGUST))
                        month = 8;
                      else
                        if (MonthjComboBox.getSelectedItem().equals(SEPTEMBER))
                          month = 9;
                        else
                          if (MonthjComboBox.getSelectedItem().equals(OCTOBER))
                            month = 10;
                          else
                            if (MonthjComboBox.getSelectedItem().equals(NOVEMBER))
                              month = 11;
                            else
                              if (MonthjComboBox.getSelectedItem().equals(DECEMBER))
                                month = 12;
                              String
                              DOB = DayjComboBox.getSelectedItem()+"/"+String.valueOf(month)+"/"+YearjComboBox.getSelectedItem();
                              return DOB;

    Thanks for your time.
    I could not get that to work ??
    I have come up with this code whitch seams to work. Thought you may like to see it
         String dobxml = xmlDoc.getValueOf(clientInfo, "DOB");
          String dob = dobxml.replace('/', ' ');
          System.out.println(dob);
          StringTokenizer tokenizer = new StringTokenizer(dob);
          String day = tokenizer.nextToken();
          String month = tokenizer.nextToken();
          String year = tokenizer.nextToken();
          System.out.println(dob);
          DayjComboBox.setSelectedItem(day);
          MonthjComboBox.setSelectedIndex(Integer.parseInt(month));
          YearjComboBox.setSelectedItem(year);ps thankyou
    Craig

  • Extract data from source table in ODI

    Hi,
    I am using ODI to transfer data between Oracle table to a flat file. Source database is very huge and has many partitions within that. In ODI can we extract the data using the partitions ? I want to have data from some partitions of that table, i dont have any other WHERE clause to use.
    Thanks,
    Ramesh
    Edited by: rameshchandra85 on Jun 22, 2009 4:34 AM

    Hi,
    I am tranferring data from oracle to File . So I using IKM SQL to FILE Append. There is no LKM used for that. Can you please suggest where can I add that ?
    Thanks,
    Ramesh

  • Oracle data to web service in ODI

    Hi Experts,
    Please help me on "Oracle data should move to web service (odiInvokewebservice tool)" in ODI
    eg:
    Table EMP have 10 records, when I execute package, for each record webservice should call(webservice should call 10 time)
    if Table EMP have 20 records, web service should call 20 times. Later I insert 2 more records in EMP table (total 22 records present in EMP table)
    again when I execute the package web service should call 22 times
    Please help me on it
    Thanks
    Phani

    Do you mean that a certain Web Services should get called for each row in a table ?
    Is yes , then a simple count variable and the loop activity should do the trick for you. -
    1. Declare a Variable say Count
    2. Refresh it with count(*) value in the table.
    3. Run the interface/webservice , subtract 1 from count variable.
    4. Call again , till the count is 0.
    5. End.
    Good Luck !

  • Simple abap prog need  for date split in BDC

    hi
    split date.
    i am a fresher plz help me with this...
    i am getting date from legasy system in the format   mmddyy.
    before uploading this into sap i need transfer that into sap format.
    can u plz give me the code for this...using split.
    Thanks & regards,
    khasimsa

    Hi,
    You can try any one of these :
    You can use Below FM :
    CONVERT_DATE_TO_INTERNAL
    This FM will convert date as internal format,i mean depends on user profile.
    DATA: date(8) TYPE c.
    ur field <date1>is in mmddyyyy format.
    concatenate date14(2) date10(2) date1+2(2) into date.
    write date to necessary variable.
    parameters:p_date type d.
    data: v_date1 type d.
    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
    EXPORTING
    DATE_EXTERNAL = p_date
    IMPORTING
    DATE_INTERNAL = v_date1.
    write:/ v_date1.
    CONCATENATE field+4(4) field(4) INTO l_date_internal.
    just copy paste and run this code.
    DATA:V_DATE1(10),
    V_DATE(10).
    V_DATE = '03032008'. "-----> format of mmddyyyy
    concatenate V_DATE4(4) '.' V_DATE2(2)'.' V_DATE+0(2) into V_DATE1.
    Write:V_DATE1. "-------> will be of the format yyyy.mm.dd
    Hope this helps.
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • URGENT: regarding data load in essbase through ODI after upgradation

    Hi,
    I have got this error, Please give me the solution...
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 29, in <module>
         at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
         at org.hsqldb.jdbc.JDBCStatement.fetchResult(Unknown Source)
         at org.hsqldb.jdbc.JDBCStatement.executeQuery(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    java.sql.SQLException: java.sql.SQLException: unexpected token: -
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.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:540)
         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:83)
         at java.lang.Thread.run(Thread.java:662)
    Thanks,
    Rubi

    I have used some condition in data column.
    If I have deleted that condition and directly mapped in data column them interface works fine.
    But whenever I have used some normal CONVERT function like CONVERT("Source column name",Numeric), It gives me that error.

  • SQL Server Dababase data split

    Dear All,
    I have a database with 235 GB Data. Now currently database is shared by two countries transnational data. Now I got the requirement to separate the data of two countries as two individual databases.
    Would you please suggest the best way to do this.
    I have couple of questions here:
    1) It has 300 tables and how can I generate all the constrains create script?
    2)How can I delete the relationship of all tables?
    3) after splitting the databases how can I make sure the integrity and How can I make sure to get the as is of same production database?
    Thank you in advance
    Srikanth

    Before you arrived at these questions, you probably went through a mental process that made you ask these questions. Unfortunately, since we don't know that mental process, we don't really know what you have in mind.
    My general take on this, is that I use BACKUP/RESTORE and make a copy of the database, and then run a bunch of DELETE operations in both databases to get rid of the unwanted data. My first approach would be do this in reference order, so that I don't
    have to drop the constraints.
    But, admittedly, this can be difficult to achieve. In that case I would run:
    SELECT 'ALTER TABLE ' + quotename(s.nname) + '.' + quotename(o.name) +
           ' NOCHECK CONSTRAINT ALL '
    FROM   sys.objects o
    JOIN   sys.schemas s ON s.schema_id = o.schema_id
    WHERE  o.type = 'U'
    Copy the result and run it. This disables all constraints. (foreign keys
    and CHECK constraints to be precise.)
    And then the same operation to disable triggers.
    When the deletion operation is completed, I would run
    DBCC CHECKCONSTRAINTS WITH ALL_CONSTRAINTS
    to verify that that there are no constraint violations.
    Finally, reenable all triggers and constraints. When doing the latter, it is important to run it as:
    SELECT 'ALTER TABLE ' + quotename(s.nname) + '.' + quotename(o.name) +
           ' WITH CHECK CHECK CONSTRAINT ALL '
    FROM   sys.objects o
    JOIN   sys.schemas s ON s.schema_id = o.schema_id
    WHERE  o.type = 'U'
    If you don't add WITH CHECK, SQL Server will not check the constraints when enabling them. This will leave them as not trusted, which means that the optimizer cannot use them.
    Strictly speaking, you can skip DBCC CHECKCONSTRAINTS, since reenabling the constraints also checks that they are valid. However, DBCC CHECKCONSTRAINTS gives you better error diagnostics.
    One challenge that I have not touch is integrity maintained by the triggers. This is something you will have to figure out.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Data Type  Binary Missing on ODI  for 101.3.4 for SYBASE IQ 12.5

    Hi All.
    Under Topology - Physical Architecture - Sybase IQ - there isn't datatype "binary".
    Any workaround ? I have to use this datatype because it is in many tables and it used for important data...
    Marco

    The workaround is to create this datatype.
    ODI provides technologies, but these technologies could but updated as you want.
    just one thing, don't forget the conversion between SYBASE IQ and other technologies

  • Error for datatype mismatch or wrong data in XML to database ODI interface

    Hello All,
    I am doing XML to DB mapping in ODI. but when there is any mismatch in the datatype between source and target or any data issue, ODI is not showing any error for that. it is just inserting the data in the DB from XML up to that erroneous record without any error message.Could anybody please help, how can I get the error message for the same, from ODI when I execute that interface?
    Thanks in Advance!

    no I could not find any records in the error table i.e E$_X table.

  • Display one record data - splitting it into 2 different rows

    Hi ,
    I have a requirement wherein i search for something and the results are displayed in the table. I am using tablelayout for this.
    For each record, the data will be split across in 3 separate rows, i.e. one complete record will span across 3 rows.
    When Search is fired initially, only one row of data is dispalyed. Then I have a button or icon corresponding to this first row of each record, on clicking on this icon, all the other rows related to this one record should be displayed.
    How can i achieve this? Also should I query entire data for one record at one go, and then hide/show it based on icon click, or I should get results/details realetd to first row only, and then again fire another VO to get the details of 2 and 3rd row. Which is much better from performance point of view.?
    Please advice
    Regards
    Puja

    Puja,
    The suggested UI for master-detail relationship is table in a table and hgrid.
    --Mukul                                                                                                                                                                                                                           

  • Populate SQL table with data from Oracle DB in ODI

    Hi,
    I am trying to populate a source SQL table with fields from an Oracle db in ODI. I am trying to perform this using a procedure and I am am getting the following error:
    ODI-1226: Step PROC_1_Contract_Sls_Person_Lookup fails after 1 attempt(s).
    ODI-1232: Procedure PROC_1_Contract_Sls_Person_Lookup execution fails.
    ODI-1228: Task PROC_1_Contract_Sls_Person_Lookup (Procedure) fails on the target MICROSOFT_SQL_SERVER connection Phys_HypCMSDatamart.
    Caused By: weblogic.jdbc.sqlserverbase.ddc: [FMWGEN][SQLServer JDBC Driver][SQLServer]Invalid object name 'C2C_APP.CON_V'.
    My question is what is the best method to populate SQL db with data from an Oracle db? Using a procedure? A specific LKM?
    I found threads referring to using an LKM to populate Oracle tables with data from a SQL table....but nothing for the opposite.
    Any information would help.
    thanks,
    Eric

    Hi Eric,
    If using an Interface, I would recommend the LKM SQL to MSSQL (BULK) knowledge module. This will unload the data from Oracle into a file, then bulk load the staging db on the target using a BULK INSERT.
    Regards,
    Michael Rainey

Maybe you are looking for