Rollback (ROLLBACK)

Where allowed to run: All environments (*ALL)
Threadsafe: Yes
Parameters
Examples
Error messages

The Rollback (ROLLBACK) command is used to restart the current transaction and reestablish the last commitment boundary as the current commitment boundary for the commitment definition associated with the program issuing the command.

When the ROLLBACK command is issued:

More information on commitment control is in the "Commitment control" article is in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.

There are no parameters for this command.

Top


 

Parameters

None

Top


 

Examples

 ROLLBACK 

This command reestablishes the last commitment boundary (the point at which a Commit (COMMIT) command or Rollback (ROLLBACK) command was last issued) for the commitment definition associated with the program issuing the command.

Top


 

Error messages

*ESCAPE Messages

CPF83D0

Commitment operation not allowed.

CPF835F

Commit or rollback operation failed.

CPF8350

Commitment definition not found.

CPF8359

Rollback operation failed.

CPF8367

Cannot perform commitment control operation.

*STATUS Messages

CPF83E6

Commitment control operation completed with resynchronization in progress.

Top