Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts CA Intertest Batch 555shanth CA Products 0 Tue Nov 28, 2017 11:10 am
No new posts How to query MAXGENS of an existing P... Chuchulo Hatyzak JCL & VSAM 4 Wed Nov 22, 2017 10:23 pm
This topic is locked: you cannot edit posts or make replies. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us