MPE/iX Commands Reference Manual (32650-90877)
298 Chapter8
Command List VI
Commands LISTFILE thru =LOGON
If
m
and
n
are negative values, they refer to relative command numbers (relative to the
most recent command, which is -1). If
m
and
n
are positive, they refer to absolute command
numbers (the order in which they were entered). To display a single line,
m
must equal
n
.
REL Displays the commands in their relative sequence (from
-m
to -1), where -1
denotes the most recent command in the stack.
ABS Displays the commands in their absolute order (the order in which they
were entered). ABS is the default.
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:
mn
Lists commands
m
through
n
.
m
(omitted) Displays commands
m
through the last command in the stack.
(omitted)
n
Displays the stack from the first command through command
n
.
Table 8-3. History Stack Ranges
Start End Effect