NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-32
CLASS Job Attribute
•
This example shows an executor adopting its CLASS attribute from the DEFAULT-
CLASS scheduler attribute:
56} INFO SCHEDULER, DEFAULT-CLASS
SCHEDULER ATTRIBUTES
default-class: STANDARD
57} SHOW EXECUTOR
EXECUTOR ATTRIBUTES
58} ADD EXECUTOR CPU-0, CPU 0
Executor CPU-0 added
59} INFO EXECUTOR CPU-0
EXECUTOR ATTRIBUTES for CPU-0
cpu: 0
classes: STANDARD
CLASS Job Attribute
The CLASS job attribute specifies the class to which a job belongs. The class links the
job to an executor and hence to the executor’s CPU. This link lets the scheduler start,
in the specified CPU, the job’s executor-program process.
class-name
is the name of a class.
Considerations
•
A job submitted without the CLASS attribute adopts the DEFAULT-CLASS
scheduler attribute. To display the value of this attribute, use the INFO
SCHEDULER command.
•
The scheduler selects jobs from a class in this order:
1. Jobs whose state is RUNNOW. These jobs have the highest priority. They
execute as soon as you enter the RUNNOW JOB command. For more
information, see RUNNOW JOB Command
on page 6-128.
2. Jobs whose state is RUNNEXT. These jobs take priority over all jobs except
those whose state is RUNNOW and execute as soon as there is an available
executor for their class. When more than one job is in the RUNNEXT state,
selection is by SELPRI attribute. If RUNNEXT jobs have the same SELPRI
attribute, selection is by submission time on a first-in, first-out (FIFO) basis. For
more information, see RUNNEXT JOB Command on page 6-125.
3. Jobs whose state is READY. The scheduler selects these jobs by their SELPRI
attribute. Selection of jobs with the same SELPRI attribute and run time is by
submission time on a FIFO basis.
For more information about job selection, see Section 1, NetBatch Introduction.
CL[ASS] class-name