What is the underlying difference between the two kind of jobs and what feature when added to the jobs makes it capable of running in different instances.
Thank you.
Normal Jobs Vs Multi Instance Jobs
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 730
- Joined: Tue Nov 04, 2008 10:14 am
- Location: Bangalore
-
- Participant
- Posts: 4
- Joined: Fri Jan 15, 2010 10:04 pm
Hi,
For Normal jobs, only one instance can be running at a given point of time. And if this job aborts, then either you have to reset or re-compile the job for executing again.
Generally a job which will be used in various other jobs will be made multi-instance. So that all the jobs which are using this common job can invoke at the same time. And when you make it multi-instance, you distinguish the caller of the common job for verifying logs in director based on Invocation ID. Invocation id has to be different when calling the common job from other jobs.
Now suppose, a particular instance of the common job got aborted then you need not recompile the original common job. You can reset that particular instance and then run again. Only logic changes in the common job require re-compiling.
To make a job multi-instance, go to Job Properties page and select the option 'Allow multiple instance' under general tab.
For Normal jobs, only one instance can be running at a given point of time. And if this job aborts, then either you have to reset or re-compile the job for executing again.
Generally a job which will be used in various other jobs will be made multi-instance. So that all the jobs which are using this common job can invoke at the same time. And when you make it multi-instance, you distinguish the caller of the common job for verifying logs in director based on Invocation ID. Invocation id has to be different when calling the common job from other jobs.
Now suppose, a particular instance of the common job got aborted then you need not recompile the original common job. You can reset that particular instance and then run again. Only logic changes in the common job require re-compiling.
To make a job multi-instance, go to Job Properties page and select the option 'Allow multiple instance' under general tab.
-
- Premium Member
- Posts: 730
- Joined: Tue Nov 04, 2008 10:14 am
- Location: Bangalore
Thanks for that..... But i am aware of this stuff....
I was asking about the underlying reason and not the explanation of what multi instance jobs are.
Why normal jobs run only in a single instance and muti instance jobs can be invoked simultaniously, is there any architectural difference between the two kinds of jobs.
I was asking about the underlying reason and not the explanation of what multi instance jobs are.
Why normal jobs run only in a single instance and muti instance jobs can be invoked simultaniously, is there any architectural difference between the two kinds of jobs.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Enabling multi-instance makes a difference in how the job is compiled, which allows DataStage to invoke the runtime engine with a job name including a dot. (Even when you start a multi-instance job with no invocation ID the dot is still there.) It remains true that a job with an identical name to an already-running job can not be started. This is managed in the runtime engine.
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.