3.1.12 TuxJES Queue System
In order to emulate the z/OS JES2 system, TuxJES system uses a
queue mechanism for batch job life cycle management. All queues are
created in one queue space called "JES2QSPACE
". A
batch job is represented by a message that resides and is
transferred to queues listed in the following table.
Table 3-8 TuxJES Queues
Queues | Description |
---|---|
JCL Conversion Queue | When a JCL job is submitted to the TuxJES system, it is put in the JCL conversion queue first. There is only one JCL conversion queue in the system. A JCL converted job is moved from the "JCL conversion queue" to the "conversion queue". The jobs in the queue are processed in FIFO order.
Queue name: CONV_JCL |
Conversion Queue | When a batch job is submitted to the TuxJES system, it is put in the conversion queue first. There is only one conversion queue in the system. A converted job is moved from the "conversion queue" to the "execution queue". The jobs in the queue are processed in FIFO order.
Queue name: CONV |
ExecGroup Queue | This queue is necessary if NJESUPPORT is enabled in jesconfig file. This queue maintains the mapping of each job and its execution group when the job is in the Execution Queue.
Queue name: EXECGRP |
Hold Queue | If a job is in the HOLD state (JCLHOLD or HOLD), it is put in the hold queue. Once released, it is moved to the conversion queue or waiting queue based on the typrun parameter.
Queue name: HOLD |
Execution Queue | There are 36 job classes (A-Z and 0-9). A job also has a priority value ranging from 0 to 15. The jobs are scheduled based on the job class and priority. One job class is mapped to one /Q queue, (36 queues all together). These are the queues where the job is stored staying and waits for execution. The job priority is mapped to the queue message priority. All queues are created based on priority.
Queue names: [A-Z], [0-9]. |
Executing Queue | This queue stores running/executing jobs. There is only one "executing queue" in the system. When a job is picked up from an "execution queue" and successfully goes to running state, the job is moved to the "executing queue". The jobs in this queue are processed in FIFO order.
Queue name: EXEC |
Output Queue | When a job is completed or an error occurs, it is sent to the "output queue". There is only one "output queue". The jobs in the queue are processed in FIFO order.
Queue name: OUTPUT |
Purge Queue | When a job is to be purged, it is moved to the purge queue. There is only one "purge queue" in the system.
Queue name: PURGE |
Internal Queues | ART JES also has some internal queues on the JES2QSPACE for internal usage. |