Journaling and commitment control are the preferred methods for data and transaction recovery on the iSeries™ system. You can use the COMMIT parameter to protect your file with journaling and commitment control.
Database file journaling is started by running the Start Journal Physical File (STRJRNPF) command for the file. Access path journaling is started by running the Start Journal Access Path (STRJRNAP) command for the file or by using System-Managed Access-Path Protection (SMAPP). You tell the system that you want your files to run under commitment control through the Start Commitment Control (STRCMTCTL) command and through high-level language specifications. You can also specify the commitment control (COMMIT) parameter on the Open Database File (OPNDBF) and Open Query File (OPNQRYF) commands.
If you are performing insert, update, or delete operations on a file that is associated with a referential constraint and the delete rule, update rule, or both are other than RESTRICT, you must use journaling.