![]() |
![]() |
Use this command within a macro to undo any processing changes made by commands executed by the server but not yet committed to the database. A committed change is permanent and cannot be rolled back. The ROLLBACK command is useful for testing macros.
Ensure that your administrative client session is not running with the ITEMCOMMIT option when using this command.
Privilege Class
Any administrator can issue this command.
Syntax
>>-ROLLBACK----------------------------------------------------><
Parameters
None.
Examples
Task
Run the REGN macro with the ROLLBACK command to verify that the macro works without committing any changes.
/* Macro to register policy administrators & grant authority */ REGister Admin sara hobby GRant AUTHority sara CLasses=Policy REGister Admin ken plane GRant AUTHority ken CLasses=Policy ROLLBACK /* prevents any changes from being committed */
Related Commands
Table 248. Commands Related to ROLLBACK
Command | Description |
---|---|
COMMIT | Makes changes to the database permanent. |
MACRO | Runs a specified macro file. |