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.

  SysLib.rollback( )

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 reference
EGL library SysLib

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.