Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Handle 911 error in cobol-DB2 batch job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Handle 911 error in cobol-DB2 batch job
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

Site Director


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

PostPosted: Sat Jan 23, 2010 9:56 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: Handle 911 error in cobol-DB2 batch job
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

Site Director


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

PostPosted: Wed Jan 27, 2010 11:42 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us