NetBatch Manual

Scheduler Planning, Configuration, and
Management
NetBatch Manual522460-004
3-15
Cold Starting a Scheduler
Cold Starting a Scheduler
Step 1: Log On as a NetBatch Supervisor
You must be a NetBatch supervisor to run NETBATCH and to use the ADD
SCHEDULER and START SCHEDULER commands. Users who are not NetBatch
supervisors cannot perform cold-start tasks.
> LOGON 255,205, password
> PPD $ZBAT
(Process does not exist)
> FILEINFO $NB.ZBAT.*
No files match \MELBDEV.$NB.ZBAT. *
>
Step 2: Run the Scheduler Program
Run the scheduler program NETBATCH, specifying the ! parameter in the RUN
command:
> NETBATCH /NAME $ZBAT, NOWAIT, PRI 120, CPU 1/ $NB.ZBAT !
> PPD $ZBAT
Name Primary Backup Ancestor
$ZBAT 1,49 $Z142
> FILEINFO $NB.ZBAT.*
$NB.ZBAT
Code EOF ... Owner RWEP PExt SExt
BATCHCTL O 847 552 ... 255,255 "OOOO" 2 2
LOGAAA O 847 528 ... 255,205 "NNNC" 50 100
>
Considerations
When you run the scheduler program for a cold start (RUN NETBATCH command
includes ! parameter), the program:
Creates the scheduler’s primary process under super ID (255,255) ownership.
°
The execution priority of the primary process is one less than that of its TACL
creator unless specified otherwise by the PRI run option or the $CMON
process. For information about $CMON processes, see the Guardian
Programmer’s Guide.
°
The CPU of the process is the same as that of its TACL creator unless
specified otherwise by the CPU run option or the $CMON process.
Purges existing scheduler files from the database subvolume specified in the RUN
NETBATCH command. (NETBATCH purges the files only when the command