CL Command Reference - DLTCLS
CL Command List > DLTCLS Reference
Description:
The Delete Class (DLTCLS) command deletes a class object or a group of class objects from the system. Any routing steps that are running that are using the class are not affected by its deletion. However, additional routing steps using this class cannot be started. If the deleted class is referred to in any existing routing entry, either the routing entry must be changed (to refer to a different class) or another class must be created with the same name. If a subsystem routing entry specifies a deleted class, the subsystem is unable to start any jobs using that routing entry.
Restrictions:
1. To use this command, you must have object existence (*OBJEXIST) authority for the class, and execute (*EXECUTE) authority for the library.
Examples:
DLTCLS CLS(CLASS1)
This command deletes the class named CLASS1 from the system.