Hello Everyone,
Good afternoon,
Goal: Invoking a child server job n no of times at the same time in parallel.
Scenario: 8 files should be processed into the same staging table. Using the sequencers the job can be invoked using diff parameters ( say load1.... load 8 ) at the same time, but 8 diff sequence stages used.
Flow
Parameter file no of load=8 --> 8 diff sequence stages --> Invoke the same server job with diff parameter.
Is there a way we can invoke the same job using single sequence stage at the same time.
Parameter file no of load=8 --> single sequence stages --> Invoke the same server job with diff parameter.
Thanks
Triggering the same job n no of times at the same time
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You must compile the job as multi-instance capable (a check box in the job properties page). As you start each instance you give a different invocation ID. This is the approved, and only, mechanism for running clones of the same job at the same time.
As you note, the file name will need to be passed as a parameter, and the job instances must not break any rules, such as all trying to write to the same text file.
As you note, the file name will need to be passed as a parameter, and the job instances must not break any rules, such as all trying to write to the same text file.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: