DSM/Tape Catalog Operator Interface (MEDIACOM) Manual
MEDIACOM Commands
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual—429828-010
2-101
HISTORY Command
The HISTORY command adds line numbers to the commands it displays.
HISTORY
entered by itself, displays the ten most recent lines in the history buffer.
lines
specifies how many of the most recently entered commands to display.
RESET LAST
clears the most recently entered command in the history buffer and changes the
current command line number to the number of the cleared command. The
HISTORY RESET LAST command is also cleared from the history buffer.
RESET ALL
clears all commands in the history buffer, including the HISTORY RESET ALL
command, and resets the command line number to 1.
Examples
To display the last four commands entered during the current session (the
HISTORY command itself, assumed to be the ninth command in this session, is
not included in the display):
MC> HISTORY 4
5>INFO FILECAT *
6>ENV
7>INFO MEDIADEFS
8>HELP TAPEVOLUME
Assume the history buffer contains:
1>INFO FILECAT *
2>ENV
3>HELP ALTER
4>INFO VOLCAT
These two commands are entered as the fifth and sixth commands:
MC> HISTORY RESET LAST
MC> INFO MEDIADEFS
HISTORY [ lines ]
[ RESET LAST ]
[ RESET ALL ]