CLS parameter

The class (CLS) parameter identifies the attributes that define the run time environment of a job. The following attributes are defined in each class:

The system is shipped with a set of classes that define the attributes for several job processing environments. Other classes can be created by the Create Class (CRTCLS) command; any class can be displayed or deleted by the respective Display Class (DSPCLS) and Delete Class (DLTCLS) commands.

Values allowed

qualified-class-name: Specify the name of the class, optionally qualified by the name of the library in which the class is stored. If the class name is not qualified and the CLS parameter is in the CRTCLS command, the class object is stored in *CURLIB; otherwise, the library list (*LIBL) is used to find the class name.

The following classes (by name) are supplied with the system:

QGPL/QBATCH
For use by batch jobs

QSYS/QCTL
For use by the controlling subsystem

QGPL/QINTER
For use by interactive jobs

QGPL/QPGMR
For use by the programming subsystem

QGPL/QSPL
For use by the spooling subsystem printer writer

QGPL/QSPL2
For general spooling use in the base system pool