CL Command Reference - CRTJOBQ
CL Command List > CRTJOBQ Reference
Description:
The Create Job Queue (CRTJOBQ) command creates a new job queue. A job queue contains entries for jobs that are waiting to be processed by the system. Jobs can be placed on a job queue by using any of the following commands:
. Start Database Reader (STRDBRDR)
. Start Diskette Reader (STRDKTRDR)
. Start Printer Writer (STRPRTWTR)
. Start Diskette Writer (STRDKTWTR)
. Submit Job (SBMJOB)
. Submit Database Jobs (SBMDBJOB)
. Submit Diskette Jobs (SBMDKTJOB)
. Transfer Job (TFRJOB)
After you create a new job queue, you must add an entry for it in the appropriate subsystem description. To do this use the Add Job Queue Entry (ADDJOBQE) command.
Examples:
CRTJOBQ JOBQ(DEPTA) AUT(*EXCLUDE)
TEXT(¡¯Special queue for Dept A jobs¡¯)
This command creates a job queue named DEPTA and puts it in the current library. Because AUT(*EXCLUDE) is specified and OPRCTL(*YES) is assumed, the job queue is used and controlled only by the user who created the queue and by users with job control authority (*JOBCTL). Also, users with spool control authority (*SPLCTL) can control the queue.