IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Handle 911 error in cobol-DB2 batch job


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pradeep_123

New User


Joined: 21 Nov 2007
Posts: 9
Location: bhubaneswar

PostPosted: Sat Jan 23, 2010 3:48 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jan 23, 2010 9:56 pm
Reply with quote

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
View user's profile Send private message
ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Mon Jan 25, 2010 4:08 pm
Reply with quote

Find the cause of the error ; if its another batch job try rescheduling the jobs at different times ;
Back to top
View user's profile Send private message
pradeep_123

New User


Joined: 21 Nov 2007
Posts: 9
Location: bhubaneswar

PostPosted: Wed Jan 27, 2010 11:10 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jan 27, 2010 11:42 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Error to read log with rexx CLIST & REXX 11
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Error when install DB2 DB2 2
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top