Page 1 of 1

Allow multiple instance impact on job

Posted: Wed Apr 29, 2009 5:38 am
by kaushal.kumar@igate.com
hai in data stage we have option like "Allow multiple instance".If i will click on this button and subsequently suppose if we try to run a job which is in running stage ,and if we have a file as a intermediate stage in job.how it will make impact on the job.

please let me know about the impacts on job in this situation.


Thanks

Posted: Wed Apr 29, 2009 5:41 am
by chulett
The Director online help has good information on Multi-Instance options. Biggest thing is the job needs to be designed with MI support in mind, particularly how resources are shared (or not).

Posted: Wed Apr 29, 2009 4:53 pm
by ray.wurlod
Does "hai" at the beginning of your question mean that you understand?

The operating system only allows one writer at a time to a file. Given that fact, you can figure out the answer to your question.

Posted: Wed Apr 29, 2009 8:53 pm
by kaushal.kumar@igate.com
chulett wrote:The Director online help has good information on Multi-Instance options. Biggest thing is the job needs to be designed with MI support in mind, particularly how resources are shared (or ...
If intermediate stage has a sequential file(buffer),i/p and o/p is OLDEB stage,and we are trying to run the job whose status is running.In this case what will be the impact.

Posted: Wed Apr 29, 2009 10:02 pm
by chulett
Failure. You can't run a job whose status is 'Running'.

Posted: Thu Apr 30, 2009 2:42 pm
by sun rays
ray.wurlod wrote:Does "hai" at the beginning of your question mean that you understand?

The operating system only allows one writer at a time to a file. Given that fact, you can figure out the answer to your question.
Use "DSJobInvocationId" as part of the file name, that way your job can run in multiple instances simultaneously.