CA Workload Automation ESP Edition

Expand all | Collapse all

ESP - Is there any way to drop one dependency or a specific dependency?

Jump to Best Answer
  • 1.  ESP - Is there any way to drop one dependency or a specific dependency?

    Posted 11-14-2019 04:22 PM

    Hello!

     

    I have a requirement for dropping a single (or specific) dependency from a job at a specific time. Looking at ABANDON DEPENDENICES or the DROPDEP keyword of the APPLEJOB command, it seems that it is only possible to drop all dependencies and not specific ones.

     

    Thanks!

     

    Jonathan Calloway

    IT Operations Support Analyst

    Infrastructure and Operations

    BlueCross BlueShield of Tennessee

    423-535-7342 (office) | 423-309-2547 (mobile)

     



    Please see the following link for the BlueCross BlueShield of Tennessee E-mail disclaimer:  https://www.bcbst.com/about/our-company/corporate-governance/privacy-security/email-policy.page


  • 2.  RE: ESP - Is there any way to drop one dependency or a specific dependency?

    Posted 11-14-2019 04:33 PM
    Hi Jonathan,

    The AJ (APPLJOB) command allows you to specify the JOB name:
    {APPLJOB|AJ} 
    jobspec
    ....
        {DROPDEP[(fullname[,fullname]...)]}

    Hope this helps,

    Lucy


  • 3.  RE: ESP - Is there any way to drop one dependency or a specific dependency?

    Posted 11-14-2019 04:40 PM
    ​Lucy,

    Would you be willing to include an example?  I kept getting errors in simulation when I tried this.  I suspect I'm not getting the syntax correct.

    Thanks!

    <JC>


  • 4.  RE: ESP - Is there any way to drop one dependency or a specific dependency?
    Best Answer

    Posted 11-14-2019 04:51 PM
    Sure.

    JOB SLEEP is waiting for WINNT01 in APPL AGENT23.6. I created an event:

    EVENT ID(ESP.CPROC3) SYSTEM(-) REPLACE
    Proc
    ESP AJ SLEEP APPL(AGENT23.6) DROPDEP(WINNT01)
    EndProc
    ENDDEF

    Note: the same command should work in ESP application too.

    When it triggered, got following message:
    ESP_2578I MESSAGE FROM EVENT ZHALI13.CPROC3
    JOB SLEEP DEPENDENCIES DROPPED

    APPLMGR: APPL AGENT23.6 JOB SLEEP READIED
    APPLMGR: APPL AGENT23.6 JOB SLEEP PARTIAL DEPENDENCIES DROPPED BY ZHALI13
    APPLMGR: APPL AGENT23.6 JOB SLEEP DEPENDENCIES DROPPED BY ZHALI13

    Hope this helps,

    Lucy


  • 5.  RE: ESP - Is there any way to drop one dependency or a specific dependency?

    Posted 11-25-2019 03:21 PM
    Lucy,

    Sorry for taking so long to respond.  This worked perfectly!  Thank you so much!  This is yet another instance of the reason why you are an ESP CHAMPION!!!

    <JC>​