Page 1 of 1

Multiple Instances on Server

Posted: Fri Nov 14, 2003 9:33 am
by zam62
I am running jobs by calling them from aC program. I have checked the "Allow Multiple Instances On the Server" to run the job multiple times.

IF I call the job from a C program(or dsjob), how do I specify the InvocationId? I noticed in Director that the job being run is <jobName>.<InvocationId>. Is it as simple as that to specify the job/InvocationId to run by using the format <jobName>.<InvocationId>. ?

Posted: Fri Nov 14, 2003 9:41 am
by chulett
Yes! :)

Re: Multiple Instances on Server

Posted: Fri Nov 14, 2003 10:20 am
by jseclen
Hi Zam

In the jobname you add the '.' and the Identificacion of the instance

> dsjob -run -mode NORMAL -warn 0 -rows 0 MyProject MyJob.Id
(where Id is the variable part)

8)

Posted: Fri Nov 14, 2003 10:56 am
by chulett
So, in other words... Yes! :wink: