NetBatch Manual
Commands
NetBatch Manual—522460-004
6-81
DELETE CLASS Command
DELETE CLASS Command
Use the DELETE CLASS command to delete classes from 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.
Considerations
•
The DELETE CLASS command is available to NetBatch supervisors only.
•
Before deleting a class, you must dissociate it from all executors to which it
belongs by using the ALTER EXECUTOR command.
•
Deleting a class does not delete the class’s jobs. The jobs are never eligible for
execution unless you do one of:
°
Reassign them to existing classes
°
Add a class with the same name as the deleted class
•
JOBCLASS is an alias of the object keyword CLASS.
•
You can omit the object keyword CLASS from the DELETE CLASS command only
when CLASS is the current assumed object. For more information, see ASSUME
CLASS Command on page 6-70.
Examples
•
This example shows the deletion of a class that does not belong to any executors:
90} DELETE CLASS ACT
Class ACT deleted
The scheduler log file event resulting from the DELETE CLASS command from the
previous example is:
DELETE CLASS ACT U_255,255 H_\MELBDEV.$ZTN0.#PTY4
•
This example shows the message BATCHCOM displays when you try to delete a
class belonging to one or more executors:
10} INFO EXECUTOR *
EXECUTOR ATTRIBUTES for EX0
D[ELETE] [ CLASS ] [ / OU[T] [ file-name ] / ] class-name