What is a two Phase commit in CICS?
Answers were Sorted based on User's Feedback
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 |
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 |
What is a resident program?
what is mapfail and when we get this error? during send map or receive map?
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 ?
If TDQs are selfdestructive then why they are used? AND Why TSQs are preferred over TDQs?
What are attribute bytes and how and why are they modified?
What are all things you can do with CEDA?
What is the COMMAREA(communications area)?
What is a two Phase commit in CICS?
The read of a record from an Intrapartition TDQ is not destructive(True or False).
What is the difference between START and XCTL ?
What information do you get when an EXEC CICS STARTCODE is issued?
How do you read from a TSQ?