NetBatch Manual

Commands
NetBatch Manual522460-004
6-40
ADD CLASS Command
ADD CLASS Command
Use the ADD CLASS command to add classes to a scheduler.
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.
class-name
is the name of a class. The name can contain from 1 to 24 letters and numbers. It
also can contain hyphens but must begin with a letter and end with a letter or
number. The name cannot contain spaces.
attribute
specifies this class attribute (see Section 7, Attributes):
INI[TIATION]BBC{( AALVS1(OF[F],ON) )
attribute overrides the INITIATION attribute in the working-attributes set. If you
omit attribute, the class adopts its attribute from the set. Figure 6-2 illustrates
these conditions.
Considerations
The ADD CLASS command is available to NetBatch supervisors only.
After adding a class, you must assign it to at least one executor by using the ADD
EXECUTOR command or ALTER EXECUTOR command. If you do not do this, the
A[DD] [ CLASS ] [ / OU[T] [ file-name ] / ]
class-name [ , attribute ]
Note. To avoid confusion, do not use these keywords and keyword aliases as class
names: ADP, ATTACHMENT-SET, CLASS, EXECUTOR, JOB, JOBCLASS, and
SCHEDULER.
Figure 6-2. Example of Attribute Defaulting-Class
+ =
Class XYZ
INITIATION OFF
Working-attributes set
SET CLASS &
INITIATION ON
ADD CLASS …
ADD CLASS XYZ,
&
INITIATION OFF
Class XYZ added
VST015.vsd