Running the same job multiple times

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
cparru
Participant
Posts: 24
Joined: Wed Mar 07, 2007 11:22 am

Running the same job multiple times

Post by cparru »

I have a sequence that has several number of job activities in it. All these call the same job which was set to run multiple times(check Multiple instance). The invocation id was specified on all the job activities was different. But the sequence was not running parallel, moreover it is failing with the below error -

Exception raised: Error calling DSRunJob(job_name), code=-2 [Job is not in the right state (compiled and not running)]

was there any parameter setting required???
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Check if the same invocation ID is been passed twice. Parallel execution of the jobs are based on the Design of the Job sequence. If you call all the jobs at the same time in parallel, it would run parallely.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
vgupta88
Participant
Posts: 32
Joined: Thu Aug 01, 2013 12:26 am
Location: Mumbai

Post by vgupta88 »

I am also facing the same issue. Job Invocation ID's are passed different. Any thoughts?

Thanks!
Vaibhav
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Rather than jump on an eight year old post, best to start a new one and give us the details of your version of the problem. Thanks.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply