About this task
To add a cross dependency to a local job on
a job that is defined on a remote engine, you must define a normal
dependency for your local job on a shadow job that:
- Points to the remote job on which you want to create the cross
dependency
- Is defined on a local workstation of remote engine type, that
points to the engine where the remote job is defined.
To define the cross dependency, perform the following
steps:
Procedure
- Define a remote engine workstation
On a remote engine workstation you can run only shadow jobs.
As a prerequisite for creating a remote engine workstation, you must
ensure that an HTTP or HTTPS destination to communicate with the remote
engine exists. The name of this destination must be specified in the
remote engine workstation definition.
- From the navigation toolbar, click Administration > Workload Environment Design > Create Workstations.
- Select an engine from the list and click Create Workstations.
- Specify the workstation attributes, selecting Remote
engine as Workstation Type. For more details about the
options to select, see the online help by clicking the question mark
located at the top right corner of the panel.
- Define a shadow job
It runs on the
remote engine workstation and must contain the key values to identify
the remote job.
- Click Administration >Workload Design>Manage Workload Definitions to
define a job of type Shadow Job.
- Select an engine from the list and
click Go. You can select either a distributed engine (to create
a shadow job as an independent object) or on a z/OS engine (to create
a shadow job within an existing job stream.)
- The Workload Designer opens.
In the Working List panel, create the new job.
-
-
- Select either Shadow Distributed or Shadow
z/OS, depending on the type of remote engine on which the remote
job is scheduled to run. For more details about the attributes to
select, see the online help by clicking the question mark located
at the top right corner of the panel.
Shadow jobs can be added to the plan by the plan creation
process or dynamically at run time. The shadow job scheduled time
is used to identify the job instance in the remote engine plan.
- Add the shadow job as a dependency of the local job
The dependency can be internal (distributed only) or external.
In the Details view, right-click the local job and use the
pop-up menu to add the shadow job as a dependency.
Results
As soon as the shadow job status satisfies the dependency
rule, the dependency of the local job on the shadow job is resolved,
and the cross dependency for the local job on the remote job is also
resolved.
For more information
about cross dependencies, see Cross dependencies