JBSF4500 - Maintain Batch Queue Details

Purpose

To allow the creation and maintenance of Batch Queue

Subsystem

Job Control & Scheduling

Normally Run By Job Control Specialist
Anticipated Frequency As required
Structure

Blocks Batch Queue
Batch Queue Priority Restriction

  

Batch Queue block

It is anticipated that the data in this form will be set up and maintained by information technology staff with responsibility for the Callista System.

This form allows the creation and management of Batch Queues. All Batch Queues are associated with a Run Window, and become available during that Run Window's intervals. Jobs are assigned automatically to active Batch Queues by the JBS Subsystem - but by changing details using this form, the flow of jobs through the System can be tuned in the following ways:

  • A Batch Queue can be suspended
  • Its Run Window can be changed
  • The periods when it runs within a Run Window can be further limited
  • It can be set up so that only jobs with a certain priority or priorities can use it

Batch Queue Priority Restriction block

One or more priorities can be recorded here, in order to restrict the Batch Queue to jobs with the same priority. When a job is assigned to a Batch Queue, the JBS Subsystem Routine attempts first to assign it to one with appropriate Priority Restrictions. This means, for instance, that a Priority One job will be assigned to a Batch Queue with a Priority One restriction in preference to any other queue, if the Priority One Queue is free to run it.

For example, in the instance given above, restricting a Batch Queue to Priority One increases the likelihood that there will be a queue available to run Priority One jobs as soon as their scheduled time arrives.

Conversely, a queue can be set aside for low priority jobs. This may be a temporary measure only, to allow the running of a low priority job which has been held up for a long time because higher priority jobs are constantly being submitted.

 

The Batch Queue block contains:

  • Queue ID
  • System Queue Status
  • Description
  • Run Windows
  • Start Time
  • End Time

    Button

    • Run Windows

The Batch Queue Priority Restriction block contains:

  • Job Priority
  • Description

Rules/Notes:

Changes in this form may affect the time it takes for scheduled jobs to start running, or may prevent some jobs from running because there is no active Batch Queue available with the same Run Window and priority.

To create a new Batch Queue record using the Maintain Batch Queue Details form:

In Insert mode:

  • Enter a number (1 - 99) to identify the new Batch Queue, in Queue ID
  • Enter a Description
  • Either
    key a valid Run Window value in the Run Window field
    or
    using the icon alongside the field ,
    access the pop-up window, Inquire On Run Windows (JBSF4411), and select the required Run Window using that form
  • Optionally, enter a start and end time in the Start Time and End Time fields to delimit the Run Window intervals further.
  • Save

Rules/Notes:

Batch Queues are automatically set to INACTIVE when outside their Run Window.

With Start and End Times set, a job can only start within the specified period. For example, in a business hours Run Window with intervals set for 8:00 to 17:30, Monday to Friday, and Batch Queue Start and End Times set to 15:00 and 10:00 respectively, a job can start in this queue between 8:00 and 10:00 and between 15:00 and 17:30.

Jobs in a request are allocated only to Batch Queues with the same Run Window as the request.

To modify a Batch Queue record using the Maintain Batch Queue Details form:

  • Find the record to be modified by query
  • Modify the record as required
  • Save

Rules/Notes:

Batch Queues can be SUSPENDED at any time.

To delete a Batch Queue record using the Maintain Batch Queue Details form:

Rules/Notes:

Batch Queues cannot be deleted. To prevent jobs running against a Batch Queue, set the System Queue Status to SUSPENDED.

To record a Priority Restriction against a Batch Queue record, using the Maintain Batch Queue Details form:
  • Insert or select a blank record
  • Select a priority from the list of values, or key a number from 1 to 9, in the Job Priority field
  • Repeat from 1 for further priority values
  • Save

Rules/Notes:

Priority 1 is the highest priority.

To delete a Priority Restriction against a Batch Queue record, using the Maintain Batch Queue Details form:

  • Find the record to be deleted
  • Locate the cursor in the record to be deleted
  • Delete record
  • Save

 

 

 

Last Modified on 14 January, 2004