Command reference / job
CRTJOBQ
Create Job Queue
Creates a new job queue, which holds entries for jobs waiting to be processed. Jobs are placed on it by STRDBRDR, STRDKTRDR, STRPRTWTR, STRDKTWTR, SBMJOB, SBMDBJOB, SBMDKTJOB, and TFRJOB. After creating the queue, add an entry for it in the subsystem description with ADDJOBQE.
Allowed environments: *ALL.
Positional parameters: 2.
Parameters
JOBQ
Job queue
Specifies the job queue being created. This is a required parameter. The library qualifier defaults to *CURLIB.
*CURLIB- The job's current library is used; if none is set, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Job queue
Job queue
Library
Library
Suggested / special values:
*CURLIB
OPRCTL
Operator controlled
Specifies whether a user with job control authority is allowed to control this job queue.
Allowed values:
*YES, *NO
*YES- A user with job control authority can control the queue.
*NO- Only users with some other special authority can control the queue.
TEXT
Text 'description'
Specifies the text that briefly describes the object. No more than 50 characters.
Suggested / special values:
*BLANK
*BLANK- No text is specified.
AUTCHK
Authority to check
Specifies which authorities let a user control the job queue by holding or releasing it.
Allowed values:
*OWNER, *DTAAUT
*OWNER- Requires ownership authority, through owning the queue, sharing a group profile with the owner, or adopting the owner's authority.
*DTAAUT- Any user with add, read, and delete authority to the queue can control it.
AUT
Authority
Specifies the authority given to users who have no specific authority, are not on an authorization list, and whose group profiles have no specific authority.
Suggested / special values:
*USE, *ALL, *CHANGE, *EXCLUDE, *LIBCRTAUT
*USE- Basic operations, such as submitting jobs to the queue.
*CHANGE- Controls jobs submitted by other users when AUTCHK(*DTAAUT) is specified.
*ALL- All operations except those limited to the owner or AUTLMGT authority, including changing ownership.
*EXCLUDE- The user cannot access the object.
*LIBCRTAUT- Uses the CRTAUT value of the library in which the queue is created.
Examples
CRTJOBQ JOBQ(DEPTA) AUT(*EXCLUDE) TEXT('Special queue for Dept A jobs')
Creates job queue DEPTA in the current library. With AUT(*EXCLUDE) and OPRCTL(*YES) assumed, only its creator and users with *JOBCTL authority can use or control it, and users with *SPLCTL authority can also control it.
Generated from os/cl/catalog/CRTJOBQ.json and os/cl/help/CRTJOBQ.json.