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: 6965
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 All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Big Five Personality Test in COBOL - ... COBOL Programming 0
No new posts I wrote a Hallmark Movie Plot Generat... COBOL Programming 0
No new posts COBOL Text Adventure Engine for TK4- ... COBOL Programming 0
No new posts Cobcalc: An Algebraic Expression Eval... COBOL Programming 10
Search our Forums:


Back to Top