Specifying cross dependencies and shadow jobs
About this task
A cross dependency is a dependency of a local job, for example Job_A
from
another job, Job_B
running in a different scheduling environment.
The cross dependency indicates that Job_A
cannot start
until the remote job Job_B
is completed.
- Make sure that a remote engine workstation referring to the remote scheduling environment is defined, as described inSpecifying remote engine workstations.
- Define the shadow job, which runs on the
remote engine workstation, that is used to identify the remote job
Job_B
. For detailed information, see Specifying remote job information in shadow jobs. - Add a dependency for
Job_A
, either internal or external, on the shadow job.
Shadow jobs can be added to the plan by the plan creation process or dynamically at run time. The shadow job input arrival time is used to identify the job instance in the remote engine plan. The matching criteria, regardless whether the remote engine is z/OS® or distributed, is closest preceding.
The resolution of the cross dependency depends on the status of the shadow job, which reflects at any time the status of the remote job instance. For more information about the possible values of the shadow job status, see Monitoring a cross dependency resolution in the current plan.