...
- The
JobChainSplitter
Job is the Splitter JITL Job and uses the Java classcom.sos.jitl.splitter.JobChainSplitterJSAdapterClass
.- There is no restriction on the name which can be given to this Job.
- The
JobChainSplitter
Job is used with the following parameters:state_names
:- A list of semicolon separated Job Node states.
- The Job Node state names correspond to the state names of the first job node of each child Job Chain segment that is to be processed in parallel.
- An individual Order is created for each entry in this list.
- In order to support better graphical output for the JOE graphical diagram the state names are prefixed with the name of the state of the
split
Job, a colon and the name of the job associated with the state.- Example for state of
job3
:split:job3
- Example for
state_names
parameter value:split:job3;split:job4
- Example for state of
- A list of semicolon separated Job Node states.
sync_state_name
:- This parameter is required for the Job Chain Details view in the JOC Cockpit and for the Job Chain Diagram shown in JOE. It accepts the value of the state that is associated with the
join
Job node.
- This parameter is required for the Job Chain Details view in the JOC Cockpit and for the Job Chain Diagram shown in JOE. It accepts the value of the state that is associated with the
- Each child Job Chain segment can have any number of Jobs and can also include further split and join nodes.
(See the How to Nest Parallel Executing Jobs in a Job Chain article for more information.) The implementation of this Job is shown in the following code:
Code Block language xml title The Split Job collapse true <?xml version="1.0" encoding="ISO-8859-1"?> <job title="Start a parallel processing in a job chain" order="yes" stop_on_error="no"> <description > <include file="jobs/JobSchedulerJobChainSplitter.xml"/> </description> <params > <param name="state_names" value="split:job3;split:job4"/> <param name="join_state_name" value="join"/> </params> <script language="java" java_class="com.sos.jitl.splitter.JobChainSplitterJSAdapterClass"/> <run_time /> </job>
...