Hi All
I am running a job sequence in two different environments (Integration and Production).
In integration its runing fine, but in production its failing with error code=-1
"Controller problem: Error calling DSWaitForJob(), code=-1
[Invalid JobHandle]"
What this error code=-1 represents?
Could any one of you let me know how to solve this issue?
Thanks
Controller Problem
Moderators: chulett, rschirm, roy
Controller Problem
Pradeep Kumar
As noted in the message, that "-1" means "Invalid JobHandle". Odd that it happens in the WaitForJob part of the process, that should mean it was able to start the job using the handle it established.
Did you try search for "Invalid JobHandle"? People have reported the problem here in the past and solutions were posted, see if any of them resolve your problem.
Did you try search for "Invalid JobHandle"? People have reported the problem here in the past and solutions were posted, see if any of them resolve your problem.
-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:
Are you using your own ("hand written") job control code?
Look for code like the following:(These may not be adjacent lines in your node.) Note that the variable used in DSWaitForJob() is not the same name as that used in DSAttachJob() and DSRunJob().
Look for code like the following:
Code: Select all
hJob1 = DSAttachJob(JobName, DSJ.ERRNONE)
ErrCode = DSRunJob(hJob1, DSJ.RUNNORMAL)
ErrCode = DSWaitForJob(hJob)
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.