Use DDM files with commitment control

DDM files can be opened under commitment control.

However, the following restrictions should be considered when working with these DDM files:

Note: If the communications line fails during a COMMIT operation, the source and target servers will do a ROLLBACK operation. However, the target server might successfully complete the COMMIT operation before the line fails, but the source server will always do a ROLLBACK operation.
Table 1. High-level language commit and rollback commands
Operation ILE RPG programming language ILE COBOL programming language PL/I CL ILE C programming language
Commit changes in transaction COMMIT COMMIT PLICOMMIT COMMIT _Rcommit
Cancel entire transaction ROLBK ROLLBACK PLIROLLBACK ROLLBACK _Rrollback