Does ODI keeps the record of last run date of interface?

Target:Oracle
Source:MS SQL
ODI:11g
My requirement is I have a source table, Whatever operations performed on that (like insert,update etc) table, I want to load those records into the target table. For that I have created an Interface which runs daily at 6 PM.While loading, I have put one filter which loads only those data which got inserted/updated on current date(GETDATE()).Suppose the case, If my ODI has been down(because of any reason) since 3 days. In this case I have no option to load the records who got changed in that three days. On the fourth day I start the ODI then, how can I get data which got changed in last three days.
Is there any place where ODI keeps the record of last run date or something of interface ?
If I use CDC in that case, once the ODI down then the journalism can not able to keep the changed data info.
How can I load the changed data into the target.?
Thanks,
Shrinivas

If you have a date column in source and target , I guess you might be having a you are using date , you can use a filter and write the expression like this
Source_date > (select max(date_created/update) from schema.target_table)
I have validated this expression and it validated by ODI , I did not try running it , please give it a shot
Suresh

Similar Messages

  • The hard drive on my laptop died, so i have lost all my music. It is saved on my iphone, is there any way to transfer it across onto my new laptop? Or does itunes keep a record of my purchases?

    The hard drive on my laptop died, so i have lost all my music. It is saved on my iphone, is there any way to transfer it across onto my new laptop? Or does itunes keep a record of my purchases?

    You should be able to:
    Backup the device to the new installation
    Transfer your purchases into a newly authorized library
    Recover any other media using third party tools as suggested in this post from forum regular Zevoneer
    Restore the device from the backup
    This process should switch the association of the device to the new library, preserving the data and settings in your apps.
    May also be prudent to attempt a backup to iCloud directly from the device before you start... Settings > iCloud > Storage & Backup > iCloud Backup > On. It won't save any media but it would preserve the general account settings and documents in case anything goes wrong while you are trying to extract your other data.
    When you get it all fixed, make a backup!
    tt2

  • How to get the last run date.

    We intend to develop an incremental data load mapping using this strategy:
    1) The mapping reads the date it was last run from an auxiliary table.
    2) It selects from the source only those rows that were inserted or updated after said date.
    3) Then, a post-mapping process updates the last run date in the auxiliary table, using SYSDATE.
    The problem with this logic is that there is a gap: if the mapping starts running at 1:00 and ends at 2:00, the rows that are inserted in between will never be loaded.
    Is there any way to get the value when the mapping started running? Is there a better way to do this?
    Any help would be appreciated.
    Juan Algaba

    There is always the possibility of some record updates slipping through the crack if you are depending on dates unless you are very carefull. All of the audit tasks that the OWB-generate code performes take time. Any pre- or post- process that needs to run takes time. So which date is the best cuttoff point to equate to "when the last run of the merge (or insert or update) statement completed"?
    Plus, how do you handle reloads if the previous load failed and your mapping had incremental commits?
    Is your source on another server? If so, are the dates in perfect synch? The audit tables populate with sysdate of your runtime schema. Is that the same as the sysdate on your source remote database?
    I would qualify my query to look for all updates since the start of the last run that finished successfully - adjusted if neccesary for sysdate differences if it is on a remote schema. And make sure that your code handles any reloads gracefully in the event that this brings back data that you have already loaded once. .
    Because we use Oracle Streams to load a local staging area, we also have custom code to dump the primary keys of all data changes to utility staging tables while streams is updating the local copy. So, our Person table has an st_Person_delta table that just holds the primary keys that have been updated by Streams since the last ETL run.
    During datamart load we disable the streams apply to stabilize our environment, and join these lists of pk's to their source tables to drive our ETL. So we only select data where Streams has performed an update to the row since our last run. When we are done our ETL, we truncate the primary key staging tables, and then turn streams back on to start loading up our new delta into our staging tables again..
    The ETL gets pretty complex though when many tables join together in one mapping and you need to check all possible source table deltas to see if any of them got updated to determine the delta for a given dimension or fact record, but it works great once you get it all done.

  • Keep the record in the view object if deletion failed.

    I have a view object which is based on the entity object, when I am trying to delete a row it failed because it has a child record associate with. I know the row is not delete from the database, but the record is deleted fromt the view.
    How to keep the record in the View object if delete failed?

    Hi,
    the row is not delete from the database,refresh the view . re-execute query and the view show the row

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • How to find the last run date of the report..

    please any one one help me
    how to find last run date of the report...
    for example if my report is zgrir...if i am exuted in last week
    if want to find when it executed
    last run date is req
    please any one help me...

    The trasaction stat is limited because i want all the execution date even if it is 3 years ago.
    I have tryied the transaction st03 but it is limited to 3 months ago.
    check transaction STAT and it's report RSSTAT00.
    U can copy RSSTAT00 into ZRSSTAT00 and modify corresponding.
    *& Report ZDSAP *
    REPORT ZDSAP .
    DATA: d_ref TYPE REF TO data,
    d_ref2 TYPE REF TO data ,
    i_alv_cat TYPE TABLE OF lvc_s_fcat,
    ls_alv_cat LIKE LINE OF i_alv_cat.
    TYPES tabname LIKE dcobjdef-name .
    parameter: p_tablen type tabname.
    data: begin of itab occurs 0.
    INCLUDE STRUCTURE dntab.
    data: end of itab.
    FIELD-SYMBOLS : <F_FS> TYPE table,
    <F_FS1> TYPE TABLE,
    <F_FS2> TYPE ANY,
    <F_FS3> TYPE TABLE.
    REFRESH itab.
    CALL FUNCTION 'NAMETAB_GET'
    EXPORTING
    langu = sy-langu
    tabname = p_tablen
    TABLES
    nametab = itab
    EXCEPTIONS
    no_texts_found = 1.
    LOOP AT itab .
    ls_alv_cat-fieldname = itab-fieldname.
    ls_alv_cat-ref_table = p_tablen.
    ls_alv_cat-ref_field = itab-fieldname.
    APPEND ls_alv_cat TO i_alv_cat.
    ENDLOOP.
    internal table build
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING it_fieldcatalog = i_alv_cat
    IMPORTING ep_table = d_ref .
    ASSIGN d_ref->* TO <F_FS>.
    SELECT * FROM (p_tablen) INTO CORRESPONDING FIELDS OF TABLE <F_FS>.
    LOOP AT <F_FS> ASSIGNING <F_FS2>.
    *your code goes here.
    ENDLOOP.

  • Does ODI has the ability to organize 1000+ pl/sql programs?

    Hi experts,
    we are proposing ODI to a customer who has 1000+ pl/sql programs to load data to Oracle DW. Besides, there are many complicated dependencies among these programs.
    I know that ODI has "package" functionality to build up a workflow and schedule programs like mappings and pl/sql etc... But does ODI have the ability to organize 1000+ of them? And does ODI provide a way like scripting to automatically generate this package? I mean something like Teradata's ETL Automation if anybody ever used this.
    Any help will be highly appreciated.
    Flo

    Hi Flo,
    I can't see a way to conver the PL/SQL code to ODI "code" (interface, procedures, etc...) directly but, it is possible to customize an object to read the database PL/SQL dependence and generate a package that call those codes in the right sequence.
    An other way, that will bring you all Metadata control (column using information thu all database) is use a customized KM to map the pl/sql programs as table and, then use it in a interface.
    Cezar Santos

  • Help find the Last run date from previous month

    Hi all
    I am stuck trying to find the Last Run Date from the previous month.
    select distinct(date_ran) from TABLE X where date_ran like '%/11-%' order by date_ran desc gives
    "03/30/11-06:19
    "03/25/11-03:01
    "03/24/11-03:00
    "03/23/11-03:00
    "03/22/11-03:00
    "03/21/11-03:00
    "03/18/11-03:00
    "03/17/11-00:00
    "03/16/11-06:31
    "02/15/11-07:42
    "02/15/11-06:00
    "02/14/11-08:19
    Here the result I am trying to acheive is 02/15/11-07:42 ;Note the column date_ran is a VARCHAR2(255) and not a TIMESTAMP
    I tried
    select ADD_MONTHS(to_date(max(date_ran), 'MM/DD/YYYY-HH24:MI'),-1)
    from daily_tests_a
    where date_ran like '%/11-%'
    order by date_ran desc
    which returns 2/28/0011 6:19:00 AM and that is not the result I am looking for
    Regards
    SMK

    Welcome to the forum!
    user2931503 wrote:
    Hi all
    I am stuck trying to find the Last Run Date from the previous month.
    select distinct(date_ran) from TABLE X where date_ran like '%/11-%' order by date_ran desc gives
    "03/30/11-06:19
    "03/25/11-03:01
    "03/24/11-03:00
    "03/23/11-03:00
    "03/22/11-03:00
    "03/21/11-03:00
    "03/18/11-03:00
    "03/17/11-00:00
    "03/16/11-06:31
    "02/15/11-07:42
    "02/15/11-06:00
    "02/14/11-08:19
    Here the result I am trying to acheive is 02/15/11-07:42 ;Note the column date_ran is a VARCHAR2(255) and not a TIMESTAMPThat's a very bad idea. Points in time should always be stored in DATE (or maybe TIMESTAMP) columns. If not, you're going to waste resources converting them to DATEs whenever you need them to behave like DATEs, and risk run-time errors because of bad data.
    Normally, the "previous" month means the month before the current month. In April, the previous month is March.
    By "previous" month, do you mean the 2nd latest month in the table? That is, this data contains data from February and March, 2011; March 2011 is the latest of those months, February 2011 is the next-to-last, and so is that why you want a date from February?
    I tried
    select ADD_MONTHS(to_date(max(date_ran), 'MM/DD/YYYY-HH24:MI'),-1)
    from daily_tests_a
    where date_ran like '%/11-%'
    order by date_ran desc
    which returns 2/28/0011 6:19:00 AM and that is not the result I am looking for
    Regards
    SMKTry this:
    WITH   got_real_date   AS
         SELECT     TO_DATE ( SUBSTR (date_ran, 1, 14)
                   , 'MM/DD/RR-HH24:MI'
                   )     AS real_date
         FROM     table_x
    --     WHERE     ...     -- If you need any filtering, put it here
    SELECT     TO_CHAR ( MAX (real_date)
              , 'MM/DD/RR-HH24:MI'
              )     AS last_date
    FROM    got_month_num
    WHERE     real_date     < (
                               SELECT  TRUNC (MAX (real_date), 'MONTH')
                         FROM    got_real_date
    ;Edited by: Frank Kulash on Apr 5, 2011 3:59 PM

  • How does one keep the photo description attached to a photo in iphoto when that photo copies to a disc or flash drive

    how does one keep the photo description attached to a photo in iphoto when that photo copies to a disc or flash drive?
    the metadata transfers ok, it is the description of that photo that does not transfer.

    Use the File -> Export command and note the settings to write the metadata to the file on export.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • How does one keep the Creative Cloud purchase/signup popup from popping up everytime I flash up Dream Weaver CS6?

    How does one keep the Creative Cloud purchase/signup popup from popping up every time I flash up Dream Weaver CS6?

    Johnnyontherocks it is likely you installed an updated version of the Adobe Application Manager.  Remove all copies of Adobe Creative software from the computer and reinstall to downgrade the installation.

  • Where does JDeveloper save the info about last opened jspx / files ?

    Hi all,
    In JDev 10.1.3.1, Where does JDeveloper save the info about last opened jspx / files ?
    e.g:
    opened pages are : page1.jspx and faces-config.xml
    after we save and close JDeveloper and Open again, i will start with same opened page/files : page1.jspx and faces-config.xml.
    Where does JDeveloper save this settings ?
    Thank you,
    xtanto

    Xtanto,
    its jdeveloper_home\jdev\system\oracle.ide.10.1.3.<version>\preferences.xml
    The most recent entries are last on the list. The editor reference also indicates whether this file was opened in WYSIWYG or Editor view
    Frank

  • Why the iphone4 during a call does not keep the 3G?

    why the iphone4 during a call does not keep the 3G?
    I meet a lot of 3G signal when a call signal disappears 3G! I read the manuals and anything I find the problem! I do so with other brands and other cell does not, the same goes when I receive a call!

    Oniplay wrote:
    I tried to restart, the problem still remains.
    Make sure you do a reset, not a restart. Press and hold both buttons, ignore the "slide to turn off" message and let go of the buttons after the Apple logo shows up on the screen.
    If you did that and it did not bring any change, try to set it up as new device, as explained in this article:
    How to back up your data and set up as a new device
    If it does not work the first time, try not to use the backup afterwards in a second attempt, in case it contains corrupt data.
    If still no luck, get it serviced:
    Apple - Support - Service Answer Center

  • Last run date & time & multiple files handling

    Hi frnds,
    i am working on an outbound interface in which i am retrieving data from custom db table,processing it with other db tables and writing  the final output into a file into the application server and updating the custom db table.
    Now i have an issue here when i am giving plant as input in selection screen (select-options), i should also get those plants from my custom table which have no last run date and time.
    How to get that?
    Next part of my question is for multiple plants entry,multiple files have to created in application server.
    Presently, i have concatenated the file path n name.Do i need to loop the same with s_werks.Will it work
    Also i used an internal table for update data storage.When multiple plants are their how to handle the updation.
    Rgds,
    Simran

    Hi.
    In ur reply i did'nt understood two things
    1) this is how i'm doin the selection
        select lt_run_dt
               lt_run_tm
        into table itab1
        from z_table
        where prog_name EQ sy-repid
        AND   plant IN s_werks
    will it give me plants whose last_run_date and last_run_time are not in the z table?
    2)  If you are going with select-option from parameter, then if you have to write a FILE per PLANT. Then you can loop at plant->extract the data-> write to app server-update z table->end loop
    Does that means:
    loop at s_werks
    open dataset
    transfer
    modify
    endloop
    Kindly clarify to solve this issue.
    Rgds,
    Simran

  • BI Report information :Report technical name - Report name - Last run date

    hi,
    I want to know how we gather the information about the total reports present in production environment in following format.
    Report technical name - Report name - Last run date
    I know a table RSZCOMPDIR where we can find technical name and last run information, but this table does not give Report name.(description)
    Is there any other table which can give me this information???

    Hi Amruta,
    check the following forum link which is already posted . probably it will help.
    [How to find out Query last used by whom|How to find out Query last used by whom]
    Regards
    Sree

  • To find last run date of custom concurrent program in oracle apps

    Hello Exports,
    Can you pls tell me how to find last run date of custom concurrent program in oracle apps.( thr Backend query )
    Thanks in advance,
    Edited by: 981527 on Mar 7, 2013 3:01 AM

    try the below:
    select fcp.user_concurrent_program_name
    ,fcr.request_date
    ,fu.user_name
    ,fcr.actual_start_date
    ,fcr.actual_completion_date
    ,fcr.phase_code
    ,fcr.status_code
    ,fcr.argument1
    ,fcr.argument2
    ,fcr.argument3
    from fnd_concurrent_programs_vl fcp
    ,fnd_concurrent_requests fcr
    ,fnd_user fu
    where fcp.user_concurrent_program_name like 'Payroll Run'
    and fcp.concurrent_program_id = fcr.concurrent_program_id
    and fcr.requested_by = fu.user_id
    order by fcr.actual_completion_date desc

Maybe you are looking for

  • How to add a digital signature in xml publisher report

    The problem is: There is a existing pick slip report.This is a xml publisher report and the data source is RDF. We have to add digital signature there. Now this signature is stored in a table with type Long Raw and format BMP. XML Publisher do not su

  • Solution Manager Service Desk & ChaRM Integration

    Hi All, I have query on integration between Solution Manager Service Desk & ChaRM. As we know u2013 it is possible to create a change request from service desk if the incident requires a change in the satellite system. In this case even we can see th

  • Bug in ADF(10.1.3.2.0) with checkboxes in a table in a pop-up

    So I've found a bug in ADF. The bug manifests when I have a dialog window pop-up with a table with many rows(13 or more). Each row has a checkbox in it. If I change the state of 12 or fewer of the checkboxes and click ok, the returnListener will fire

  • IS-OIL Delivery confirmation

    Hello colleagues We have a problem with delivery confirmation(tr. o4h1) It is very interesting situation because we can confirm a delivery but Shipment Status is still 2(without loading). Supply chain consists of planning shipment(tr. o4f1, sh.status

  • Spry throws JS error in IE8

    See http://webbymgc.com/tomato/ It works fine in latest Safari, Chrome, Firefox on Mac/Windows, even in IE9 on Windows 7 but fails in IE8 both on XP and 7. Gives me a cryptic error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0;