NetBatch Manual
Commands
NetBatch Manual—522460-004
6-175
STATUS-HISTORY Command
STATUS-HISTORY Command
Use the STATUS-HISTORY command to list scheduler log-file events generated by a
job. The command lists events from BEGIN (job initiation) through FINISH (job
completion) for each run of the job.
file-name
specifies a command output file. The file can be a device, a process, or a disk file.
For a disk file, BATCHCOM appends output if the file exists, but creates an EDIT
file if the file does not exist. If you specify / OUT / (that is, omit file-name),
BATCHCOM suppresses output.
job-ID
specifies a job name or number.
log-file
specifies the name of the scheduler log file from which BATCHCOM is to start
searching for log-file events. The file must be a disk log file (BATCHCOM cannot
search non-disk log files). The default is the current log file.
BATCHCOM expands a partially qualified log-file name by using the defaults
specified in the last VOLUME command. If there was no such command, the
defaults current at the start of the session apply.
number
limits the search to log-file events for the specified job run. The default is the
current run for an executing, over-limit, or suspended job and the most recent run
for a job that is not executing, over limit, or suspended.
date
specifies the date from which BATCHCOM is to start searching for log-file events.
You can enter the date in any of these forms. (For descriptions of the date forms,
see AFTER Job Attribute on page 7-9.)
[ yy] yy [ m] m [ d] d mmm [ d] d [ d] d mmm day
[ yy] yy mmm [ d] d mmm [ d] d [ yy] yy [ d] d mmm [ yy] yy
[ yy] yymmdd
[ d] d mmm and mmm [ d] d refer to the current year. If you want to use one of
these date forms and specify time, time must appear before date, not after.
The current date applies if you omit date. (The current date is the system date on
the node where the scheduler is running.)
S[TATUS]-H[ISTORY] [ / OU[T] [ file-name ] / ] job-ID
[ , N[B]-[LOG] log-file ] [ , RUN number ]
[ , AF[TER] [ date ] [ time ] ]