Standalone Logtool for MPE/iX

Optional Parameters:
FILES= <file_list> - The FILES keyword is used to specify the names
of the work files to purge.
Example: FILE=stuff,junk,foo
VERIFY|NOVERIFY - The VERIFY option is default for this command.
It causes the user to be prompted before each
work file is deleted. If NOVERIFY is selected,
the specified work files will be purged without query.
Limitations:
Example:
LOGTOOL>purgework file=subset1,subset2,junkfile,logtool
Purge SUBSET1.DIAG.SYS (Y/N) [N] ? Y
...Deleted SUBSET1.DIAG.SYS
SUBSET2.DIAG.SYS does not exist
Purge JUNKFILE.DIAG.SYS (Y/N) [N] ? N
...Kept
LOGTOOL.DIAG.SYS is not a work file - skipped
LOGTOOL>
REDO
The REDO command allows you to edit any of the last 4 lines of input entered to LOGTOOL. If redo is given with no
parameters, the last command given can be edited. If the "?" is given, a list of the last 4 commands given will be
displayed. The user can also give a redo index number or an offset number to indicate which command on the redo
stack is to be modified.
Syntax:
REDO [? | <index> | <offset>]
Parameters:
? - Will display redo stack to user.
<index> - A positive number of the command to be modified.
<offset> - A negative number indicating the offset from
the last command given. "redo -1" is equivalent to "redo."
The valid edit characters are:
i INSERT: Text following this character is inserted at the location just prior to the location of the "I"
r REPLACE: Text following this character overlays existing text starting at the location of the "R"
d DELETE: Each "D" will cause the corresponding character to be deleted.
d> DELETE. Deletes to the end of the current line from the position specified by d>. It It may be followed by an
INSERT or REPLACE operation.
> APPEND >: Followed by text, appends the text to the end of the current line. If > is positioned beyond the end
of the current line, then a replacement is performed instead.
>d DELETE: Deletes from the end of the current line, right-to-left. Multiple d's may be specified after >, as well
as INSERT and REPLACE strings.
>r REPLACE: Replaces characters at the end of the command line. The replacement is done so that the last
(rightmost) character of the re- placement string is at the end of the line.