WORKLOAD AUTOMATION COMMUNITY
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
  • About
  • Contact
  • What's new

Practical guide to Release Dependencies, Delete Dependency, Cancel, Cancel Pending and Kill actions in Job and Job stream monitor.

3/28/2024

0 Comments

 
Picture
​Have you ever thought that a few actions were redundant? Think again!
Let’s investigate some actions that have an impact on the dependencies in different ways and understand which one to use based on the situation.
Release dependencies
This action causes the temporary removal of all predecessor’s dependencies of the selected entity. If the entity is a job, its execution starts instantaneously (it goes in EXEC status). If it’s a job stream, its status is related to the status of the jobs inside.
This action modifies the dependency structure only on the current instance and is meant to be used only during this monitoring phase. Whenever the entity is rerun, all dependency structures are restored.
This action can be performed by the Release dependencies button on the monitoring action bar. If the user wants to release a single or a subset of dependencies, they can perform it in the Dependencies panel.
Picture
Picture
The same behavior happens when this action is performed on a job.
 
Delete dependencies
This action causes the permanent removal of the selected predecessor’s dependencies of the interested entity. If the entity is a job, its execution starts instantaneously (it goes in EXEC status). If it’s a job stream, its status is related to the status of the jobs inside.
This action modifies a dependency on the plan, so whenever the entity is run again using the rerun action, the full dependency structure is not restored.
This action can only be performed in the Dependencies panel.
The scenario is the same shown for the Release action
Picture
Picture
The same behavior happens when this action is performed on a job.
 
Cancel
When the Cancel action is performed, the entity changes its external status in Canceled and all the successor’s dependencies are released immediately.
A job’s internal status remains the same, apart from the EXEC internal status, that continues to run until it reaches a final status.
If a Cancel action is performed on a job stream, its jobs are immediately put in Canceled status. The job stream internal status becomes CANCL P until all the running jobs inside reach a final status. After that, it becomes CANCL.
The successors, both for jobs and job streams, have the dependency on the particular entity satisfied.
Predecessors and successors are executed parallelly if the action cancel is performed on an entity located on the center point of a dependencies series.
4
Picture
Picture
Description: JOB_C final status depends on its own execution but the dependencies have been released.
Picture
Picture
​Description: This is a scenario where JS_B has no running job during cancel action.
 
Cancel pending
This action is useful to avoid the parallel execution of predecessors and successors with respect to the canceled entity.
The Cancel pending action postpone the cancel until all predecessor’s dependencies are satisfied. This includes also the completion of job processes inside a job stream.
The status, both for job and job stream, remains the same until the cancel option is performed. It is possible to check that the cancel pending action has been taken care of by the Property panel.
When the operation is completed, the final status is Canceled for both job and job stream. The internal status, instead, is CANCL for the job stream, but for the job, there are two possibilities:
- If the Cancel action is performed during the job execution, the internal status is the job final one.
- If the Cancel action is performed when the job has not started, the internal status is the same status the job has before the Cancel action. 
Picture
Picture
Description: This scenario is common for job streams without executing jobs inside, in that case also all the jobs are canceled. Cancel pending status is only visible inside the entity’s property.
Picture
Description: JOB_B final status depends on its own execution, but the dependencies have been released.
 
Kill
If the job plug-in allows the Kill action, it can be performed only on a job entity in EXEC status. It immediately forces the final status to ABEND and stop the processes.. All successors are maintained and their dependencies are evaluated considering the final status of this job.
Picture
Picture
Description: If the dependency is simple or conditional to a final status different from ABEND.
Picture
​Description: If the dependency is conditional to ABEND.

Authors


Picture
Riccardo Torres
​He joined HCL in October 2022 as a member of the Test Team.
His primary focus is on writing code for Workload Automation tests.
He has a master's degree in electronic engineering, interested in the evolution in the field of machine learning and artificial intelligence and the development of new technologies.
Picture
Matteo Forti
​
Born as a physicist with a passion for computer science and coding, joined HCL in January 2021 working on Automation suites for the UI component on the Test Team. Science curious, math enthusiast, interest in graphic arts and new technologies.
Picture
Maria Ludovica Costagliola
​She joined HCL in September 2019 as Software Engineer. Currently working as Test Team Leader for Workload Automation. She has a Computer Engineering Master Degree. She loves to read and go for walks.
Picture
Federica Fiore – Software Engineer at HCL Software.
She joined HCL in January 2023 as a member of the Test Team.
She is passionate and curious about new technologies and ready to learn something new every day
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Archives

    October 2025
    July 2025
    June 2025
    May 2025
    March 2025
    February 2025
    January 2025
    December 2024
    November 2024
    October 2024
    September 2024
    August 2024
    July 2024
    June 2024
    May 2024
    April 2024
    March 2024
    February 2024
    January 2024
    October 2023
    August 2023
    July 2023
    June 2023
    May 2023
    April 2023
    March 2023
    February 2023
    January 2023
    December 2022
    September 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    February 2022
    January 2022
    December 2021
    October 2021
    September 2021
    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021
    December 2020
    November 2020
    October 2020
    September 2020
    August 2020
    July 2020
    June 2020
    May 2020
    April 2020
    March 2020
    January 2020
    December 2019
    November 2019
    October 2019
    August 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    December 2018
    November 2018
    October 2018
    September 2018
    August 2018
    July 2018
    June 2018
    May 2018
    April 2018
    March 2018
    February 2018
    January 2018
    December 2017
    November 2017
    October 2017
    September 2017
    August 2017
    July 2017
    June 2017
    May 2017

    Categories

    All
    Analytics
    Azure
    Business Applications
    Cloud
    Data Storage
    DevOps
    Monitoring & Reporting

    RSS Feed

www.hcltechsw.com
About HCL Software 
HCL Software is a division of HCL Technologies (HCL) that operates its primary software business. It develops, markets, sells, and supports over 20 product families in the areas of DevSecOps, Automation, Digital Solutions, Data Management, Marketing and Commerce, and Mainframes. HCL Software has offices and labs around the world to serve thousands of customers. Its mission is to drive ultimate customer success with their IT investments through relentless innovation of its products. For more information, To know more  please visit www.hcltechsw.com.  Copyright © 2024 HCL Technologies Limited
  • Home
  • Blogs
  • Forum
  • Resources
  • Events
  • About
  • Contact
  • What's new