What is a two Phase commit in CICS?

Answers were Sorted based on User's Feedback



What is a two Phase commit in CICS?..

Answer / anna

if we have cics/db2 programm we issue two phase commit.

cics issue syncpoint and send request to db2.
db2 prepare to commit send yes to cics.
cics prepare to commit and when cics ready
db2 commit the updates after cics commit is done.

this logic is called two phase commit.

Is This Answer Correct ?    22 Yes 4 No

What is a two Phase commit in CICS?..

Answer / reddy

This will happen when we are using EXEC CICS SYNCPOINT.
IT will commit all the resources(VSAM FILES, QUEUES) and DB2
changes are commited.
NOTE:
if we are not using SYNCPOINT, the DB2 changes are
commited, not VSAM,QUEUES until end of job.

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More CICS Interview Questions

What is a resident program?

2 Answers   IBM,


what is mapfail and when we get this error? during send map or receive map?

3 Answers   HP,


Whenever a cics program goes through a compilation process, there is always some extra code that is added to the program. Where exactly does this new piece of code go to and what is it termed as ?

0 Answers  


If TDQs are selfdestructive then why they are used? AND Why TSQs are preferred over TDQs?

5 Answers   IBM,


What are attribute bytes and how and why are they modified?

1 Answers  






What are all things you can do with CEDA?

2 Answers   IBM,


What is the COMMAREA(communications area)?

2 Answers  


What is a two Phase commit in CICS?

2 Answers   IBM,


The read of a record from an Intrapartition TDQ is not destructive(True or False).

1 Answers  


What is the difference between START and XCTL ?

3 Answers   IBM,


What information do you get when an EXEC CICS STARTCODE is issued?

1 Answers   CTS, IBM,


How do you read from a TSQ?

1 Answers   IBM,


Categories