The following requirements apply to CLIv2 applications that use the 2PC protocol:
The application must establish a 2PC session, initiate requests, and use the coordinator‘s
sync point facilities to commit the updates rather than issue direct commands to the
participant.
Any connection used for 2PC requests must be specified as a 2PC connection.
For example, you can use the CON function’s 2PC option in the DBCAREA or set the 2PC
default in the HSHSPB.
An END TRANSACTION statement must have a corresponding BEGIN TRANSACTION preceding
it. For applications in 2PC mode, both of these commands can be used only in inner
nested transactions.
The application must use CICS/VS or IMS/VS syncpoint processing to commit or abort
the transaction (not END TRANSACTION, ROLLBACK WORK, COMMIT WORK, or ABORT).