1) I have 3 programs : PGMA, PGMB, PGMC. PGMA calls PGMB
and PGMB calls PGMC. I have to do inserts, updates in all
the 3 pgms.
2) Say PGMC has done its work successfully and returned to
PGMB
3) PGMB had an SQL error while doing some update
4) PGMA has already done some updates before calling PGMB
all are running under the same CICS region.
What will happen if I issue SYNCPOINT ROLLBACK in PGMB when
it abends ? Does all the changes in PGMA,B,C rollback ?
(because all the pgms belong to same task).
Answer Posted / akbar.
SYNCPOINT ROLLBACK will rollback to the last COMMIT point
that has been made after any update in the same task.
Having said that, if PGMA and/or PGMC, in this case have
updated the database, has/have used COMMIT after their
respective updates, then ROLLBACK of PGMB after abend would
return to the very recent COMMIT made by either of the two
programs PGMA or PGMC.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is null value in db2?
What is blu acceleration in db2?
What do you mean by cursor?
What is the use of with ur in db2?
How to find the number of rows in db2 tables?
Is db2 a mainframe database?
What is a plan and package in db2?
Explain about rct in db2?
What is a buffer in memory?
What is dbrm library?
Highlight all the advantages that are attached to a package.
What is runstats db2?
What is a Foreign Key?
What is the use of commit in db2?
What is the use of reorg in db2?