Using UtilityRunJob Without waiting for its output
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 187
- Joined: Thu Apr 14, 2011 5:10 pm
Using UtilityRunJob Without waiting for its output
I am invoking a Sequencer though a Server job by using the DSUtilityRunJob. But this server job only completes after the Sequencer call is complete , is there a way i can get the server job to complete without waiting for the sequencer to complete?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Yes, but cloning and adapting UtilityRunJob. But I would counsel against this approach - how will you determine the successful completion or otherwise of the asynchronously started jobs?
Out of the box? No.
Out of the box? No.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 187
- Joined: Thu Apr 14, 2011 5:10 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Source code for all the SDK routines is supplied. Make a copy of (= clone) the one in which you're interested (UtilityRunJob) and edit its code so that it returns as soon as the DSRunJob call has been made. Do not have it wait for the job to complete.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 187
- Joined: Thu Apr 14, 2011 5:10 pm