NetBatch Manual
Commands
NetBatch Manual—522460-004
6-201
? Command
•
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:
3} STATUS SCHEDULER
4} ASSUME JOB
5} SUBMIT TRIAL-BAL, IN TB, OUT $S, WAITON (MISC-DR, MISC-CR)
6} SUBMIT MISC-DR, IN MSCDR, OUT $S, WAITON MISC-CR
7} SUBMIT MISC-CR, IN MSCCR, OUT $S, HOLD ON
8} ALTER SCHEDULER, DEFAULT-OUT $S.#ACCNTS
9} ALTER MISC-CR, HOLD OFF
•
To display the latest line from the buffer:
10} ?
10} ALTER MISC-CR, HOLD OFF
10}
•
To display command line 5 from the buffer:
10} ? 5
10} SUBMIT TRIAL-BAL, IN TB, OUT $S, WAITON (MISC-DR, MISC
-CR)
10}
•
To display the second command line preceding the current command line:
10} ? -2
10} ALTER SCHEDULER, DEFAULT-OUT $S.#ACCNTS
10}
•
To display the latest command line that begins with ST:
10} ? ST
10} STATUS SCHEDULER
10}
SCHEDULER STATUS
Process : \MELBQAT.$SCHD Primary : 0,97 Backup : 1,101
Database: $DATA7.SCHD
Logfile : $DATA7.SCHD.LOGAAC
Time : 25MAR93 09:47:18 .
.
11}
This example also shows the effect (command reexecution) of pressing RETURN
after BATCHCOM displays the command.