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 difference between db2 and oracle?

1089


Explain in brief how does db2 determine what lock-size to use?

998


What is blu acceleration in db2?

1037


What are the uses of db2 optimizer?

1259


Can you use max on a char column?

1056


Can there be more than one cursor open for any program?

1145


How will you return the number of records in table?

905


How can you classify the locks in db2?

1058


How do you simulate the explain of an embedded sql statement in spufi/qmf?

1057


What is buffer pool in the db2 database?

1070


Why db2 is called db2?

990


What is consistency token in db2?

1103


What is netezza database?

980


Can we insert update delete in view?

931


How does db2 sample database connect?

989