Multiinstance subbatch calling multiinstance job
Posted: Wed Aug 19, 2009 4:18 pm
Hi
I am trying to call a multi instance job with the same invocation Id used to run the calling multi instance sub - batch job.
while calling the job from sub batch I tried to use the code
But this runs the job with invocation id 'DSJobInvocationId' rather than using the actual value of DSJobInvocationId.
Is there some way I can achieve this
example : sub-batch ran with invocation id ABC,I want the job also be run with the invocation id ABC.
Thanks
I am trying to call a multi instance job with the same invocation Id used to run the calling multi instance sub - batch job.
while calling the job from sub batch I tried to use the code
Code: Select all
hJob10 = DSAttachJob("EOA1010LdIncidentTable.DSJobInvocationId", DSJ.ERRFATAL)
If NOT(hJob10) Then
Call DSLogFatal("Job Attach Failed: EOA1010LdIncidentTable.DSJobInvocationId", "JobControl")
Is there some way I can achieve this
example : sub-batch ran with invocation id ABC,I want the job also be run with the invocation id ABC.
Thanks