Page 1 of 1

JobAuditReport..BeforeJob (DSAttachJob): Job control error (

Posted: Tue Jan 20, 2009 8:29 am
by mallireddibalaji
Hi Guru's,


we have the Multiple instance job,
That job getting aborted and giving fatal error as follows:

JobAuditReport..BeforeJob (DSAttachJob): Job control error (-12)
(DSOpenJob) Cannot get shared access to executable file for job XXXX.


what may be the possible reason for this?



Thanks in advance....

Posted: Tue Jan 20, 2009 8:57 am
by chulett
Is your multi-instance job running another job 'before job'? If so, is that other job MI as well? :?

Posted: Tue Jan 20, 2009 9:12 am
by mallireddibalaji
chulett wrote:Is your multi-instance job running another job 'before job'? If so, is that other job MI as well? :? ...

Yes, In my sequence we are calling the MI job 12 times , but flow is sequential (i.e one MI with some invocation id after this job completion , next MI with different invocation id like this we are running 12 times sequentially by passinf different invocation id's)


Thanks In Advance....

Posted: Tue Jan 20, 2009 9:28 am
by Katie09
Though the jobs inside the sequencer are having the sequential flow..
whether there are multiple user trying to run it.

it could happen the job for same instacne ran by diffrent user and it got aborted..

..

Posted: Tue Jan 20, 2009 9:32 am
by Katie09
Though the jobs inside the sequencer are having the sequential flow..
whether there are multiple user trying to run it.

it could happen the job for same instacne ran by diffrent user and it got aborted..

..

Posted: Tue Jan 20, 2009 9:48 am
by chulett
mallireddibalaji wrote:
chulett wrote:Is your multi-instance job running another job 'before job'? If so, is that other job MI as well? :? ...
Yes, In my sequence we are calling the MI job 12 times , but flow is sequential (i.e one MI with some invocation id after this job completion , next MI with different invocation id like this we are running 12 times sequentially by passinf different invocation id's)
That's not what I asked. Your error is coming "before job" and references functions used to run jobs, probably from a custom routine. So let's back up a little and just ask - what exactly is going on in the "before job" section of this multi-instance job? :?

Posted: Tue Jan 20, 2009 3:29 pm
by ray.wurlod
Are you providing an invocation ID in DSAttachJob?

Posted: Tue Jan 20, 2009 10:31 pm
by mallireddibalaji
ray.wurlod wrote:Are you providing an invocation ID in DSAttachJob? ...

Yes, we are providing the invocation ID to the DSAttachJob.

Posted: Tue Jan 20, 2009 11:28 pm
by ray.wurlod
So now answer Craig's question. Ideally post your before-job routine code (encased in Code tags).