Undoing your changes

You can undo your editing changes back to the last point that the data was committed to the database. This is the most recent of:

  • the last time you exited from the Database Positioning panel,
  • the last time you issued the SAVE command, or
  • the last time a checkpoint was issued.

To undo your changes, enter the UNDO command on the Command line of the IMS Data panel.

You can also discard your changes by using the CANCEL primary command to exit from the Database Positioning panel. At that point, you are asked to confirm that you want to discard your uncommitted data changes.

Note: Using the CANCEL command from the IMS Data panel only discards those changes that have not yet been processed. Changes to data are processed when you press Enter, issue a command or use a function key that issues a command (for example, the F10 key issues the LEFT command). Using CANCEL from the IMS Data panel does NOT discard changes that have been processed. To discard these changes, you must CANCEL from the Database Positioning panel.

Related topics