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

DB2 error : Abnormal Termination of Cobol+DB2 programs


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

New User


Joined: 19 Jul 2010
Posts: 21
Location: Chennai

PostPosted: Mon Jul 19, 2010 4:53 pm
Reply with quote

HI ,

I am running a COBOL + DB2 Program , and the job abnormally terminates giving me this error " DSNE949E COMMIT PROCESSING ABNORMAL TERMINATION, REASON CODE X'00E70115' "

I have already recompiled the program , and the program only fetches from the table.

Thanks
job1919
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Jul 19, 2010 5:11 pm
Reply with quote

00E70115
Explanation: The unit of work was placed in a state where a rollback operation is required. This can happen when an abend occurs during the execution of a stored procedure, a user defined function (UDF), or a restricted SQL operation was issued from a stored procedure.
Back to top
View user's profile Send private message
job1919

New User


Joined: 19 Jul 2010
Posts: 21
Location: Chennai

PostPosted: Mon Jul 19, 2010 5:37 pm
Reply with quote

If I understand corectly from your response, I will have recheck my query and also rebind it .

thanks CICS Guy.

job1919
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Jul 19, 2010 5:53 pm
Reply with quote

Before rebinding, I'd look into why "The unit of work was placed in a state where a rollback operation is required"...
Back to top
View user's profile Send private message
job1919

New User


Joined: 19 Jul 2010
Posts: 21
Location: Chennai

PostPosted: Tue Jul 20, 2010 12:08 pm
Reply with quote

hmmm..

even I am wondering why a rollback was performed when I am only fetching .

Thanks
Job1919
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jul 20, 2010 1:27 pm
Reply with quote

how many rows are fetched?

is the a Stored Procedure or just a cobol program?

what is the cursor declaration?
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