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 |
Explain the difference among the EXEC LINK, EXEC XCTL and Cobol II static call statements in CICS.
How To Set MDT(Modified Data Tag) Thru Application Program? (Dynamically)?
Can you issue SQL COMMIT from a CICS program?
Define task work area?
Mention the 5 fields available in the symbolic map for every ?NAMED? field in the DFHMDI macro? Give a brief description of these fields (Not exceeding a line).
Can a program change protected field ?
What is trigger level in the context of TDQs?
How can you start a CICS transaction other than by keying the Transaction ID at the terminal?
How can the fact that EIBCALEN is equal to zeros be of use to an application programmer?
Sync points cannot be requested by the application programs (True or False).
Kindly specify the pic clause for the data type of length option field type of data fields?
Can you use OCCURS in a BMS map? If you do, what are the issues related with its use?