Previous Page | Next Page

Commands That Are Not Specific to UNIX

UNDO Command



Cancels an action.
Category: Text editing, command-line command

Syntax
Without Arguments
Details
Comparisons

Syntax

UNDO

Without Arguments

The UNDO command cancels the most recent action in an active window that allows text editing.


Details

The UNDO command cancels the most recent action in an active window that allows text editing. The action must be a command that enters or modifies text. If you want to undo more than one action, you must continue to issue the UNDO command. Actions are undone one at a time, starting with the most recent action and moving backward.

Note:   The UNDO command cannot undo the SUBMIT command. It cannot reverse the effects of submitted SAS statements.  [cautionend]


Comparisons

Although you cannot undo the SUBMIT command, you can use the RECALL command to recall submitted statements back to the Program Editor window.

If you use the CC command to copy and paste a block of text, and then you issue the UNDO command, the block of text that you copied and pasted is deleted. If you use the DD command to delete a block of text, and then you issue the UNDO command, the block of text that you deleted is restored.

Previous Page | Next Page | Top of Page