Interview Questions   Tutorials   Discussions   Programs   

CICS - What is the meaning of the SYNCPOINT command?




342
views
asked mar August 18, 2014 12:05 PM  

What is the meaning of the SYNCPOINT command?


           

1 Answers



 
answered By Mswami   0  
SYNCPOINT:

Establish a syncpoint.

Syntax:

SYNCPOINT

>>-SYNCPOINT---------------------------------------------------><
Conditions: INVREQ, ROLLEDBACK


Note:
The Recovery Manager processes this command on an open TCB wherever possible to minimize TCB switching. Syncpoint processing can take place on an open TCB for all resource types declared as threadsafe that were accessed in the unit of work. If resource types not declared as threadsafe were accessed in the unit of work, the Recovery Manager switches to the QR TCB for those resource types. A CICS resource type declares itself to the Recovery Manager as threadsafe if the EXEC CICS commands relating to the resource type are threadsafe.

Description:

SYNCPOINT divides a task (usually a long-running one) into smaller units of work. It specifies that all changes to recoverable resources made by the task since its last syncpoint are to be committed.

Note: A failure occurring during the commit phase (phase 2) of syncpoint processing does not return an error condition and the transaction is not abnormally terminated. Subsequent units of work in the transaction are allowed to continue normally.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert