AutoSys Workload Automation

 View Only
  • 1.  Conditions between jobs in separate boxes

    Posted Sep 02, 2020 03:11 PM
    AutoSys 11.3

    Job BIR runs in Box D9, daily at 9PM
    Job ADB runs in Box SU9, Sundays at 9PM
    Job ADB needs the most current data loaded by Job BIR (from today's run).

    I could add a condition s(BIR).  
    But, since they are in separate un-linked boxes, if Box D9 doesn't run for some reason, could Job ADB accidentally run off yesterday's SUCCESS ?

    How can I ensure BIR has ran before running ADB?


    Thanks,
    Al H


  • 2.  RE: Conditions between jobs in separate boxes
    Best Answer

    Posted Sep 02, 2020 03:34 PM
    s(BIR,01.00)  

    Use lookback time. This example will look back 1.00 for the sucessfull completion of the job. If it doesn't run, then job ADB does not have condition met.


  • 3.  RE: Conditions between jobs in separate boxes

    Posted Sep 03, 2020 12:06 PM
    That's perfect, I wasn't aware of that feature.
    Thanks!

    ------------------------------
    Engineer/DBA
    Big Bank
    ------------------------------



  • 4.  RE: Conditions between jobs in separate boxes

    Posted Sep 04, 2020 11:11 AM
    As Miguel mentioned you want to use lookback conditions.  I just wanted to add that the lookback can also be set to "0" which basically translates to 'condition is met only if the condition has run since the last time I ran'.  It can be useful in cases where there's variability in runtime.


  • 5.  RE: Conditions between jobs in separate boxes

    Posted Sep 08, 2020 02:14 PM
    I like that, thanks!

    ------------------------------
    Engineer/DBA
    Big Bank
    ------------------------------



  • 6.  RE: Conditions between jobs in separate boxes

    Posted Sep 03, 2020 12:07 PM
    That's perfect, I wasn't aware of that feature.
    Thanks!

    ------------------------------
    Engineer/DBA
    Big Bank
    ------------------------------