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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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