NetBatch Manual
Commands
NetBatch Manual—522460-004
6-199
! Command
num
is a positive integer identifying a line in the history buffer.
- num
is a negative integer identifying a line in the history buffer relative to the current
line.
text
is a character string identifying the latest line in the history buffer beginning with
the string.
Considerations
•
The ! command is available to all users.
•
If no line in the history buffer matches your specification, this message appears:
0541-I No such line
•
Entering ! with no parameter immediately reexecutes the latest line from the history
buffer (! is the same as ! -1).
•
BATCHCOM stores all commands in its history buffer except CHANGEUSER,
COMMENT, and HISTORY.
Examples
These examples of the ! command relate to these commands in the history buffer:
1} OPEN $SCHD
2} STATUS SCHEDULER
3} SWITCHCPU SCHEDULER
4} OPEN $ZBAT
5} STATUS SCHEDULER
6} SWITCHLOG SCHEDULER
•
To execute the latest line from the buffer:
7} !
7} SWITCHLOG SCHEDULER
Scheduler logfile switched
8}
•
To execute command line 1 from the buffer:
7} ! 1
7} OPEN $SCHD
NETBATCH SERVER - T9190D30 … Time: 06OCT94 12:41:40
8}