NetBatch Manual

Scheduler Planning, Configuration, and
Management
NetBatch Manual—522460-004
3-39
Dealing With Scheduler Log Files
Creating and Opening a Scheduler Log File
The scheduler opens its log file when you run the NETBATCH program during
scheduler startup. For more information, see Warm Starting a Scheduler on page 3-18.
Sizing a Scheduler Log File
A scheduler-created disk log file adopts these attributes of the previous log if that log
was a disk file: primary and secondary extent sizes, maximum extents, buffer size,
expiration time, RWEP security, owner, and volume and subvolume.
The default extent size of a scheduler-created disk log file is 50 primary extents and
100 secondary extents. The default maximum extents the file can have is 100. (A file of
this size can record up to 154,375 scheduler events.) To change the size of a disk log
file, use the FUP ALTER command. For information on this command, see the File
Utility Program (FUP) Reference Manual.
When a disk log file is full, the scheduler automatically closes it and creates and opens
a default log file in the same subvolume.
Switching a Scheduler Log File
NetBatch supervisors can close a running scheduler’s log file and open another by
using the SWITCHLOG SCHEDULER command. You can specify the file you want
created and opened, or let the scheduler create and open a default file:
1} STATUS SCHEDULER .
Logfile : \MELBDEV.$NB.ZBAT.LOGAAB .
2} SWITCHLOG SCHEDULER
Scheduler logfile switched
3} STATUS SCHEDULER .
Logfile : \MELBDEV.$NB.ZBAT.LOGAAC .
This SWITCHLOG SCHEDULER command opens a specified log file:
4} STATUS SCHEDULER .
Logfile : \MELBDEV.$NB.ZBAT.LOGAAC .
5} SWITCHLOG SCHEDULER $ZTN0.#PTY6
Scheduler logfile switched
6} STATUS SCHEDULER .
Logfile : \MELBDEV.$ZTN0.#PTY6 .
You cannot specify a DEFINE in the SWITCHLOG SCHEDULER command.
Listing the Contents of a Scheduler Log File
You can list the contents of an open or closed scheduler log file by using the FUP
COPY command. For example, this command lists the contents of an open log file and
wraps lines that are too long to the next line:
> FUP COPY LOGAFO,,SHARE,FOLD