Is it possible to run an update via target tables post load command

Is it possible to run a sql update statement via post load command of target table?
What does it mean by post load command, does it gets triggered only after a successful execution of a data flow (to Target table)?
Or it can also gets triggered even if a dataflow fails?
this is teh sql which i would like to run via post if dataflow success only.
Update tbl_job_status set end_time=nvl(NULL,sysdate()) where job_id = (select max job_id from tbl_job_status where j_dataflowname='Chk_Order_Delta')

I do not believe it will necessary run if the df fails. If you want your job status table updated no matter what (apart from a complete DS meltdown), you'll want to wrap things in a try-catch to make sure you're handling the update. You can do it in a script, or with a dataflow. A nice way to handle all this sort of operational metadata tracking stuff is to write yourself a library of custom functions and then consistently call them fore & aft of jobs or workflows or whatever components you want to track.  If you've got access to a Rapid Mart, you might look at what they've done there -- nice stuff (although you can't just "borrow" it).

Similar Messages

  • In OWB I need to update the target table with same field for match/update

    In OWb I am trying to update the target table with the match and the update on the same field can this be done. I am getting a error match merge error saying you cannot update and match on the same field. But in SQl my select is
    Update table
    set irf = 0
    where irf = 1
    and process_id = 'TEST'
    Hwo do i do this in OWB.

    table name is temp
    fields in the table
    field1 number
    field2 varchar2(10)
    field3 date
    values in the table are example
    0,'TEST',05/29/2009
    9,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009
    In the above example I need to update the first row field1 to 1.
    Update temp
    set field1 = 1
    where field1 = 0
    and field2 = 'TEST'
    when I run this I just need one row to be updated and it should look like this below
    1,'TEST',05/29/2009
    9,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009
    But when I run my mapping I am getting the rows like below the second row with 9 also is getting updated to 1.
    1,'TEST',05/29/2009
    1,'TEST',05/29/2009
    0,'TEST1',03/01/2009
    1,'TEST1',03/01/2009

  • Running an update via command line on demand

    In my organization, we are designing a new public access system where the computers will be protected with "rollback" software so no changes are retained. Updates will be handled in a maintainance window and include Windows Updates, Anti Virus Definitions and hopefully Flash Player, Acrobat Reader and Shockwave Player. The "snapshot" of the disk is then updated.
    Is there a way of running the update on demand, I have tried running the EXE that the scheduled task calls, but that doesn't seem to do much (maybe it only runs for the system account?)
    I cannot rely on the automatic update happening to run in the maintainance window and I need to have output of when the update has completed whether there was or was not an update performed.
    Needless to say, all this needs to be able to run silently.
    Any suggestions are gratefully accepted.
    Martin

    I had looked at this before, but had hoped i could just run a command and parse a "No available updates" or "Successfully Updated" ruturn or something. If this is the only way to do it, then it looks like I will have to have an mms.cfg with settings:
    AutoUpdateDisable=0
    AutoUpdateInterval=0
    SilentAutoUpdateEnable=1
    SilentAutoUpdateVerboseLogging=1
    And if I'm reading the documents correctly, I need to then launch a web page that uses Flash to prompt the update? If so, that's easy enough, just open a web page to the Adobe page that shows when an update is successful?
    I can then monitor the log file to see what is going on.

  • Is there a way to run Firefox updates on Macintosh computers using the command line?

    In our school district we have thousands of Macintosh computers that have Firefox installed (on Mac OS X 10.4 through 10.6). When a new update is released to fix security vulnerabilities it would be very helpful if our Tech Support Specialists could send out a command to all the Macs using Apple Remote Desktop to update Firefox. Is there a command that can be sent to update Firefox? If so, could you please tell me what the command is? Thanks so much for any help that can be provided.

    Certainly, but not with external interface.
    Have a look at the cookbooks. There are examples of how to use the root host object to call directly into extendscript.

  • Check running configuration update via SNMP

    Is it possible to get the last configuration change of running config via SNMPGET ? I would like to monitor it here...
    Last configuration change at 10:37:58 BRASIL Wed Sep 25 2013 by root
    Thanks,

    Hi,
    look at that object: CISCO-CONFIG-MAN-MIB::ccmHistoryRunningLastChanged
    Note that you have to subtract sysUpTime - the return-value of ccmHistoryRunningLastChanged, because the return-value is a timestamp of sysUpTime.
    Example:
    enterprises.9.9.43.1.1.1.0 = Timeticks: (242759533) 28 days, 2:19:55.33
    system.sysUpTime.0 = Timeticks: (285324883) 33 days, 0:34:08.83
    => Last Change of the Running-Config ~ 5 days ago
    HTH
    Rolf

  • Thunderbird - Email stopped working. Most possible after running osx update 10.10.2.

    OSX 10.10.2: Latest stable Thunderbird: 31.4.0
    Timestamp: 2015-02-07, 8:13:33 AM
    Error: [Exception... "Initialization failed'Initialization failed' when calling method: [nsILoginManagerStorage::init]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: resource://gre/components/nsLoginManager.js :: LoginManager.prototype._storage :: line 98" data: no]
    Source File: resource://gre/components/nsLoginManager.js
    Line: 98
    and
    Timestamp: 2015-02-07, 8:13:33 AM
    Error: this._storage is null
    Source File: resource://gre/components/nsLoginManager.js
    Line: 383
    I hope this helps. Do I have to wait for an update or can I do something here already?
    Regards.
    Peter

    OSX 10.10.2: Latest stable Thunderbird: 31.4.0
    Timestamp: 2015-02-07, 8:13:33 AM
    Error: [Exception... "Initialization failed'Initialization failed' when calling method: [nsILoginManagerStorage::init]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: resource://gre/components/nsLoginManager.js :: LoginManager.prototype._storage :: line 98" data: no]
    Source File: resource://gre/components/nsLoginManager.js
    Line: 98
    and
    Timestamp: 2015-02-07, 8:13:33 AM
    Error: this._storage is null
    Source File: resource://gre/components/nsLoginManager.js
    Line: 383
    I hope this helps. Do I have to wait for an update or can I do something here already?
    Regards.
    Peter

  • Interface performs insert rather then update on target table

    I'm cannot figure out how to control my Interface to update target records rather then insert new records when a source value changes.
    I have primary keys defined.

    Turns out one of my primary key columns was being set inside the interface, the value did not exist in the source, so it was marked for update.
    Thanks!

  • Product updates via API cause release date to be changed

    When running product updates via the eCommerce API (Product_UpdateInsert) the release dates for the updated products are being set to 02-Jan-2000. Is this happening for anyone else?
    This is kind of painful as we have a client who uses the product release dates throughout their site...

    Ran into the same issue. I was using the release date to flag latest products, regardless of ordering. Unfortunately running a product import then destroyed all that work.
    Found this thread with a staff reponse regarding it not being possible to set release dates using import, but it doesn't explain why release dates get reset.

  • Run windows update against specific wsus server

    Is it possible to run windows update from a specific wsus server using
    cmdline or powershell? Eventually I am trying to do something with powershell but without using the WSUS API for versions 4 and above.
    Thanks 

    Is it possible to run windows update from a specific wsus server using cmdline or powershell? Eventually I am trying to do something with powershell but without using the WSUS API for versions 4 and above.
    Perhaps you could elaborate on the actual problem you're trying to solve and we can suggest appropriate and viable solutions for that problem?
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • Swap code phones belle update via nokia suite

    any way to belle update via nokia suite for phones which is having swap code please reply..

    dude i am having c6 01 and i got a call from nokia representative stating that for swap code phones only nokia care centre service software only can do the update as of now so it is not possible to get the update via nokia suite we have to produce our phones to nokia care

  • Uninstall Windows Security Update via Intune

    Hi all
    Some of our users are using Propalms-software which has reported a problem with Microsoft Windows update KB2830477.
    This update was installed by Intune. Is it possible to uninstall this update via Intune?
    Thx!
    Dany

    I know this is very old but I’m trying to clean up old posts. Did you ever solve this? If so it would be good if you could post the solution to assist others. If not, at this
    stage, as nobody has answered, I would recommend that you call Intune support if the issue still exists.
    You will find your local Intune support number here
    http://technet.microsoft.com/en-US/jj839713.aspx
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Error in updating the source table in mapping

    Hi All,
    I have a mapping in which I am fetching records from a table A, performing some expression logic and then using a Splitter operator to update my target table Bas well as update one of the columns of my source table A(to indicate that record has been processed). When I execute the mapping, updation of target table B works, but updting my source table A does nt work and the job completes succesfully?
    Can somebody please help me to debug this?
    Thanks

    Hi,
    Please check the splitter condition for the two groups that you have set. This might be a case where you have put such a condition in splitter that all the record sets are going to the target table and none are going to the source table. Therefore the source table is not getting updated by any record.
    Regards
    -AP

  • My iPad is still running iOS 5.1.1 which is old.  When I check for update it says up to date.  Have tried to update via Pad and iTunes to no avail.  How do I get updated iOS?

    I have fist gen iPad.  Still running iOS 5.1.1   When I attempt to update via usual mens I get response that it's up to date which is untrue.  I've tried to update via the Pad itself and via iTunes with the same response on both.  How do I get the updated iOS?

    Just because you don't have the latest software means your ipad is unusable. Many times you can still download older versions of the apps. Check Texas Mac Man's answer from yesterday for some possible solutions,
    Is there a version of Pages I can download for ios5.1.1?

  • Website update via iPhone possible (maybe at a later point in time)?

    Hi, I have just one question about the possibility to update own websites on the road via the iPhone. I mean when I update websites from home I use a FTP program but now with the iPhone I would like to have also the chance to update the pages from somewhere else like the sportspark right after a game. Is there any application available to do that? Thanks in advance!!

    i dont know how good your website/coding knowledge is, or if its even possible (i imagine it is via RSS), but if you're DESPERATE for something, you can sign up for blogger. blogger allows you to update via email. and then you can import those posts to your website.
    just my $.02

  • Running Windows 7 via bootcamp but cannot update to either 3.1 or 3.2. My MAC OS is 10.6.8

    I am running Windows 7 via bootcamp but cannot update to either 3.1 or 3.2. My MAC OS is 10.6.8.
    I can  download either version, but I get an error message after attempting to install.
    First tried Boot Camp 3.2.  Error message indicated I need Boot Camp 3.1 first.
    Then tried Boot Camp 3.1. Error message indicated I need Boot Camp 3.0 first
    Then tried Boot Camp 3.0. Would not allow download.
    I know the OSX came with Boot Camp why is there a problem????!!

    3.0 is on your OS X DVD. Clearly spelled out in the guide in Boot Camp Assistant, and here -
    www.apple.com/support/bootcamp : manuals, look for 10.6 pdf version.
    3.0 is pre-requisite for any other
    OS X comes with Boot Camp Assistant and you access 3.0 drivers while in Windows.

Maybe you are looking for