JPH09146763A - Job execution control device - Google Patents

Job execution control device

Info

Publication number
JPH09146763A
JPH09146763A JP7309065A JP30906595A JPH09146763A JP H09146763 A JPH09146763 A JP H09146763A JP 7309065 A JP7309065 A JP 7309065A JP 30906595 A JP30906595 A JP 30906595A JP H09146763 A JPH09146763 A JP H09146763A
Authority
JP
Japan
Prior art keywords
job
resource
time
initiation
control language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7309065A
Other languages
Japanese (ja)
Inventor
Eiji Sato
栄治 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP7309065A priority Critical patent/JPH09146763A/en
Publication of JPH09146763A publication Critical patent/JPH09146763A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To surely start a job at a specified time by executing preprocessing before the arrival of the specified time. SOLUTION: A job control language analyzing means 4 analyzes the job control language of an inputted job, and at the time of detecting an error, urges the reinput of the job. A system load information judging means 8 urges an initiation means 6 to execute the initiation processing of the start time specified job at the time when the system load is low. After the execution of the initiation processing, a time specification job managing means 7 temporarily stores and manages the job before its execution. If an emergent job or the like is generated during the storage, a resource temporary releasing means 10 temporarily releases a resource secured by the initiation processing. After the end of the emergent job, a resource resecuring means 11 resecures the resource.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータシス
テムにおけるジョブ実行制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a job execution control device in a computer system.

【0002】[0002]

【従来の技術】従来のこの種のジョブ実行制御装置は、
ジョブの起動の自動化のみに用いられている。例えば、
特開平02−222056号公報に記載されているジョ
ブ実行制御方式は、深夜におけるバッチジョブの起動の
自動化を図るために用いられており、システム入力部を
監視する監視部と、現在の時刻を調べる計時部と、現在
の時刻と起動指定時刻とを比較する比較部とから構成さ
れる。監視部は、起動時刻指定ジョブを認識すると計時
部により現在の時刻を調べ、比較部で現在の時刻と起動
指定時刻とを比較する。そして起動指定時刻に到達する
と、システム入力部からジョブ制御言語を読み出し、ジ
ョブの実行を開始する。
2. Description of the Related Art A conventional job execution control device of this type is
It is used only for automating job startup. For example,
The job execution control method described in Japanese Patent Laid-Open No. 02-222056 is used for automating the start-up of a batch job at midnight, and a monitoring unit that monitors a system input unit and a current time are checked. It is composed of a clock unit and a comparison unit for comparing the current time and the designated start time. When the monitoring unit recognizes the activation time designation job, the time counting unit checks the current time, and the comparison unit compares the current time with the activation designation time. When the designated start time is reached, the job control language is read from the system input section and the job execution is started.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のジョブ
実行制御方式では、投入されたジョブのジョブ制御言語
のエラーや、そのジョブが確保しようとしている資源な
どが起動指定時刻になるまで分からないため、起動指定
時刻になったとしても、ジョブ入力キューからの取り出
し待ちや、資源の空き待ちが発生したり、ジョブ制御言
語エラーによる異常終了となることがあり、起動指定時
刻に確実にジョブを起動させることは難しい場合がある
という問題点がある。
In the above-mentioned conventional job execution control method, the error of the job control language of the submitted job and the resource which the job is trying to secure cannot be known until the designated start time. Even if the specified start time arrives, the job may be started at the specified start time because it may be waiting to be taken out of the job input queue, waiting for resources to be available, or abnormally terminated due to a job control language error. There is a problem that it can be difficult to do.

【0004】本発明の目的は、上述の点に鑑み、指定さ
れた時刻に確実にジョブが起動されるジョブ実行制御装
置を提供することにある。
In view of the above points, an object of the present invention is to provide a job execution control device in which a job is surely started at a designated time.

【0005】[0005]

【課題を解決するための手段】本発明のジョブ実行制御
装置は、所定時刻に起動するように指定して投入された
ジョブの管理を行うジョブ管理を、ジョブ制御言語の解
析を行い、誤りを検出したときはジョブの再投入を促す
ジョブ制御言語解析手段と、資源確保などのイニシエー
ションを行うイニシエート手段とに分け、前記イニシエ
ーション終了後に実行直前で止めたジョブを管理する時
刻指定ジョブ管理手段を有することを特徴とする。
A job execution control apparatus according to the present invention analyzes a job control language to detect an error in job management for managing a job which is designated to start at a predetermined time. When it is detected, it is divided into a job control language analysis means for prompting the job to be re-injected and an initiation means for making an initiation such as resource reservation, and has a time designation job management means for managing the job stopped immediately before the execution after the completion of the initiation. It is characterized by

【0006】[0006]

【発明の実施の形態】次に、本発明について図面を参照
して説明する。
Next, the present invention will be described with reference to the drawings.

【0007】図1は、本発明の一実施例を表す図であ
る。
FIG. 1 is a diagram showing an embodiment of the present invention.

【0008】図1を参照すると、本実施例は、起動時刻
指定ジョブ1と、ジョブ入力キュー2と、ジョブ入力キ
ュー管理3と、ジョブ制御言語解析手段4と、スケジュ
ーラ5と、イニシエート手段6と、時刻指定ジョブ管理
手段7とから構成される。さらに、スケジューラ5はシ
ステム負荷判定手段8を有し、時刻指定ジョブ管理手段
7は、タイマー登録手段9,資源一時解放手段10、資
源再確保手段11及び時刻到達通知受取手段12とを有
する。
Referring to FIG. 1, in this embodiment, a start time designation job 1, a job input queue 2, a job input queue management 3, a job control language analysis means 4, a scheduler 5, and an initiation means 6 are provided. , Time designation job management means 7. Further, the scheduler 5 has a system load determination means 8, and the time designation job management means 7 has a timer registration means 9, a resource temporary release means 10, a resource reserving means 11, and a time arrival notification receiving means 12.

【0009】ジョブ制御言語解析手段4は、その起動時
刻が指定されたジョブである起動時刻指定ジョブ1をジ
ョブ入力キュー2から取り出し、ジョブ制御言語の解析
を行い、スケジューラ5へ引き渡す。この時にジョブ制
御言語のエラーなどを検出した場合は異常終了するた
め、ジョブの再投入を促すことができる。
The job control language analysis means 4 takes out the start time designation job 1 which is the job whose start time is designated from the job input queue 2, analyzes the job control language, and delivers it to the scheduler 5. If an error in the job control language or the like is detected at this time, the processing ends abnormally, and the resubmission of the job can be prompted.

【0010】スケジューラ5は、システム負荷情報判定
手段8を有し、これにより負荷の低い時に起動時刻指定
ジョブ1の資源確保などのイニシエーションを行うよう
にイニシエート手段6を促す。イニシエート手段6は、
スケジューラ5から引き渡された起動時刻指定ジョブ1
のイニシエーションを行い、時刻指定ジョブ管理手段7
へ引き渡す。
The scheduler 5 has a system load information judging means 8, which prompts the initiating means 6 to make an initiation such as securing resources of the start time designation job 1 when the load is low. The initiating means 6 is
Start time specified job 1 handed over from scheduler 5
The time designation job management means 7
Hand over to

【0011】時刻指定ジョブ管理手段7は、イニシエー
ト手段6から引き渡された時刻指定ジョブ1をタイマー
登録手段9を使用してタイマー登録を行い、起動時刻に
なるまで管理し、タイマーから起動時刻になった旨の通
知を時刻到達通知受取手段12によって認識し、起動時
刻指定ジョブ1を実行させる。時刻指定ジョブ管理7
は、緊急ジョブなどが起動時刻指定ジョブ1が確保して
いる資源を使用しようとした場合には、資源の一時解放
手段10を使用して資源の一時解放を行い、緊急ジョブ
などの終了によって、資源の再確保手段11を使用し
て、資源の再確保を行う。
The time designation job management means 7 performs timer registration of the time designation job 1 delivered from the initiation means 6 using the timer registration means 9 and manages the time designation job 1 until the activation time. The notification indicating that the time has arrived is recognized by the time arrival notification receiving means 12, and the start time designation job 1 is executed. Time-specified job management 7
When an urgent job or the like tries to use the resource secured by the start time designated job 1, the temporary resource releasing means 10 is used to temporarily release the resource. The resources are secured again using the resource securing means 11.

【0012】次に、下記のような起動時刻指定ジョブA
及びBの投入が予定されており、起動時刻前に緊急ジョ
ブを動かす必要があった場合の実施例の動作を説明す
る。なお、投入時刻は10:00とする。
Next, a start time designation job A as shown below
The operations of the embodiment in the case where the inputs of B and B are scheduled and it is necessary to move the emergency job before the start time will be described. It should be noted that the input time is 10:00.

【0013】起動時刻指定ジョブA 起動 13:00 資源 ファイルa(ディスクA内に存在) ファイルb(ディスクB内に存在) 起動時刻指定ジョブB 起動 15:00 資源 ファイルb(ディスクB内に存在) ファイルc(ディスクB内に存在) 10:00に起動時刻指定ジョブAと起動時刻指定ジョ
ブBの二つのジョブを投入したところ、ジョブ入力キュ
ー1に投入され、ジョブ入力キュー管理3によってジョ
ブ制御言語解析手段4に引き渡された所で起動時刻指定
ジョブBのジョブ制御言語にエラーがあったたため異常
終了した。ここで、起動時刻指定ジョブBのジョブ制御
言語を修正して再投入を行うと、正常に投入することが
できた。
Start time specified job A start 13:00 resource file a (exists in disk A) file b (exists in disk B) start time specified job B starts 15:00 resource file b (exists in disk B) File c (existing in disk B) At 10:00, when two jobs, a start time designation job A and a start time designation job B, are submitted, they are submitted to the job input queue 1 and the job control language is managed by the job input queue management 3. There was an error in the job control language of the start time designated job B at the place where it was delivered to the analyzing means 4, and the job ended abnormally. If the job control language of the start time designated job B is corrected and the job is re-entered, the job can be normally submitted.

【0014】10:10ごろ、システムの負荷が低下し
たため、これを検出したシステム負荷情報判定手段8が
イニシエート手段6にイニシエーションを促し、イニシ
エート手段6はそれを受けてファイルa,ファイルbの
資源確保などを含むイニシエーションを行った。
At about 10:10, since the system load is reduced, the system load information judging means 8 which has detected this, prompts the initiating means 6 to initiate, and the initiating means 6 receives the resources and secures the resources of the files a and b. Initiation including etc.

【0015】12:00ごろ、13:00に起動時刻指
定ジョブAが使用する予定のファイルaを含むディスク
Aに異常が発生し、調査を行う為の緊急ジョブを起動す
る必要が生じた。この緊急ジョブには、ディスクを調査
するためにディスク全体の資源を確保する必要があり、
ディスク内のファイルが一つでも資源確保されたままで
は起動することができない。しかし、緊急ジョブを投入
すると、起動時刻指定ジョブAが確保していた資源であ
るファイルaが資源一時解放手段10によって一時的に
解放され、緊急ジョブを起動することができた。
Around 12:00, at 13:00, an abnormality occurred in the disk A containing the file a to be used by the start time designation job A, and it became necessary to start an urgent job for investigation. This urgent job needs to reserve the resources of the entire disk to investigate the disk,
It is not possible to start up even if only one file in the disk is reserved. However, when the urgent job is input, the file a, which is the resource reserved by the job A with the specified start time, is temporarily released by the resource temporary releasing means 10, and the urgent job can be activated.

【0016】緊急ジョブが終了すると、起動時刻指定ジ
ョブAの使用する資源であるファイルaが資源再確保手
段11によって再確保された。この時の前述の緊急ジョ
ブによる調査ではファイルaには問題がなかったため、
起動時刻指定ジョブAはこのまま起動させて問題ないと
いうことが分かった。
When the urgent job is completed, the file a, which is the resource used by the job A with the designated start time, is reallocated by the resource reallocation means 11. In the investigation by the above-mentioned emergency job at this time, there was no problem with file a, so
It was found that there is no problem in starting the job A with the specified start time.

【0017】13:00になるとタイマーから時刻到達
通知が時刻到達通知受取手段12に通知され、起動時刻
指定ジョブAの起動が行われ、正常に終了した。15:
00になると起動時刻指定ジョブBが同様に起動され、
正常終了した。
At 13:00, the time arrival notification is sent from the timer to the time arrival notification receiving means 12, the start time designation job A is started, and the job is normally completed. 15:
When the time reaches 00, the start time designation job B is similarly started,
It ended normally.

【0018】以上に説明した実施例において、システム
負荷情報判定手段8と、資源一時解放手段10及び資源
再確保手段11とは必須の構成要素でない。すなわち、
システムの負荷状態の如何に拘わらずイニシエート手段
6にイニシエーションを行わせることを、いとわなけれ
ばシステム負荷情報判定手段8は不要である。また、緊
急ジョブ発生に対する配慮を払わなければ、資源一時解
放手段10及び資源再確保手段11は不要となる。
In the embodiment described above, the system load information judging means 8, the resource temporary releasing means 10 and the resource reserving means 11 are not essential components. That is,
The system load information judging means 8 is not required unless the willingness to cause the initiating means 6 to initiate regardless of the load state of the system. Further, the resource temporary releasing means 10 and the resource reserving means 11 are not necessary unless consideration is given to the occurrence of an urgent job.

【0019】[0019]

【発明の効果】以上説明したように、本発明によるジョ
ブ実行制御装置は、ジョブ管理をジョブ制御言語解析手
段とイニシエート手段に分け、起動時刻以前にジョブ入
力キューからの取り出しを行い、ジョブ制御言語の解析
を行う構成にしたため、起動時刻になった時点でのジョ
ブ入力キューからの取り出し待ちが発生せず、ジョブ制
御言語のエラーを起動時刻前に発見できるという効果を
有する。
As described above, the job execution control apparatus according to the present invention divides the job management into the job control language analyzing means and the initiating means, and the job control language is taken out from the job input queue before the start time. Since the analysis is performed, there is no effect of waiting for taking out from the job input queue at the time when the activation time comes, and an error of the job control language can be found before the activation time.

【0020】また、時刻指定ジョブ管理手段には資源一
時解放手段及び資源再確保手段を設けることにより、緊
急ジョブが発生したときにもその処理に対処できる起動
時刻指定ジョブの使用する資源の空き待ちが発生しない
という効果を有する。
Further, the time designation job management means is provided with a resource temporary release means and a resource reserving means, so that when an urgent job occurs, it can handle the processing and wait for the resources used by the start time designation job to become available. Has the effect of not occurring.

【0021】さらに、スケジューラにシステム負荷情報
判定手段を設けることにより、システムの負荷が低い時
を選んでイニシエータ手段にイニシエーションを行うよ
うに促す為、システム資源の使用効率を向上させる事が
出来るという効果を有する。
Further, by providing the system load information judging means in the scheduler, it is possible to improve the efficiency of use of system resources by prompting the initiator means to select when the system load is low. Have.

【0022】[0022]

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例を表す図である。FIG. 1 is a diagram showing an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 起動時刻指定ジョブ 2 ジョブ入力キュー 3 ジョブ入力キュー管理 4 ジョブ制御言語解析手段 5 スケジューラ 6 イニシエート手段 7 時刻指定ジョブ管理手段 8 システム負荷情報判定手段 9 タイマー登録手段 10 資源一時解放手段 11 資源再確保手段 12 時刻到達通知受取手段 1 Start Time Designation Job 2 Job Input Queue 3 Job Input Queue Management 4 Job Control Language Analysis Means 5 Scheduler 6 Initiating Means 7 Time Designation Job Management Means 8 System Load Information Judging Means 9 Timer Registration Means 10 Resource Temporary Release Means 11 Resource Reserving Means 12 Time arrival notification receiving means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】所定時刻に起動するように指定して投入さ
れたジョブの管理を行うジョブ管理を、ジョブ制御言語
の解析を行い、誤りを検出したときはジョブの再投入を
促すジョブ制御言語解析手段と、資源確保などのイニシ
エーションを行うイニシエート手段とに分け、前記イニ
シエーション終了後に実行直前で止めたジョブを管理す
る時刻指定ジョブ管理手段を有することを特徴とするジ
ョブ実行制御装置。
1. A job control language for analyzing a job control language for job management for managing a job submitted by designating that the job is started at a predetermined time, and prompting to re-submit the job when an error is detected. A job execution control device comprising a time designation job management means for managing a job stopped immediately before execution after completion of the initiation, which is divided into an analysis means and an initiation means for making an initiation such as resource reservation.
【請求項2】システムの負荷が低い時を選んで前記イニ
シエート手段を動作させるシステム負荷情報判定手段を
設けたことを特徴とする請求項1記載のジョブ実行制御
装置。
2. The job execution control apparatus according to claim 1, further comprising system load information determination means for selecting the time when the system load is low to operate the initiator means.
【請求項3】前記資源確保している間に、該資源の一時
解放を行える資源一時解放手段と、一時解放した資源を
再確保できる資源再確保手段とを前記時刻指定ジョブ管
理手段に含ませたことを特徴とする請求項1記載のジョ
ブ実行制御装置。
3. The time designation job management means includes resource temporary release means for temporarily releasing the resource while securing the resource and resource reserving means for reserving the temporarily released resource. The job execution control device according to claim 1, wherein
JP7309065A 1995-11-28 1995-11-28 Job execution control device Pending JPH09146763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7309065A JPH09146763A (en) 1995-11-28 1995-11-28 Job execution control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7309065A JPH09146763A (en) 1995-11-28 1995-11-28 Job execution control device

Publications (1)

Publication Number Publication Date
JPH09146763A true JPH09146763A (en) 1997-06-06

Family

ID=17988466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7309065A Pending JPH09146763A (en) 1995-11-28 1995-11-28 Job execution control device

Country Status (1)

Country Link
JP (1) JPH09146763A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7385720B2 (en) * 2001-11-05 2008-06-10 Hewlett-Packard Development Company, L.P. Systems and methods for scheduling print jobs
JP2011096110A (en) * 2009-10-30 2011-05-12 Toshiba Corp Job net control program and job net control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7385720B2 (en) * 2001-11-05 2008-06-10 Hewlett-Packard Development Company, L.P. Systems and methods for scheduling print jobs
JP2011096110A (en) * 2009-10-30 2011-05-12 Toshiba Corp Job net control program and job net control device

Similar Documents

Publication Publication Date Title
JP2550864B2 (en) Decentralized control method and apparatus for job execution
CN111949386A (en) Task scheduling method, system, computing device and readable storage medium
WO2015131542A1 (en) Data processing method, device and system
CN108762905B (en) Method and device for processing multitask events
CN113326107A (en) Kubernetes cluster-based periodic task scheduling method and electronic equipment
JPH09146763A (en) Job execution control device
JP2008107875A (en) Job control unit and job control program
JPH08286779A (en) Application automatic restarting device
JP2965075B2 (en) Program execution status monitoring method
JP2636722B2 (en) Multitask execution management method
JP2000056989A (en) Task designing method
JPH07219789A (en) Method for processing of external event in plurality of thread systems
JPH11203149A (en) Device and method for scheduling task
JPH01258135A (en) Transaction execution control system
JP6255721B2 (en) Process allocation apparatus, process allocation method, and process allocation program
JPH064318A (en) Error detecting system
JP2575761B2 (en) Job management method
CN112395158A (en) Information processing method and device and computer readable storage medium
JPH0823824B2 (en) Job allocation method with resource allocation
CN117519947A (en) Coroutine monitoring method, device, equipment and readable storage medium
CN116128493A (en) Service processing method, system, device and medium based on distributed lock
CN115794344A (en) Quartz frame-based multi-stage task scheduling method
CN115834714A (en) Cross-platform task scheduling method, server and system
JPH09146771A (en) Exceptional event processor
JPH06274358A (en) Abnormal termination exit routine management system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000328