Previous Topic: #RETURN—returns control to a programNext Topic: @ROLLBACK Syntax


@ROLLBAK—rolls back uncommitted changes made to the database

The @ROLLBAK statement rolls back uncommitted changes made to the database through an individual run unit.

Whether the changes are automatically backed out depends on the execution environment:

If CONTINUE is not specified, the run unit ends and its access to the database is terminated. If CONTINUE is specified, the run unit remains active after the operation is complete.

Currency

Following an @ROLLBAK statement, all currencies are set to null. Unless the CONTINUE parameter is specified, the issuing program cannot perform database access through the run unit without executing another @BIND/@READY sequence.