NetBatch Manual

Attributes
NetBatch Manual522460-004
7-36
DEFAULT-CLASS Scheduler Attribute
10} INFO EXECUTOR DEV-1, CPU
2087-E EXECUTOR DEV-1 does not exist
11} ADD EXECUTOR DEV-1, CLASS *, CPU 4
2074-E CPU must be 0 to 3
12} ADD EXECUTOR DEV-1, CLASS *, CPU 3
Executor DEV-1 added
13} OPEN \MELBQAT.$ZBAT
NETBATCH SERVER - T9190C23 …
14} INFO EXECUTOR QAT-5, CPU
EXECUTOR ATTRIBUTES for QAT-5
cpu: 5
15} ALTER EXECUTOR QAT-5, CPU 8
2074-E CPU must be 0 to 7
16} ALTER EXECUTOR QAT-5, CPU 7
Executor QAT-5 altered
DEFAULT-CLASS Scheduler Attribute
The DEFAULT-CLASS scheduler attribute specifies the class of a job submitted without
the CLASS job attribute. It also specifies the class of an executor added without the
CLASS executor attribute. For more information, see CLASS Job Attribute on
page 7-32 and CLASS Executor Attribute on page 7-30.
class-name
is the name of a class.
Considerations
A scheduler adopts the attribute DEFAULT-CLASS DEFAULT by default
when cold
started.
The class specified by the DEFAULT-CLASS attribute is unavailable for use
by jobs
or assignment to executors until added to the scheduler. To add the class
to the scheduler, use the ADD CLASS command.
Examples
This example shows a cold start of a scheduler. The schedulers DEFAULT-CLASS
attribute after startup specifies the nonexistent class DEFAULT. The example
shows the ADD CLASS command adding this class to the scheduler.
> LOGON SUPER.FPP, psswrd
> NETBATCH / NAME $ZBAT, NOWAIT / $DATA7.ZBAT !
> BATCHCOM $ZBAT; ADD SCHEDULER
Scheduler added
D[EFAULT]-C[LASS] class-name
Note. This consideration applies in particular to class DEFAULT, which is the default class
name after a scheduler cold start.