KM problem on ODI

Hi gurus,
I would like to know if there is a knowledge module on ODI that allows us to delete from the target table the records that are no longer available in the source table.
I am using an incremental update module is there a way to change customize it in order to get what i want ?
Every suggestion or piece of advice is welcome.
Thanks again.
ZI

Just to follow on from what BOS said, we had to do exactly that on my project so I duplicated a pair of KM's (LKM and IKM) to start as a base point, pulled all the primary keys (defined as Unique Keys on our datastores) from the source table into the staging 'collection table' using substitution method :
<%=odiRef.getColList("", "[COL_NAME]", ",\n\t", "", "UK")%> in the select list.
Then deleted from target where not source rows not exists on the target , matching using :
select 'X' from <%=odiRef.getInfo( "TARG_NAME" )%> S
          where
          <%=odiRef.getColList("", "\tT.[COL_NAME]=S.[COL_NAME]", "\n\tand\t", "", "UK")%>
What I do is find a Knowlede Module (step) that is building the basic structure of what I want to achieve, crate table as select, create view as select x,y,z etc. Merge into etc. etc. then duplicate those steps into a new one and hack it up as apprpriate.
If you want to keep it simple, you could do allsorts :
define as view as the collection staging area (not a table) - remove any DML from the LKM and simply use the view in the IKM as your source

Similar Messages

  • MSSQLServer jdbc connect problem on ODI 11G R2

    I have a MS SQL Server jdbc connect problem on ODI 11G R2 / Windows server 2008 64 bits.
    Tried, one by one, all versions of Microsoft drivers.
    Sqljdbc4.jar copied to : %appdata%\odi\oracledi\userlib\
    The Topology connect syntax is :
    driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    URL : jdbc:sqlserver://<host>:1433
    => All the topology tests end with time-outs.
    Installed 10G ODI.
    Works with 1.4 java and sqljdbc.jar version 2 jdbc driver.
    Times out with version 3 and/or Sqljdbc4.jar + JAVA_HOME & ODI_JAVA_HOME set to 1.6 path.
    also tried, with no success (time-outs) on either 10g or 11g :
    com.inet.tds.TdsDriver
    jdbc:inetdae7://<host>:1433?database=<DB>
    same results for :
    net.sourceforge.jtds.jdbc.Driver
    jdbc:jtds:sqlserver://<host>:1433
    Any suggestions for a fix?
    Many thanks in advance.

    Hello,
    ODI (11g) Studio is certified on Windows 32 bit only, not on 64bit.
    However you may still install it and configure ODI Studio to run with a 32 bit java.
    Details pls see Master Note For ODI 11g Install Issues And Questions (Doc ID 1214428.1).
    To connect to SQL Server:
    # Check and make sure the authentication mode of your Microsoft SQL Server Server is set to "SQL Server and Windows" or "Mixed", otherwise Oracle Data Integrator (ODI) is unable to connect to the database.
    # Before you create the Oracle Data Integrator (ODI) Dataserver in Topology Manager > Physical Architecture, stop all ODI processes, and place the JDBC Driver file in the ODI's userlib and "/drivers" folder.
    For ODI Studio (Local No Agent)
    %APPDATA%\odi\oracledi\userlib
    %APPDATA% is the Windows Application Data directory for the user (usually C:\Documents and Settings\<user>\Application Data).
    Standalone Agent
    ODI_HOME\oracledi\agent\drivers
    Note: If you decide to use the DataDirect driver that comes with ODI 11g install/ embedded in ODI 11g
    weblogic.jdbc.sqlserver.SQLServerDriver
    Then you don't need to worry about this step.
    # Make sure that the database is the default database of the user account employed by ODI for connection, and that the password is correct.
    # Verify (in your Microsoft SQL Server Server network configuration) that TCP/IP has been enabled on port 1433.
    For more details see How To Set Up JDBC Driver Connections For The Microsoft SQL Server For ODI (Doc ID 423914.1)
    If you try sqljdbc.jar, you need to configure ODI_JAVA_HOME to jdk1.5
    sqljdbc4.jar, jdk1.6 (since ODI 11g requires jdk1.6, I'd suggest sqljdbc4.jar)
    More see Compatibility Matrix For Java Machines And JDBC Drivers Used With ODI (Doc ID 807235.1)
    Hope that helps other people who run into this,
    Edited by: user742480 on Apr 4, 2011 12:06 PM

  • Problem with ODI 11g (Extension/Modeler issue)

    After installing ODI and running ODI Studio, I did not get the Connect to Repository window in the left. Extension log says: Error: Not Loaded: Missing dependencies: oracle.modeler
    Seems like its a missing extension, can anyone help me with this issue? Thanks

    Yes AyushGaneriwal,
    the problem was non printable characters in the last field of 2000 character arriving from Mainframe download, now i asked for a clean file and is working good.
    Thank you.
    B.

  • Problem with ODI 11.1.1.5 on different server from Web-logic

    Basically a problem is being faced with installing ODI 11.1.1.5 (Developer, Standalone and Java EE installations) on a different server from OBI 11.1.1.5. Basically, the thing that did cause this type of installation is that I cannot find a version of ODI to run a 64-bit machine like OBI 11.1.1.5. Hence, I installed the OBI on the 64 bit machine and shared the entire drive on which the home of the BI exist. The share process referenced all the folders contained inside the home with full permission given for read and change. This was being done to provide the bea home for the ODI Java EE installation which is required as a part of the installation process.
    The problem is when I specify the middleware home location in the ODI installation with the given shared bea location an error appears saying: INST-07058: unexpected error occurred while validating Oracle home location.
    I would be grateful to receive some advice on how to overcome this obstacle with regards to installting ODI on a 32-bit server where the weblogic AS is resided on a different machine running in 64-bit.
    Help is very much appreciated...

    Thank you for answer, well in the Logueo.jspx i have this code
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backingBeanScope.backing_Logueo.d1}">
    <af:form id="f1" binding="#{backingBeanScope.backing_Logueo.f1}">
    <af:outputLabel value="outputLabel1"
    binding="#{backingBeanScope.backing_Logueo.ol1}"
    id="ol1"/>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_Logueo-->
    </jsp:root>
    this not is the problem, because is the project number 3 made on fedora and this don't function fine...... thank you for answer...!!!

  • Problem launching ODI Data Quality/Profiling in Vista

    Hello
    I am having a weird problem with Oracle Data Integrator installation in Vista. Hope somebody could help me.
    I have installed ODI (10.1.3.5.0) along with Data Quality and Profiling. The installation was successful, however, while trying to launch Data Quality/Metabase Server etc I am getting an error: "admin.exe is not found"/"discovery.exe not found". Moreover, bin directory under oracledq directory is empty. I was just wondering, there must be "something" at least in the bin directory if the installation was error free!
    Could you please let me know if anything is wrong with the installation or is that a Vista problem? Do I need to install anything else as a pre-requisite?
    Your assistance is much appreciated..
    Shibaji Gupta

    Hello Rathish
    Thanks for the info; First of all, please let me know where from shall I copy those files?
    In my case the "/oracledq/bin" directory is "just" empty!
    As the installation did not raise any problem, I can probably guess that all the .dll files (if any) are correctly installed, except for the "bin" directory contents. Is there a way to copy the entire bin directory content? Not sure how Oracle performs the installation. If you could help me from your experience.
    Any way, thanks again for the assistance. Would like to try all available options.
    Shibaji Gupta

  • Performance problem in ODI replication

    I have defined bulk and CDC interface to replicate data from one source to another source. In CDC replication, the volume of rows changed is very high. It takes lot of time to replicate.
    In addition to that, I have defined logical primary keys in ODI to transfer data as no keys are defined on source and target datastore. I donot want to use flow control strategy as it decreases the performance further.
    When duplicate rows are loaded from source, odi fails due to duplicate rows. i do not want odi to be failed because of this.

    Data appearing on replica sites naturally lags behind the master,
    simply because it takes some time to transmit across a network, and
    apply updates to the database.
    Would you rather have read operations on the replica wait until they
    "catch up" to some certain point in the sequence of transactions
    generated by the master?
    Your an ack policy of "NONE" allows the master to race ahead of the
    clients without bound. If you were to use the "ALL" ack policy then
    commit operations at the master would try to wait until all replica
    sites had received the transaction, and you would get closer to having
    all sites progress in sync. Of course that slows down the master
    though.
    Is this the kind of "stale" data you're talking about, or something
    more long-term?
    Alan Bram
    Oracle

  • Problem with ODI Procedure

    I'm trying to execute a sequence of commmands using ODI with Oracle Technology. I'm doing this making a new procedure. What I wrtite in the procedure are two insert into tables. I use ; as end of statements. And ODI seems not to like ;, becuase he says invalid character. How can I execute two statements in sequence? Below you can find my query and the error code.
    Thanks in advance.
    Roberta
    This is my code:
    insert into E_CMP_BUSINESS_S (
    select a.*, '1'
    from VT_PRD_BUSINESS a
    where BUS_ID in (
    select distinct a.BUS_ID
    from VT_PRD_BUSINESS a
    join VT_PRD_BUSINESS c
    on a.BUS_ID = c.BUS_ID where a.BUS_DES != c.BUS_DES
    insert into E_CMP_BUSINESS_S select a.*, '2' from VT_PRD_BUSINESS a where BUS_ID is NULL;
    And this is the error:
    911 : 42000 : java.sql.SQLException: ORA-00911: invalid character
    java.sql.SQLException: ORA-00911: invalid character
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

    I tried, the error in this case is the following:
    6550 : 65000 : java.sql.SQLException: ORA-06550: line 1, column 340:
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    ; <an identifier> <a double-quoted delimited-identifier>
    The symbol ";" was substituted for "end-of-file" to continue.
    java.sql.SQLException: ORA-06550: line 1, column 340:
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    ; <an identifier> <a double-quoted delimited-identifier>
    The symbol ";" was substituted for "end-of-file" to continue.
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)

  • ODI behavior is not consistent in case of LKM loading.

    Hi All,
    I am facing a strange problem in ODI version 11.1.1
    Actually, we have couple of interfaces and one master package. We are generating scenario for master package. We are exporting that scenario and keep it at specific location so that our application can pick it up and can execute it.
    So the problem is something like this: If I execute scenario from ODI then it is working fine(irrespective of source and target [that may on same db (but diff schema)or different db]). But if I test this same scenario through application then it fails. So I come back to ODI and open interface, save it once again and regenerate scenario, deploy it on application. It will start working. And it may fail for other interface. I have to do same thing (opening the interface and close it after saving)once again.
    Now let me come to technical point as well as my observation.
    Actually, Loading knowledge module should get execute first. It will take data from source and load it in work tables(C$ tables). And then from work table to integration table(I$ table). But this is not happening in case of failed interface. Directly it is trying to fetch data from source and load it in I$ table. While doing this way, it was not able to access source table from target schema. So we were getting 'table or view does not exist' error.(All these, we are trying on same db but different schema). I am surprised because in this way it should get fail from first interface itself. Sometimes I also noticed that, for successfully executed interface, Load Knowledge module was loaded. Only in case of failed interface, Load knowledge module was not getting loaded. After re-saving of interface if we execute new scenario, then it starts working fine and it will behave just like any other successful executed interface.
    We are using only one LKM i.e LKM sql to sql. Also marked it as default LKM.
    I do not know why this is happening.
    Please suggest me solution for this problem.
    Thanks
    -Pallav

    Hi,
    Thanks for your answers, but it is still not what I expect
    In fact, I created a ZABAP process type and set the event to "Process ends "successfully" or "incorect"
    I used this how to guide to create the process type:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30664504-40dd-2a10-3794-db7b4190bef3
    For the Z program inside the variant I raise an error message when the condition is not verified. So I "want" the failure in some cases in the child chain and I want the next child chains to run in each case automatically in background.
    May be it is a bug, may be not...
    Thank you for your answers,
    Rgds,
    Edited by: Bruno Beckers on Dec 15, 2009 2:21 PM
    Edited by: Bruno Beckers on Dec 15, 2009 2:23 PM

  • Installing ODI Studio and ODI Stand-alone on 64 bit Windows 7

    Can anybody tell me which ODI downloads I need in order to install ODI Studio and ODI Stand-alone on my 64-bit Windows 7 machine?
    I've already created the DB repository with RCU, but I'm having trouble with the ODI installation: I just spent an hour and a half downloading 2.5GB of installers that turned out to be wrong - the SETUP.EXE complained that it was a 32 bit installer and wouldn't work on 64 bit Windows - so I now need to find a 64-bit installer instead (another 2.5GB presumably...). Not sure which of the multiple download options to choose and I don't want to spend all day waiting for the wrong files to download again.
    Looking through OTN and the (typically confusing) Oracle installation docs, there's a load of stuff about using 32-bit JREs on 64-bit Windows to get around 64/32-bit Java problems later on, or lots of stuff about all the Fusion requirements etc. But I don't want the JEE stuff (I already have about 4 different WebLogic installations because every time I install any Oracle "Fusion" stuff it slaps another WebLogic in there as well), and I'm miles away from getting any Java runtime problems with ODI when I can't even figure out the right installer to use for 64 bit Windows.
    Maybe it's just me: every time I try to install any of Oracle's server products (apart from the RDBMS itself), I end up wading through endless lists of cross-linked installation pre-requisites and searching OTN forums for the single secret combination of installer/JDK/JRE/operating system/database character-set/RDBMS version and desperate prayers to minor deities that will permit the installation to go ahead...
    So any help will be gratefully received!

    You will have to download ODI with the download option "for All Platforms" from http://www.oracle.com/technetwork/middleware/data-integrator/downloads/index.html

  • ODI Import by using UNIX Command in 11.1.1.3

    Hi,
    I am trying to use a Unix script for importing several ODI Components. I am avoiding the GUI as there are lot of ODI files needed for the import. The Source and the destination Repositories are both in 11.1.1.3 version
    For eg: I have the following:
    -- File to be imported: "TAB_W_RTL_ORG_D_TMP.xml" and kept under the following location "/u00/odi/product/11113/oracledi/agent/bin/".
    -- Import Mode is INSERT_UPDATE
    -- ODI Work Rep Name = RA133POC_WORK
    Command I am exeuting from the $ODI_HOME/bin directory:
    ksh startcmd.sh OdiImportObject "-FILE_NAME=/u00/odi/product/11113/oracledi/agent/bin/TAB_W_RTL_ORG_D_TMP.xml" "-IMPORT_MODE=SYNONYM_INSERT_UPDATE" "-WORK_REP_NAME=RA133POC_WORK" -"IMPORT_SCHEDULE=YES"
    But I am getting an odi tool error:
    oracle.odi.oditools.OdiToolInvalidParameterException: Error while setting parameters on tool
    at com.sunopsis.dwg.function.SnpsFunctionBase.getCoreOdiTool(SnpsFunctionBase.java:607)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:126)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:48)
    at oracle.odi.ToolRunner.main(ToolRunner.java:75)
    Caused by: java.lang.Exception: Invalid parameter: -IMPORT_SCHEDULE
    at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.actionSetParameters(SnpsFunctionBaseRepositoryConnected.java:122)
    at com.sunopsis.dwg.function.SnpsFunctionBase.setParameters(SnpsFunctionBase.java:785)
    at com.sunopsis.dwg.function.SnpsFunctionBase.getCoreOdiTool(SnpsFunctionBase.java:603)
    +... 3 more+
    Can anybody help me on this at the earliest...?
    Thanks,
    Shib

    Hi Shib,
    This is a BUG in ODI 11.1.1.3 and may be in latest patch 11.1.1.5.0 oracle would have fixed it, check with MOS.
    Problem with ODI cammand
    Thanks,
    Guru

  • 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

  • ODI fails when running MAXL scripts

    HI,
    We have a problem with ODI where when a scenario has a maxl script as a step the scenario fails.
    This is not a problem in our production environment but it is present in our DEV and TEST environments. We believe it may be a problem with the cloning process from PROD.
    Has anyone had this issue previously or can provide some helpful direction.
    Regards
    Luke
    ODI 10.1.3.5

    What is the error you are getting at the failure point?

  • ODI Scenario Hang on ODI Procedure

    Hi Experts,
    We have one ODI scenario which consists of a few ODI procedure steps with anonymous PL/SQL block. When one procedure takes a long time to process data (>60min. when data volume is large), the ODI scenario hangs intermittently on the procedure (ODI Operator shows Running state and no progress to next step in Scenario). The pl/sql script finished fine when running against database directly processing the same dataset.
    When the ODI step hangs, the database side where the pl/sql runs on has no more activities, and the db session(v$session) which processes the ODI procedure goes away as well (db session not existing on db anymore). But the ODI Operator still shows the step in running state and hangs there forever (days). The jdbc connection from ODI to db looks fine.
    How can we fix this problem in ODI? The ODI version is 10.1.3.5.
    Appreciate your input on this.
    Thanks,

    The doc said "If your command is being executed in a transaction (numbered 0 to 9)" then I should set 'Commit'. But I used 'Autocommit' for transaction, is the 'Commit' necessary here?
    Thanks!

  • ODI-15605: Multiple ordered joins in this dataset use the same order number.

    I get this error but only have 3 ordered joins numbered 10, 25 and 30; I also have ten lookups specified as left-outer joins.
    I presume the lookup joins also have order numbers. Does anyone know how to find out those order numbers?
    (For the moment I'm using a work-around of doing the lookups in the staging area, which seems to avoid the problem.)
    ODI version: 11.1.1, Build ODI_11.1.1.5.0_GENERIC_110422.1001
    Java: 1.6.0_45
    Windows: 7 Pro SP 1, 64-bit
    Keith H.

    Forgot to mention, I get this error when I save the interface, not when I run it. K

  • Regarding odi send mail

    Hi all,
    There is problem with odi send mail error, after the all suggestions, i get answer for it requires jython procedure, and i downloaded from oracle site also...
    can any one please teach me where should need to implement/kept for sending mails.
    please help me....
    our network is popmail.bizmail.yahoo.com...
    please share any docs/links to this mail id: [email protected]
    Regards,
    surya.

    Here are two ways to send an e-mail
    1) Use the ODISendMail function in an ODI Package.
    To use this function drag the ODISendMail reference onto the Package window, join it to the Package flow, click on the function icon and supply Mail Server (SMTP Server Name), From (Me), To (Distribution), CC (Copy), BCC (Blind Copy), Subject, Attachment, and Message Body in the window that appears.
    I use this function to signal success or failure of a package or package step.
    To do this I only supply only the Mail Server, From, To and Subject. I don't need anything else to report success or failure.
    Here's a sample Subject:
    <%=snpRef.getSession("CONTEXT_NAME")%> <%=snpRef.getSession( "SESS_NAME" )%> <%=snpRef.getStep("STEP_NAME")%>
    The STEP_NAME holds the success/failure message
    I don't use the Message Body or Attachment.
    2) The procedure shown in the reply defines a Jython function to send an e-mail with Subject and Message Body using Mail Server, From and To values stored in a Jython dictionary. The Jython version is very old (release 2.1 or 2.2) so there are more elegant ways to write the function. Jython uses white space to control program flow which the Form editor deletes. Here's a verson of the code with leading periods in the code to preserve the white space and with comments on each line. Comments start with a # character and extend to the end of the line.
    Dict = {} # This holds the global parameters
    Dict['ToString'] = '[email protected]' # you supply the value
    Dict['FromString'] = 'FromFromFrom' # you supply the value
    Dict['SMTP'] = 'My Mail Server' # you supply the value
    import smtplib #These are the Jython library routines needed to send the e-mail
    def SendMail(MessageSubject,MessageLines): # This is the function definition
    . global Dict # Point to the Dictionary
    . Subject = '%s %s %s' % (Dict['Context'],Dict['Session'],MessageSubject) #Build the Subject Line
    . MessageString = '' #Initialize the Message String
    . for ReportLine in MessageLines: # Add the callers message lines to the Message String (each line here ends in a newline \n)
    . MessageString = '%s%s' % (MessageString,ReportLine)
    # The next statement builds the actual e-mail message according to a very strict format. Understanding the format is hard
    . Message="From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n%s" % (Dict['FromString'],Dict['ToString'],Subject,MessageString)
    . server = smtplib.SMTP(Dict['SMTP']) # Setup the Mail Server
    . server.sendmail(Dict['FromString'],Dict['ToString'],Message) # Send The Message
    . server.quit() # Stop
    # Here we build a sample message
    ReportSubject = 'This is a Test Message'
    Report = []
    Report.append('First Line\n')
    Report.append('Second Line\n')
    Report.append('Last Line\n')
    # Send the Message
    SendMail(ReportSubject,Report)
    If you're not familiar with Jython, this still won't make much sense, but Jython is not hard to learn, and this example is not very complicated.

Maybe you are looking for

  • Regarding production order closing and demand closing

    Hi Gurus, I am new to pp module.. I have the requirement on production order closing and demand order closing. The requirement needs plant,reuirement plan no ,basic finish date and percentage in selection screen. In the output display plant,requireme

  • I bought the new iMac Inte, where do i insert de CD?

    It came with the Office Mac CD and I have no ideia where do i insert it

  • PHP INterface to SAP Error RFC_I05

    Hi all, I am using RFC calls from PHP to sap..I am facing with this issue.. just new to this PHP thing so please help me guys Errors found during saprfc calls: RFC Error Info : Key     : RFC_IO5 Status  : CODE=CM_PRODUCT_SPECIFIC_ERROR STATUS=??? DAT

  • 2504 WLC on edge network for guest wifi

    I have a 2504 WLC with a 1042 AP and I have it placed on my edge Cisco 3750 switch. I have the management interface of the WLC set on my WAN IP 71.x.x.x subnet range, and I have the WLC doing DHCP duties with a DHCP scope of 192.168.X.0. I have my DN

  • Why is XJC not generating any JAXB implementation files?

    I'm running xjc.exe on a Windows XP machine via a .bat file to generated the binding Java files for my .xsd file. JDK 1.6.0_16 is installed. The bat file looks like this: xjc.exe -p my.packagepath xsdfile.xsd Those aren't really the file and package