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