ILE RPG Programmer's Guide
Commitment control is intended for full procedural files, where
the input and output is under your control. Do not use commitment
control with primary and secondary files, where input and output is
under the control of the RPG program cycle. The following are some
of the reasons for this recommendation:
- You cannot issue a COMMIT operation for the last total output
in your program.
- It is difficult to program within the cycle for recovery from
a locked-record condition.
- Level indicators are not reset by the ROLBK operation.
- After a ROLBK operation, processing matching records may produce
a sequence error.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]