
354 Chapter 5
Command Definitions L-O
LISTREDO
UNN Suppresses numbering of the commands during display.
outfile Sends the listing to a disk file named outfile instead of to the default,
$STDLIST. New disk files are created TEMP. File equations are ignored,
unless outfile is preceded by an asterisk (*). You must use a file equation to
overwrite a permanent file.
Operation Notes
The LISTREDO command displays the contents of the REDO command line stack. By
default, the display order is from the earliest command to the most recent command.
Before any command line is displayed, anything resembling a lockword is blanked out.
However, any lockwords remain active and available for editing through the DO and REDO
commands.
Use
This command is available in a session, job, or in BREAK. It is not available from a
program. Pressing
Break aborts the execution of this command.
Examples
If three commands are written to the REDO stack and the third command is LISTREDO, the
display appears as:
1) COMMANDONE
2) COMMANDTWO
3) LISTREDO
If the third command were LISTREDO ;REL, the display appears as:
-3) COMMANDONE
-2) COMMANDTWO
-1) LISTREDO ;REL
To create a permanent disk file called CMDFILE containing the output from LISTREDO,
enter:
BUILD CMDFILE;REC=-80,,,ASCII;DISC=9
FILE LIST=CMDFILE,OLD
LISTREDO -10,-2;OUT=*LIST;UNN
CMDFILE contains a listing of nine command lines, but without the command number; -10
is 9 lines distant from the most recent command; -2 is one line distant from the most
recent command. The most recent command is not listed.
Related Information
Commands DO, REDO
Manuals Using the HP 3000 Series 900: Advanced Skills (31126A Opt. 002)