Commands That Are Not Specific to UNIX |
Cancels an action.
Category: |
Text editing, command-line command
|
The UNDO
command cancels the most recent action in an active window that allows text
editing.
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]](../../../../common/61991/HTML/default/images/cautend.gif)
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.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.