Hw to get JobHandle for any job other than current job
Moderators: chulett, rschirm, roy
Hw to get JobHandle for any job other than current job
Hw to get JobHandle for any job other than current job.
Sree
JOB HANDLE
DSJ.ME gives me the current job handle but i want the previous job handlekumar_s wrote:Hi,
Can you be bit more specific on what you need.
You can attache the job using job handler though DSAttachJob().
-Kumar
Sree
More than likely, there wouldn't be a 'previous' job handle to connect to. As noted, you should be able to use the other job name in the call to DSAttachJob to establish a new handle to it for your use.
Of course, this all depends on exactly what you are planning on using this for and when/where you do this but that should get you started.
Of course, this all depends on exactly what you are planning on using this for and when/where you do this but that should get you started.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You can establish the name of the job controller (the job sequence that is controlling this one) and attach to that, but why would you want to? Anything you can do with that job handle you could do in the parent job sequence itself.
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.