Considerations for event-triggered tracking
In some cases, a job is submitted from outside HCL Workload Automation for Z by
using event-triggered tracking (ETT). When you set the ETT criteria
for job-name replace tracking to YES, consider that:
- You must add additional JCL to enable data set cleanup. To make
a copy of the SYSOUT, which is then captured by the data store, add
the following to the JESDS statement:
//TIVDSTST OUTPUT CLASS=* //TIVDST00 OUTPUT JESDS=ALL,DEST=OPCA //TIVDSTAL OUTPUT JESDS=ALL //TIVDSTUS OUTPUT DEST=OPCA
The result provides a second output from the job taken from the data store to enable the jobs or steps to be restarted.
- A job added using ETT, with job-name replace option set to YES, might produce a stand-alone cleanup job. In this case, the job-submit exit (EQQUX001) cannot affect the owner ID of the stand-alone cleanup job.
For more information about ETT, see Adding occurrences by event-triggered tracking.