──┬─ CLASS ─┬─ = ──<integer constant expression>───────────────────────┤ └─ QUEUE ─┘
(CLASS, QUEUE); "="; <integer constant expression> !
Explanation
The CLASS specification assigns the number of the queue desired for the job. (QUEUE is a synonym of CLASS.)
The CLASS, CLASSLIST, and ANYOTHERCLASSOK usercode attributes can be used to define the valid values for the class number.
The queue number specified by the usercode attribute CLASS is implicitly included in the list of queues allowed to be used by the user, regardless of the values of ANYOTHERCLASSOK and CLASSLIST attributes.
CLASSLIST is a list of queues that the user is allowed to use or is restricted from using. The value of ANYOTHERCLASSOK determines whether the list specified the valid queues or the invalid queues. If the attribute CLASS is nonzero, the user can use the specified queue regardless of the values of CLASSLIST and ANYOTHERCLASSOK.
For example, a user with the attributes shown below can specify any job class except 39 or 41, even though 40 appears in the CLASSLIST:
CLASS = 40 ANYOTHERCLASSOK CLASSLIST = 39, 40, 41
For more information on managing WFL jobs in queues, refer to the System Administration Guide.
Examples
The following job extracts include CLASS specifications:
?BEGIN JOB COMP; CLASS = 5;
?BEGIN JOB CLASSVAL(INTEGER CL); CLASS = CL;