Multi Instance Job

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
ewartpm
Participant
Posts: 97
Joined: Wed Jun 25, 2003 2:15 am
Location: South Africa
Contact:

Multi Instance Job

Post 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?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Make sure you are filling out the Invocation ID field when running it, otherwise it is just running as a 'normal' job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

A different invocation id than the one that is already running.
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

Post by kollurianu »

Hi All.


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

Thank you,
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Under job properties tab. You have the check-box for this purpose.
mhester
Participant
Posts: 622
Joined: Tue Mar 04, 2003 5:26 am
Location: Phoenix, AZ
Contact:

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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'.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ewartpm
Participant
Posts: 97
Joined: Wed Jun 25, 2003 2:15 am
Location: South Africa
Contact:

Post 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...)
Post Reply