Specialist Functions Overview

This section of the user manual should be read in conjunction with the technical documentation supplied with the relevant release of Callista. The section is oriented towards the entry and maintenance of data in Job Control and Scheduling (JBS) forms, while the technical documentation gives more detail about the subsystem's interaction with the wider operating environment.

This documentation assumes a knowledge of information given in Understanding Job Control & Scheduling.


In this section:


Setting Up the Job Control & Scheduling Subsystem

Using the forms described in this part of the subsystem documentation, information technology staff and systems administration staff determine the framework within which jobs are run by end-users. The task includes:

Defining jobs, parameter files and outputs

Maintain Job Details (JBSF4110) is the central form used to name and define jobs, parameter files and outputs in the JBS subsystem.

Defining batch queues

Batch jobs are assigned to active batch queues, which are created using the form Maintain Batch Queue Details (JBSF4500). Using this form, batch queues can be suspended at any time.

Defining run windows

'Run windows' may be specified for individual jobs, and must be specified for requests. Jobs can only run in their own run windows. The set of times comprising a run window is recorded in the Maintain Run Windows (JBSF4410) form.

Job control

Various restrictions and indicator settings are used to control the running of jobs in four main ways:

User restrictions. The documentation dealing with access to particular jobs at person and role level is reached through field help in the forms Maintain Person Function Grants (SECF0062), and Maintain Security Role Function Grants (SECF0063). In these two forms it is also possible to grant end-users the required privileges to change the priority of individual jobs at request time, achieved by setting the appropriate Override Priority indicators.

The Allow Standing Request indicator in the Maintain Person Preferences (SECF0066) form is used to grant individuals the privilege to submit jobs as standing requests.

The Run As Requester indicator in the Maintain Job Details (JBSF4110) form can be set to restrict data access in report jobs. If set, the job will return only the data available to the person requesting the job, as determined by normal database security restrictions.

Ordering. If it is necessary that jobs run in a particular order, they can be linked in dependency relationships using the form Maintain Job Dependencies (JBSF4140), which is accessed from the central form, JBSF4110. To ensure that related jobs are always included in the same request, set the Mand (mandatory) indicators. End-users can determine the running order of jobs in a request by using the Sequence indicator in Maintain Request Details (JBSF5210). If neither of these controls apply, jobs will normally run within requests in priority order, though this may depend on whether 'specialty' batch queues exist for particular priorities.

Job flow. Many factors, working together, affect the timing and flow of jobs under the control of the JBS subsystem. At a broad level, the following factors apply:

Errors. If the Restartable indicator is set in the central job form, JBSF4110, a job running at the time of system failure or database restart will be automatically re-scheduled to run at the next available opportunity. Where jobs are in a dependency relationship, dependent jobs are prevented from running (job status ABORTED) if a pre-requisite job fails.

The Abort On Error indicator can be set by end-users in the central request form, JBSF5210, to ensure that if one job fails, subsequent jobs in the request will be prevented from running (their job status is set to ABORTED). This might be especially important if the Sequence indicator is set.

Default data

Destinations for output can be included in the job definition either as mandatory or as default 'options', or can be left for end-users to specify at run time. The Override Options indicators control end-user actions. Options are recorded in the Maintain Job Output Options (JBSF4120) form, while the Override Options indicators are set in the central job form, JBSF4110.

Background processes

Two processes control the scheduling and running of jobs:

The two processes are covered fully in the technical documentation.

Subsystem Clean-up

Three clean-up jobs are used to assist in management of the potentially large number of records and files created via this subsystem.

All of these jobs should be set up as standing requests, to routinely purge the System of obsolete data.

Note:

Once output files have been deleted, they cannot be reproduced by the 'reproduce output' function available as a parameter with many jobs.

 

Last modified on 21 September 1999