Scheduling the closedown of online systems and started tasks
About this task
HCL Workload Automation for Z can
initiate and track a job or started task but cannot directly
stop it. The recommended method for scheduling the stop of a z/OS® job or started task is to:
- Specify the time that you want the task to be stopped as the DEADLINE TIME for the operation. You specify this under Time Specifications, which you can select from Operation Details (see Specifying times, actions, and alerts for operations).
- Enter text identifying the started-task in the OPERATION TEXT field for the operation. The text could be the command required to stop the task.
- Specify a DEADLINE WTO for the operation. You
specify this on
the JOB, WTO, AND PRINT OPTIONS panel (see Options that apply to all operations).
After the operation is started, it will reach its deadline for completion, and HCL Workload Automation for Z issues message EQQW776I as a WTO (if the workstation is a z/OS® system). In this way, the system operator is automatically informed that the started task should be ended. The message can be intercepted by NetView®, which can then automatically stop the task.
- Add code in NetView® to intercept the EQQW766I message and stop the job or started task. Refer to the member EQQNETW1 sample library for an example in the REXX language.
When the started task has terminated normally, HCL Workload Automation for Z sets the operation to complete.