ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Different ways and meanings of HOLD in CA Workload Automation ESP Edition

book

Article ID: 187229

calendar_today

Updated On:

Products

ESP Workload Automation

Issue/Introduction

An application may be placed in APPLHOLD status using APPLJOB ALL with HOLD option, or HOLD option on APPL, or HA from CSF.

  • What does that inhibit?
  • Does it prevent the APPL from taking any further action (e.g. submitting additional jobs)?
  • Does it prevent a NOTIFY or MONITOR from processing for a job that was already executing at the time of APPLJOB?
  • What places an application in APPLWAIT status?

The hold-count (HC) field of a job is modified by the predecessor/successor statements (e.g. AFTER and RELEASE).

  • Can any other commands modify this field?
  • What does the HOLD keyword on a JOB definition statement do (e.g. does it also modify the HC)? Will this status may be removed using APPLJOB  jobname  RELEASE(ESP)?  

 Is there any other “hold” status than above?

Are there alternate approaches to controlling workflow that is scheduled (i.e. other than HOLD)? Can a triggered event that has an EICLASS set to MPL(0) execute?

 

Environment

Release : 11.4 and above

Component : CA ESP WORKLOAD AUTOMATION

Resolution

An application may be placed in APPLHOLD status using APPLJOB ALL with HOLD option, or HOLD option on APPL, or HA from CSF.

  Q: Does it prevent the APPL from taking any further action (e.g. submitting additional jobs)?
  A: Yes.
  Q: Does it prevent a NOTIFY or MONITOR from processing for a job that was already executing at the time of APPLJOB?
  A: No.   
  Q: What places an application in APPLWAIT status?
  A: When WAIT is used on APPL, and previous generation(s) hasn't completed. 

The hold-count (HC) field of a job is modified by the predecessor/successor statements (e.g. AFTER and RELEASE).

   Q: Can any other commands modify this field?
   A: Yes, you can use AJ command with option DROPDEP to remove all or partial of its predecessors. Also you can use "ABANDON DEPENDENCY" to drop automatically at a specified time.
    Q: What does the HOLD keyword on a JOB definition statement do (e.g. does it also modify the HC)?
    A: Yes, you can use AJ command with option DROPDEP to remove all or partial of its predecessors. Also you can use "ABANDON DEPENDENCY" to drop automatically at a specified time.
    Q:Will this status may be removed using APPLJOB  jobname  RELEASE(ESP)?  
     A: Yes. 

    Q: Is there any other “hold” status than above?
    A: Yes. For example, you can use HOLD option for resource, so the resource won't be released until the JOB completes successfully. 

    Q: Are there alternate approaches to controlling workflow that is scheduled (i.e. other than HOLD)? 
    A: "OPER QUIESCE" and "OPER CLASS - HOLD" can be used to hold all workloads, and "OPER ESPCOM DEST(agent_name) QUIESCE" can be used to hold sending requests to one agent.

     Q: Can a triggered event that has an EICLASS set to MPL(0) execute?
     A: If the event required EICLASS with MPL(0) is set, then it will execute on default EICLASS(0); and if EICLASS(0) also has MPL(0), then the event won't execute.