sysLib.rollback

The system function sysLib.rollback reverses updates that were made to databases and MQSeries message queues since the last commit. That reversal occurs in any EGL-generated application.

A rollback occurs automatically when a program ends as a result of an error condition.

Definition considerations

When you use sysLib.rollback with MQ records, the following statements apply:

Target platforms

Platform Compatibility considerations
iSeries, USS, Windows 2000, Windows NT Reverses changes to relational databases and MQSeries message queues, as well as changes made to remote server programs that were called using client-controlled unit of work.

Example

  sysLib.rollback();

Related concepts
Logical unit of work
MQSeries support
SQL support

Related reference
File and database (system words)