Understanding Job Queues
Each JD Edwards EnterpriseOne server instance starts a queue kernel process that manages batch processes across operating system platforms. The process keeps track of all jobs that are submitted and controls the order in which the jobs run.
JD Edwards EnterpriseOne uses two tables to maintain queue records:
Job Control Status Master table (F986110), which maintains records on the status of each job submitted to a queue.
Queue Control Status Master table (F986130), which stores the names of each queue, such as QBATCH, the name of the server on which the queue runs, the port number for the server instance, the queue status and type, and the maximum number of active jobs allowed.
Note: Since F986130 is a system table, be sure to account for it when you map objects using Object Configuration Manager (OCM).
The following list summarizes how the software, using the queue kernel, manages a UBE that you launch:
Starts queue kernel when the server instance starts.
Verifies that a record exists in the F986130 table for the queue to which the job is submitted. If the job is intended for a non-EnterpriseOne queue, verifies that the native queue (for example, IBM i) exists.
Inserts job record into the F986110 table.
Sends a message to the queue kernel that the new job exists.
Adds the job to a wait list.
Schedules the job or submits it to the native queue.
Starts the job.
Runs the job.
Updates the job record in the F986110 table upon receiving a message from the UBE process that the job is complete.
Removes the job from the list of active jobs.
Schedules another job.
The queue kernel also follows an algorithm when scheduling jobs. The following list summarizes the algorithm that the queue kernel follows:
Verifies that jobs in the queue are waiting to be run.
Verifies that the number of jobs waiting to be run is less than the maximum number of jobs allowed for the queue.
Takes the highest priority job from the wait list and updates its status to S (Submitted).
Removes the job from the wait list and adds it to the active list.