HP 3000 Manuals

DO [ Volume Management ] MPE/iX 5.0 Documentation


Volume Management

DO 

The DO command reexecutes a command from the command history stack.
Refer to the LISTREDO and REDO commands in this chapter.

Task 

Reexecutes a command from the command history stack.

Capability 

No special capability required.

Syntax 

     DO [[CMD=]cmdid]

Parameters 

cmdid                 Identifies a particular command in the command
                      history stack.  It can be one of the following:

                         *   A relative command number (executes the nth
                             number in the stack, starting with the most
                             recent).

                         *   An absolute number (executes number n in the
                             stack).

                         *   A string (executes the most recent command
                             starting with string).

                         *   Omitted (executes last command).

                      Optional. 

Example 

This example shows how to reexecute a command from the command history
stack using the LISTREDO command.  The example on the following pag

   1.  List the commands in the command history stack using the LISTREDO
       command.

   2.  Reexecute command 30.
_______________________________________
|                                     |
|                                     |
|      volutil: LISTREDO              |
|                                     |
|          24) LIST REDO              |
|          25) LISTREDO               |
|          26) REDO 24                |
|          27) LIST REDO              |
|          28) LISTREDO               |
|          29) LIST REDO              |
|          30) HELP                   |
|          31) HELP RECOVER           |
|          32) HELP LISTREDO          |
|          33) LISTREDO               |
|                                     |
|      volutil: DO 30                 |
|                                     |
|                                     |
_______________________________________

            



MPE/iX 5.0 Documentation