JPH0359730A - Job abort control method - Google Patents
Job abort control methodInfo
- Publication number
- JPH0359730A JPH0359730A JP19411989A JP19411989A JPH0359730A JP H0359730 A JPH0359730 A JP H0359730A JP 19411989 A JP19411989 A JP 19411989A JP 19411989 A JP19411989 A JP 19411989A JP H0359730 A JPH0359730 A JP H0359730A
- Authority
- JP
- Japan
- Prior art keywords
- job
- system load
- time
- aborted
- abort
- 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
Links
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、バッチジョブを多重処理する計算機システム
において、システムの負荷変動に対応して最適のジョブ
打切りを行なうジョブ打切り制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a job abort control method for optimally aborting jobs in response to system load fluctuations in a computer system that multi-processes batch jobs.
従来、バッチジョブがCPU以外の装置を長時間使用す
る様なケースの異常に対処するため、当該ジョブの実行
開始から終了までに要した時間(以下ETIMEと呼ぶ
)によるジョブ打切りが用意されている。Conventionally, in order to deal with abnormalities in cases where a batch job uses a device other than the CPU for a long time, job abort is provided based on the time required from the start to the end of the job (hereinafter referred to as ETIME). .
このETIME打切りの設定は、ユーザが大体の値を予
想し、システムへバッチジョブを登録する際のジョブ制
御文(JCL)にて指定する方式通常、バッチジョブを
多重処理する計算機システムのユーザはジョブの込み具
合、即ち、システム負荷を把握できないため、システム
負荷まで考慮したETIME打切りの設定は出来ない。This ETIME termination setting is set by the user, who estimates the approximate value and specifies it in the job control statement (JCL) when registering the batch job to the system.Usually, users of computer systems that process multiple batch jobs Since it is not possible to grasp the level of congestion, that is, the system load, it is not possible to set ETIME termination in consideration of the system load.
このため同じジョブに同じETIME打切値を指定して
も、システム負荷が大きいときは、ジョブそのものに異
常がなくてもジョブが打切られてしまうことがある。Therefore, even if the same ETIME abort value is specified for the same job, if the system load is heavy, the job may be aborted even if there is no abnormality in the job itself.
このためユーザは、ETIME打切値を非常に長めに設
定するか、あるいは全く設定していないのが現状である
。For this reason, the current situation is that users either set the ETIME cutoff value to a very long value or do not set it at all.
このためETIMEが数倍も長くなる異常が起きた時で
も、システム負荷が大きいためと考えてしまい、1年近
く原因調査の開始が遅れたこともあった。For this reason, even when an abnormality occurred where the ETIME was several times longer, it was assumed that it was due to a heavy system load, and the investigation into the cause was delayed for nearly a year.
上記従来技術では、システム負荷によってジョブ処理所
要時間が変化する点について配慮がされておらず、ジョ
ブが正常に処理されているにもかかわらず、システム負
荷が大きいとジョブ打切りが起こるという問題があった
。The above-mentioned conventional technology does not take into account the fact that the time required to process a job changes depending on the system load, and there is a problem that the job may be aborted even if the job is being processed normally if the system load is large. Ta.
本発明の目的は、不規則に変化するシステム負荷に応じ
た最適のジョブ打切り制御方式を提供することにある。An object of the present invention is to provide an optimal job termination control method in response to irregularly changing system loads.
これによって、システム負荷に応じたジョブ打切りを行
なっているにもかかわらずジョブ打切りが発生した場合
、システム負荷以外の原因でジョブ処理時間が延びたこ
とを認識できる。As a result, if job abort occurs even though job abort is performed in accordance with the system load, it can be recognized that the job processing time has been extended due to a cause other than the system load.
上記目的を達成するために、システム負荷監視プログラ
ムにて、ジョブ実行中に一定間隔でシステム負荷を測定
し、
システム負荷が標準値より高い場合は負荷の程度に応じ
て打切り時間を更新する様にしたものである。In order to achieve the above purpose, the system load monitoring program measures the system load at regular intervals during job execution, and if the system load is higher than the standard value, the cutoff time is updated according to the degree of load. This is what I did.
本発明のジョブ打切り制御方式は、バッチジョブ実行中
に一定間隔でシステム負荷を測定し、システム負荷が標
準値よりも高い場合は打切り時間を延長するものである
。The job abort control method of the present invention measures the system load at regular intervals during batch job execution, and extends the abort time if the system load is higher than a standard value.
それによって、システム負荷が大きいことが原因でジョ
ブ処理時間が延びた場合などは不当にジョブ打切りされ
ることがない。This prevents the job from being unduly terminated even if the job processing time is extended due to a heavy system load.
また、システム負荷が大きいということ以外の原因で処
理時間が延びたジョブに対しては、打切り時間は延長さ
れないため、ジョブ打切りが行なわれる。Further, for a job whose processing time is extended due to a reason other than a large system load, the job is aborted because the abort time is not extended.
以下、本発明の一実施例を図面により詳細に説明する。 Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.
第1図は、ジョブ打切り時間を設定する処理の具体的な
構成及び動作を問題解析図の形式で示す。FIG. 1 shows, in the form of a problem analysis diagram, the specific configuration and operation of the process for setting the job termination time.
この問題解析図は、一般的にはProblem Ana
lysisDiagraIII略してPADと呼ばれて
いる。This problem analysis diagram is generally called Problem Ana
It is called lysisDiagraIII or PAD for short.
通常、ジョブは、プログラムと対応したジョブステップ
と呼ばれるもので構成されている。このジョブステップ
毎に第1図の処理1〜7は繰返される。Usually, a job is made up of what are called job steps that correspond to programs. Processes 1 to 7 in FIG. 1 are repeated for each job step.
処理土は、ユーザがジョブを登録したJCLから最初の
ジョブステップを見つけ出し、プログラム名、データ種
別、データ数を読み込む処理を行なうものである。The process finds the first job step from the JCL in which the user has registered the job, and reads the program name, data type, and number of data.
処理2は、システム負荷が各機器の平均的な込み具合を
示す標準値のとき、プログラムが処理に要する時間を求
める式を第2図に示すテーブル10より読み込んでいる
。In process 2, when the system load is a standard value indicating the average congestion of each device, a formula for determining the time required for the program to process is read from the table 10 shown in FIG. 2.
このテーブル10には、プログラム名称ごとに標準ET
IME算出式11が登録されている。式は、あらかじめ
実績の統計を基に作成しておき、このテーブル10に登
録しておく。This table 10 shows the standard ET for each program name.
IME calculation formula 11 is registered. The formula is created in advance based on actual statistics and registered in this table 10.
処理3は、さきほどのJCLから読んだデータ種と数を
、テーブル1oより読み込んだ標準ETIME算出式1
1に代入して値を求めている。Process 3 is the standard ETIME calculation formula 1 that reads the data type and number read from the JCL from table 1o.
The value is calculated by substituting it into 1.
処理4は、プログラム処理時間がシステム負荷このテー
ブル10にはプログラム名称ごとにシステム負荷影響係
数12が登録されている。システム負荷影響係数の値は
、あらかじめ、実績より統計的に求めたものを使用する
。それらはジョブ多重数および入出力機器ビージー率ご
とにテーブル内に格納されている。In process 4, program processing time is system load.In this table 10, a system load influence coefficient 12 is registered for each program name. The value of the system load influence coefficient is determined statistically from actual results in advance. They are stored in a table for each job multiplex number and input/output device busy rate.
処理5および6は、プログラム処理が終了または打切ら
れるまで、一定間隔で繰り返される。第1図では、この
間隔をt秒としている。Processes 5 and 6 are repeated at regular intervals until the program process is completed or aborted. In FIG. 1, this interval is t seconds.
処理5では、システム負荷を、既存の「システム動作状
況監視プログラム」サブルーチンにて5秒間のシステム
負荷の平均値を調査している。In process 5, the average value of the system load for 5 seconds is investigated using the existing "system operation status monitoring program" subroutine.
処理6は、システム負荷の大きさに対応して、ETIM
Eの延長処理を行なっている。計算方法としては1秒後
の残存ETIMEはETIME−tでありこれに新しく
第2図のテーブルエ0から読出したシステム負荷影響度
係数12中のジョブ多重数影響度Bと入出力機器ビジー
率影響度Mとの和にt秒を乗じたものを加え、それを新
しいETIMEとする。即ち、システム負荷が標準値よ
リ大きい場合は、システム負荷のジョブ処理時間への影
響骨だけ、ETIMEを延長する。Processing 6 is based on ETIM, depending on the size of the system load.
E is being extended. The calculation method is that the remaining ETIME after 1 second is ETIME-t, and to this, the job multiplex number influence B and the input/output device busy rate influence in the system load influence coefficient 12 newly read from Table E0 in Figure 2 are calculated. Add the sum of degrees M multiplied by t seconds and use it as a new ETIME. That is, if the system load is larger than the standard value, ETIME is extended by the amount of influence of the system load on job processing time.
処理6の計算が終ると処理7に進む。処理7ではETI
MEがO以下になったかどうか判定する。When the calculation in process 6 is completed, the process proceeds to process 7. In process 7, ETI
Determine whether ME has become below O.
O以下になっていれば処理8に進みジョブステップは打
切られる。O以下になっていなければ処理5へ戻る。If it is less than O, the process proceeds to process 8 and the job step is aborted. If it is not below O, return to process 5.
このジョブステップが終了した後、第1図の処理1に戻
り、次のジョブステップを同じ様に処理していく。After this job step is completed, the process returns to process 1 in FIG. 1, and the next job step is processed in the same way.
なお、システム負荷のt秒間の平均値は、既存CPU
・・・ジョブの多重度の平均〔発明の効果〕
本発明によれば、ジョブの標準打切り時間をシステム負
荷の変動に応じて延長することにより、正常ジョブが不
当に打切られることを防止できる。Note that the average value of the system load for t seconds is
... Average Job Multiplicity [Effect of the Invention] According to the present invention, by extending the standard job termination time in accordance with fluctuations in the system load, it is possible to prevent normal jobs from being unduly terminated.
従って、システム負荷の変動に対応して打切り時間を延
長したにもかかわらず、ジョブがその打切り時間を超え
て打切られた場合、システム負荷以外の原因でジョブ処
理時間が延びるという異常があることがわかる。Therefore, even if the abort time has been extended in response to changes in the system load, if a job is aborted beyond the abort time, there may be an abnormality in which the job processing time is extended due to reasons other than the system load. Recognize.
第1図は本発明の一実施例の構成と処理の流れを示した
PAD、第2図は本発明のジョブ打切り制御に必要なデ
ータを含むテーブルである。
蛸
目FIG. 1 is a PAD showing the configuration and processing flow of an embodiment of the present invention, and FIG. 2 is a table containing data necessary for job termination control of the present invention. Octopus
Claims (1)
バッチジョブの経過時間による打切りを、システム負荷
の変化に応じて更新することを特徴とするジョブ打切り
制御方式。In a computer system that multi-processes batch jobs,
A job abort control method characterized by updating abort based on elapsed time of a batch job in accordance with changes in system load.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19411989A JPH0359730A (en) | 1989-07-28 | 1989-07-28 | Job abort control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19411989A JPH0359730A (en) | 1989-07-28 | 1989-07-28 | Job abort control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0359730A true JPH0359730A (en) | 1991-03-14 |
Family
ID=16319234
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19411989A Pending JPH0359730A (en) | 1989-07-28 | 1989-07-28 | Job abort control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0359730A (en) |
-
1989
- 1989-07-28 JP JP19411989A patent/JPH0359730A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6041425A (en) | Error recovery method and apparatus in a computer system | |
| JPH0359730A (en) | Job abort control method | |
| JP2000056989A (en) | Task designing method | |
| JP2005071171A (en) | Batch job execution control method | |
| JP2762817B2 (en) | Application program loop / stall monitoring device | |
| JPH03260838A (en) | Limiting system for cpu using time | |
| JPH0334037A (en) | Processing system for detection of system abnormality | |
| JPH10133889A (en) | Controller control cycle setting method and apparatus | |
| JP2536304B2 (en) | Job end time prediction system | |
| JP2842748B2 (en) | Monitoring and control method for information processing equipment | |
| JP2566002B2 (en) | Task dispatching method | |
| JPH04307631A (en) | Cpu distribution control system for virtual computer system | |
| JPS61253547A (en) | Computer system job control method | |
| JP2560106B2 (en) | Unqualified job reduction method from job queue | |
| JPH01196633A (en) | Task control system | |
| JPH03265943A (en) | Display system for program executing state | |
| JPH04336334A (en) | Time slice value setting system | |
| JPS62233855A (en) | Monitor system for waiting time of program processing | |
| JPS62210511A (en) | Method for executing sequence program in programmable controller | |
| JPH03138730A (en) | Transaction processing multiplicity level changing system | |
| JPH06131205A (en) | Deadlock restart system | |
| JPS63191246A (en) | Processing progress control system | |
| JPH04259045A (en) | Watchdog timer monitoring system | |
| JPS6339023A (en) | Automatic output system for reports to be distributed to same receiver | |
| JPH04286033A (en) | Dynamic alteration system for number of transaction processing tasks |