Including start request delivery in a unit of work
The delivery of a start request to a remote system can be made part of a unit of work by specifying the PROTECT option on the START command.
About this task
The PROTECT option indicates that the remote transaction must not be scheduled until the local one successfully completes a synchronization point (syncpoint). (It can take the syncpoint either by issuing a SYNCPOINT command or by terminating normally.)
Successful completion of the syncpoint guarantees that the start request has been delivered to the remote system. It does not guarantee that the remote transaction has completed, or even that it will be initiated.
If the remote system is IMS™, no message must cross the link between the START command and the syncpoint. Both PROTECT and NOCHECK must be specified for all IMS recoverable transactions.