HCL Workload Automation, Version 9.4

Task definition syntax for other z/OS jobs

The following are descriptions of the task definition syntax (command line scriptname) for z/OS jobs that are to be monitored for completion. The completion of these z/OS jobs can be used as follows dependencies for HCL Workload Automation-launched jobs. The jobs to be monitored can be JES or IBM Workload Scheduler for z/OS.

HCL Workload Automation monitors these jobs until their status changes to success.

The details of the outcome of such jobs must be checked in the subsystem where the jobs were launched. HCL Workload Automation only records whether or not these jobs completed successfully. To find the reason for the failed submission or completion of one of these jobs, or to check for dependency failures, work with the host subsystem operator who can obtain this information from the EEWSERVE log.

The basic syntax is:
tws-job follows XAname::"mvs-job"
where:
tws-job
The name of the HCL Workload Automation job that depends on the completion of the specified z/OS job.
XAname
The name of the HCL Workload Automation extended agent workstation associated with the scheduler of the z/OS job, that is, an extended agent defined with the mvsjes or mvsopc method. The two colons (::) are a required delimiter.
mvs-job
The identification of the z/OS job. This string must be enclosed in quotation marks. See the syntax descriptions below.