MANAGE JOB QUEUES

Use this screen to create job queues and manage their entries. Like the Update Job Status screen, this screen provides information on the status of a particular queue, the job server processing the jobs, and the jobs that the queue contains. If you have function rights to this screen, you can update any processes waiting for execution on the process server. (This is one of the significant differences between the Update Job Status screen and this screen.) In addition, you can create new queues or change the status of existing queues.

This screen is normally restricted to a system administrator for the purpose of creating and managing job queues in Costpoint.

Before a job appears on this screen, you must submit it to the queue using the Submit Job to Queue screen. The jobs that have been submitted to the queue appears on this screen flagged with any of the following statuses:

You cannot enter new jobs in this screen. You can only update or delete processes sent to the queue if Aborted, Hold, or Pending appears in the Status field. After you update or delete the jobs in this screen, save the screen to retain any changes. The Server and Status fields are non-editable. You can make changes to the attached server or to the server's status in the Update Job Queue Status screen.

You must first create a job in the Manage Jobs screen before you can use this screen. After you create the job, you can send it to the queue using the Submit Job to Queue screen. You can click or to select a queue to populate the screen.

If you send a job to the queue and its status is Pending, the Start Time and Start Date determine when the job is executed on the job server.

Location

Job Queues

Use this block to select a job queue, specify whether jobs should be run sequentially or in parallel (Oracle DBMS only), and view the activity of the attached job servers.

Identification

Use this group box to specify a job queue ID.

Job Queue ID

When creating a new queue, use this field to enter an identification code for this job queue.

To use existing queues, use this field to search for and select a queue ID.

Process Sequentially

Select this check box to enable sequential job processing for this queue.

Jobs in a user-defined queue run simultaneously on different threads, unless it is set up as a sequential queue. Jobs in a sequential queue run sequentially, one after the other.

Use Parallel SQL

Select this option to enable parallel query and parallel DML. This option is available only if you are using Oracle DBMS. For other DBMS such as MS SQL Server, this option does not display.

Parallel query is a technique the DBMS uses to improve performance by breaking down tasks into smaller subtasks and executing them in parallel. Parallel DML complements parallel query by providing both querying and updating capabilities for DSS databases, thus, speeding up large DML operations against large database objects.

Parallel execution can be enabled at 3 different levels:

Performance gain varies according to the type of SQL operation. It is significant in the following:

Jobs must be submitted through the Process Server. Oracle automatically performs the SQL statements that involve SELECT operations in parallel mode.

Certain hardware requirements must be met. Requirements include:

Attached Servers

Use this table window to view all the job servers attached to this job queue.

Server

This field displays the servers associated with this job queue ID.

Queue Active

This field displays Y if this job server is active. Otherwise, this field displays N.

Scheduled Jobs

Use this table window to view and modify the details of scheduled jobs.

Job

This field displays the job ID of each job that has been submitted to the queue.

Description

This field displays the description of the job ID in the Job field. Job descriptions are set up in the Manage Jobs screen.

Status

This drop down list box displays the current status of the job. They are as follows:

You can change the status of a job by selecting one of the options from this drop-down list box.

To execute a job, select Scheduled from this drop-down list and enter the scheduled date and time in the Start Date and Start Time fields, respectively.

If you change the status from Scheduled to Hold, Costpoint automatically clears the data in the Start Date and Start Time fields after you save this job queue.

If you change the status from Hold to Scheduled and you have not entered a start date or time, Costpoint automatically enters the current date and time in the Start Date and Start Time fields you save this job queue.

Costpoint automatically changes the job status to Aborted if the application fails as a result of server failure. Any jobs with a status of Executing will be set to Aborted when a server is brought up after failure.

Start Date

Use this field to enter, or click to select, the scheduled date on which to execute this job on the job server.

If you selected Start Time/Date from the Execution Option drop-down list box in the Submit Job to Queue screen, Costpoint automatically displays that date in this field. You can edit this default data.

If you enter data in the Start Time field, entry in this field is required.

Start Time

Use this field to enter the scheduled time at which to execute this job on the job server. Use the standard hh:mm:ss AM/PM format, where: hh = hour, mm = minute, and ss = second.

If you selected Start Time/Date from the Execution Option drop-down list box in the Submit Job to Queue screen, Costpoint automatically displays that time in this field. You can edit this default data.  

If you enter data in the Start Date field, entry in this field is required.

Priority

This field displays the default priority level for this job. The priority level can be any number from 1 (highest) to 99 (lowest). The job server determines which jobs to process first based on this priority level.

Recur Every

If this is to be a recurring job, use this field to enter the number of hours, days, weeks, or months to on which this job must recur after it has been initially executed on the job server.

If you enter data the Recurring Timeframe field, entry in this field is required.

Recurring Timeframe

Use this drop-down list box to select the frequency of recurrence (Hours, Days, Weeks, or Months) for this job.

If you enter data in the Recur Every field, entry in this field is required.

End Date

Use this field to enter, or click to select, the date on which this recurring job should end. This field is only available for recurring jobs.

If you enter data in the End Time field, entry in this field is required.

End Time

Use this field to enter the scheduled time at which to end the recurring job on the job server. Use the standard hh:mm:ss AM/PM format, where hh = hour, mm = minute, and ss = second. This field is only available for recurring jobs.

If you enter data in the End Date field, entry in this field is required.

Submitting User

This field displays the ID code of the user who submitted the job to the queue.

Submitted Date/Time

This field displays the date and time that the job was submitted to the queue.

Cancel Job

Click this button to cancel the selected job in the table window.

Subtask

Subtask

Description

Scheduled Job Steps

Click this link to open the Scheduled Job Steps subtask and view the status of all operations that are scheduled within the selected job.