Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the syntax for creating a table in the db2 database?

1144


What is universal database?

1118


How can you classify the locks in db2?

1130


What are the prerogatives?

1127


What is a dbrm in db2?

1075


How do I change the column size in db2?

1205


What is dpf in db2?

1167


What is cursor with hold option in db2?

1134


What is database alias db2?

1177


What is the difference between cursor stability and repeatable read isolation levels?

1235


can all users have the privilage to use the sql statement select * (dml)?

1220


Which component is responsible for db2 startup and shutdown?

1079


How do you concatenate the firstname and lastname from emp table to give a complete name?

1116


How can you do the explain of a dynamic sql statement?

1106


What is the information associated with sysibm.syslinks table?

1166