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.
When you use SysLib.rollback with MQ records, the following statements apply:
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. |
SysLib.rollback();
Related concepts
Syntax diagram for EGL functions
Logical unit of work
MQSeries support
SQL support
Related reference
EGL library SysLib