Establishes a syncpoint. SYNCPOINT divides a task into smaller units of work. SYNCPOINT specifies all changes to recoverable resources made by the task are to be committed since its last syncpoint.

Syntax -


Error Conditions -

Below are the list of error conditions may occur in combination. If more than one occurs, only the first is passed to the application program.

Error ConditionRESP2, Description & SolutionSystem Action
200 - SYNCPOINT was in a program from a remote system that has not specified the SYNCONRETURN option or if it has been linked to locally and is defined with EXECUTIONSET=DPLSUBSET.
Solution -SYNCONRETURN should be specified along with SYNCPOINT issuing from remote system. Modify the program to include SYNCONRETURN.Contact System administrator if it has been linked to locally and is defined with EXECUTIONSET=DPLSUBSET to resolve the issue.
Task abnormally terminated
Occurs when a SYNCPOINT command is ambitious into rollback by a remote system that is unable to commit the syncpoint.
Solution -Analise why the SYNCPOINT ROLLBACK issued.
Task abnormally terminated