Previous Topic: New Topic

Next Topic: Retrieve Field Information

Rollback

The *ROLLBACK built-in function allows you to add your own rollback points to a program that is executing under i OS commitment control. Commitment control is a method of grouping database file operations that allows the processing of a database change to be either fully processed (COMMIT) or fully removed (ROLLBACK).

There are no parameters for this function type.

CA 2E implements the *ROLLBACK built-in function as an RPG ROLBK statement and as a COBOL ROLLBACK statement.

For more information on the commit built-in function, see the example with the information on COMMIT in the start of this topic.