Page 1 of 1

Multi Instance Job

Posted: Mon Jun 06, 2005 5:51 am
by ewartpm
I have a job that is marked as a muti-instance job (in the job properties). The job executes without any problems. However, when I try to invoke another instance of the job, it does not allow it (job is already running message). In the Director, the run button is greyed out. :x

Do I have to set this option somewhere else?

Posted: Mon Jun 06, 2005 6:04 am
by chulett
Make sure you are filling out the Invocation ID field when running it, otherwise it is just running as a 'normal' job.

Posted: Mon Jun 06, 2005 7:33 am
by Sainath.Srinivasan
A different invocation id than the one that is already running.

Posted: Mon Jun 06, 2005 1:58 pm
by kollurianu
Hi All.


Where do you set the invocation id in the job to run it as multi instance job.

Thank you,

Posted: Mon Jun 06, 2005 2:34 pm
by Sainath.Srinivasan
Under job properties tab. You have the check-box for this purpose.

Posted: Mon Jun 06, 2005 2:35 pm
by mhester
If you have indeed checked the box on the job properties named "Allow Multiple Instance" and have recompiled the job then you should see a drop down with a title called "Invocation Id" on the same tab as the parameters when you run the job. At this point you can assign an invocation id.

Posted: Mon Jun 06, 2005 3:41 pm
by chulett
And just to finish beating this little horsey...

If you are running the job outside of the GUI (via 'dsjob' for instance) supply the Invocation ID as a 'dot seperated' value after the job name. For example, run 'Jobname.ID' rather than 'Jobname'.

Posted: Tue Jun 07, 2005 12:36 am
by ewartpm
Thanks very much for the replies...I'm a bit embarassed :oops: (The option was there all the time. I guess we all need to look a little harder at the screen sometimes...)