NetBatch Manual

Commands
NetBatch Manual522460-004
6-176
STATUS-HISTORY Command
time
specifies the time from which BATCHCOM is to start searching for log-file events.
You can enter the time in any of these forms. (For descriptions of the time forms,
see AFTER Job Attribute on page 7-9.)
[ h] h:[ m] m[:[ s] s]BBC[( AALVS1(A[M],P[M]) )
BBC[( AALVS1(MIDD[AY],NOO[N]) )
MIDN[IGHT]
The start time of the current or most recent run applies if you omit time.
Considerations
The STATUS-HISTORY command is available to all users. However, you must
have read access to a log file for BATCHCOM to display its events.
BATCHCOM terminates a search through a range of log files when it encounters a
file secured against read access. To continue the search, enter a STATUS-
HISTORY command that specifies the next read-accessible log file in the range
you want searched.
Different combinations of NB-LOG, RUN, and AFTER produce different results:
The BEGIN log-file event description contains a job’s run number appended to the
job’s name. For example, run number 399 of job DG2 would appear as:
BEGIN JOB (SUPER.SUPER)DG2:399 …
NB-LOG RUN AFTER Result
No No No Current run if job is executing, over limit, or suspended. If
job is not executing, over limit, or suspended, the most
recent run in current log
No No Yes All runs in current log, starting from run whose BEGIN
event occurs after specified date and time
No Yes No Earliest occurrence of specified run in current log
No Yes Yes Earliest occurrence of specified run in current log, but only
if BEGIN event occurs after specified date and time
Yes No No All runs from beginning of specified log through current log
Yes No Yes All runs from specified log through current log, starting
from run whose BEGIN event occurs after specified date
and time
Yes Yes No Earliest occurrence of specified run in logs from specified
log through current log
Yes Yes Yes Earliest occurrence of specified run in logs from specified
log through current log, starting from run whose BEGIN
event occurs after specified date and time