CL Command Reference - CRTCLS

CL Command List > CRTCLS Reference

Description:

The Create Class command creates a class object and specifies the attributes to be contained in the class. The class defines the processing attributes for jobs that use the class. The class used by a job is specified in the subsystem description routing entry used to start the job. If a job consists of multiple routing steps, the class used by each subsequent routing step is specified in the routing entry used to start the routing step.


Examples:

CRTCLS CLS(CLASS1) RUNPTY(60) TIMESLICE(900)
TEXT(¡¯This class for all batch jobs from Dept 4836¡¯)

This command creates a class called CLASS1. The class is stored in the current library specified for the job. The user text ¡¯This class for all batch jobs from Dept 4836¡¯ describes the class. The attributes of this class provide a run priority of 60 and a time slice of 900 milliseconds. If the job has not finished running at the end of a time slice, it is eligible to be moved out of main storage until it is allocated another time slice. The defaults for the other parameters are assumed.