CL Command Reference - CHGCLS

CL Command List > CHGCLS Reference

Description:

The Change Class (CHGCLS) command changes the attributes of a class object that was created using the Create Class (CRTCLS) command. 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.

Any attribute can be changed, except for the public authority attribute. Refer to the Revoke Object Authority (RVKOBJAUT) command and the Grant Object Authority (GRTOBJAUT) command for more information on changing object authorizations.

Restrictions
1. To use this command, you must have:
. object management (*OBJMGT) and object operational (*OBJOPR) authorities for the class.
. execute (*EXECUTE) authority for the library in which the class resides.



Examples:

CHGCLS CLS(CLASS1) RUNPTY(60) TIMESLICE(900)

This command changes a class called CLASS1 in the library on the jobĄ¯s library list. The run priority for the class is changed to 60 and a time slice of 900 milliseconds.