The SETS or SETU and ROLS functions

The SETS or SETU and ROLS requests allow an application to define multiple points at which to preserve the state of full-function databases.

The application can then return to these points at a later time. By issuing a SETS or SETU request before initiating a set of DL/I requests to perform a function, the program can later issue the ROLS request if it cannot complete the function due possibly to data unavailability.

ROLS allows the program to roll back its IMS activity to the state prior to the SETS or SETU call.

Restriction: SETS or SETU and ROLS only roll back the IMS updates. They do not roll back the updates made using CICS® file control or transient data.

Additionally, you can use the ROLS call or command to undo all database update activity since the last checkpoint.