Creating a class object

 

You can create a class object by using the character-based interface. 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. Command: Create Class (CRTCLS)

Example: This example 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.
CRTCLS   CLS(CLASS1)  RUNPTY(60)  TIMESLICE(900)
         TEXT('This class for all batch jobs from Dept 4836')

 

Parent topic:

Managing job class objects

Related concepts
Class object