View previous topic :: View next topic
|
Author |
Message |
pradeep_123
New User
Joined: 21 Nov 2007 Posts: 9 Location: bhubaneswar
|
|
|
|
hi,
Sometime my batch job fails due to -911 error. Can any one please tell me how can i handle this error so that job should run again after finding this error instead of failing?
Thanks,
Pradeep |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Rather, you need to detemine if you have a timeout or a deadlock and address the real problem. . .
If it is a deadlock it is due to poorly designed code. If it is a timeout, determine why somethng is holding the resource too long (again, often poorly designed code). |
|
Back to top |
|
|
ashimer
Active Member
Joined: 13 Feb 2004 Posts: 551 Location: Bangalore
|
|
|
|
Find the cause of the error ; if its another batch job try rescheduling the jobs at different times ; |
|
Back to top |
|
|
pradeep_123
New User
Joined: 21 Nov 2007 Posts: 9 Location: bhubaneswar
|
|
|
|
hi,
Thanks for your response.
This job will transfer more than 100K records between two table.
Do you think that it is design of code problem.
please help.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You need to review how the data is transferred. . . It may or may not be poorly designed/coded. . .
How many rows are locked and for how long? How long does this process run? Is data being locked when it does not need to be?
Is this (the 100k transfer job) the job that has the -911 or does some other process have the -911 because this job is running? |
|
Back to top |
|
|
|