Defining an internetwork dependency
About this task
The syntax used to specify an internetwork dependency within a job stream definition is the following:
follows Network_agent_name::remote_workstation#jobstreamname(time [date]).jobname
where the (time [date]) are specific to the time zone used on the workstation of the remote network the network agent is connected to; in our sample the time zone of MasterA. If (time [date]) is not specified in this syntax or if there is more than one job stream with the same (time [date]), the first job stream found is taken into account. Assuming that:
- schedA is a job stream defined in the MasterA database.
- jobA is a job defined in the MasterA database.
- schedB is a job stream defined in the MasterB database.
- jobB is a job defined in the MasterB database.
- To define an internetwork dependency of schedB from the job stream instance schedA(1100)
- Use the following statement:
schedule schedB on everyday follows NetAgt::MasterA#schedA(1100) : end
- To define an internetwork dependency of jobB from jobA contained in the job stream instance schedA(1100)
- Use the following statement:
schedule schedB on everyday : jobB follows NetAgt::MasterA#schedA(1100).jobA end