You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

hello,
i have call an external process some extracts. and since it is a single thead process it maximises one of the CPUs and only runs one extract at a time.
as i have a multi-cpu machine available i am trying run multiple instances at the same time (not very clear - sorry!).
i have created a job that encapsulates the whole thing of calling the external process and only requires a couple of variables to run properly.
now to orchestrate multiple instances of this process, i have used a import java.util.Queue object as a context variable but it still only gets me ONE instance at a time.
is there any document or discussions on how to run a multiple instances of job?
thanks,
Nicolas
Offline

have you tried calling your job as a sub-job of a master wrapper job? I believe you can get the parallel execution you want using this method.
Offline

thanks John,
at present i have a ParentJob calling a ChildJob
what you seem to suggest is to have a job in the middle?! like:
ParentJob => JobWrapper => ChildJob
is this correct?
if so could you explain how it works?
many thanks,
Nicolas
Offline

I was thinking something along the lines of:
tParallelize -+-> Child job
--> Child job
--> Child job
--> Child job
Offline

tParallelize ?
which version of TOS are you using?
i have 4.0.2 - can not find it.
Offline
Pages: 1