Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Progam Commits or Rollbacks when it encounters abend

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions
Author Message
h.dinesh

New User


Joined: 06 Dec 2006
Posts: 48
Location: Chennai

PostPosted: Thu Aug 07, 2008 8:42 pm    Post subject: Progam Commits or Rollbacks when it encounters abend
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
References
rpuhlman

Active User


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

PostPosted: Thu Aug 07, 2008 9:37 pm    Post subject:
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: 48
Location: Chennai

PostPosted: Fri Aug 08, 2008 2:11 pm    Post subject: Reply to: Progam Commits or Rollbacks when it encounters abe
Reply with quote

Thank you Rick
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions All times are GMT + 6 Hours
Page 1 of 1