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

Progam Commits or Rollbacks when it encounters abend


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
h.dinesh

New User


Joined: 06 Dec 2006
Posts: 46
Location: Chennai

PostPosted: Thu Aug 07, 2008 8:42 pm
Reply with quote

Hi,

Suppose in a program few records have been inserted/updated and commit has not been issued. I would like to know what happens when the program encounters S0C4, S0C7 or other abend. Does a rollback happens or not.

As per my understanding if we don't issue an explicit commit in the program the commit will happen only after successful execution of the program and any abend will make the transactions rolled back as the program is terminated abnormally.

Please confirm if my understanding is correct or not.
Back to top
View user's profile Send private message
rpuhlman

New User


Joined: 11 Jun 2007
Posts: 80
Location: Columbus, Ohio

PostPosted: Thu Aug 07, 2008 9:37 pm
Reply with quote

Hi Dinesh,

Your understanding is correct.

Rick
Back to top
View user's profile Send private message
h.dinesh

New User


Joined: 06 Dec 2006
Posts: 46
Location: Chennai

PostPosted: Fri Aug 08, 2008 2:11 pm
Reply with quote

Thank you Rick
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
Search our Forums:

Back to Top