JPH02163827A - Started job waiting system - Google Patents
Started job waiting systemInfo
- Publication number
- JPH02163827A JPH02163827A JP63318845A JP31884588A JPH02163827A JP H02163827 A JPH02163827 A JP H02163827A JP 63318845 A JP63318845 A JP 63318845A JP 31884588 A JP31884588 A JP 31884588A JP H02163827 A JPH02163827 A JP H02163827A
- Authority
- JP
- Japan
- Prior art keywords
- job
- waiting
- started
- user program
- state
- 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
- 238000000034 method Methods 0.000 claims abstract description 15
- 238000012545 processing Methods 0.000 claims description 53
- 230000004044 response Effects 0.000 abstract 1
- 238000007405 data analysis Methods 0.000 description 5
- 230000004913 activation Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は計算機システムの起動したジョブの状態を監視
し、通知することによって一時停止中のユーザプログラ
ムを再実行させる起動ジョブ待合せ方式に関する。DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to an activated job waiting method for re-executing a suspended user program by monitoring and notifying the status of activated jobs in a computer system.
(従来の技術)
従来の計算機7ステムでは、起動したジョブの終了を待
って終了通知を受けたときに、−時停止中のユーザプロ
グラムを再実行させるという方式によりジョブとユーザ
プログラムとの間で同期をとっている。このため、起動
ジョブが終了するまでは停止中のユーザプログラムを動
作させることはできなかった。(Prior Art) In a conventional computer system, when a started job is finished and a completion notification is received, the suspended user program is re-executed. It's in sync. Therefore, a stopped user program cannot be started until the startup job is completed.
(発明が解決しよさとする課題〕
上述した従来の方式では起動したジョブの終了を待って
終了通知をユーザプログラムが受けるまで、ユーザプロ
グラムを再実行させることができなかった。このため、
ジョブ起動の要求を送出したユーザプログラムと、起動
させたジョブとの間での同期のとり方に融通性がないと
いう欠点があった。(Problem to be solved by the invention) In the conventional method described above, the user program cannot be re-executed until the user program receives the completion notification after waiting for the end of the started job.For this reason,
This method has a disadvantage in that there is no flexibility in how to synchronize the user program that sent the request to start a job and the job that has been started.
本発明の目的は、ユーザプログラムから動的にジョブを
起動し、ユーザプログラムが起動ジョブと同期をとるた
めの待合せ条件を登録するとともに待合せ条件を記憶し
ておき、ジョブ起動後、起動ジョブの状態が上記待合せ
条件に合致するまでユーザプログラムを待合せ状態とし
、待合せ条件が満たされたとき再実行を開始させること
により上記欠点を除去し、起動ジ■ブの状態の変化に計
算機システムを柔軟に対応できるように構成した起動ジ
ョブ待合せ方式を提供することにある。An object of the present invention is to dynamically start a job from a user program, register waiting conditions for the user program to synchronize with the started job, and store the waiting conditions. The above disadvantages are eliminated by keeping the user program in a waiting state until the above waiting condition is met, and starting re-execution when the waiting condition is met, allowing the computer system to flexibly respond to changes in the state of the startup jib. The object of the present invention is to provide a startup job queuing method configured to enable the following.
(課題を解決するための手段)
本発明によるジョブ待合せ方式はジョブ起動処理手段と
、待合せ条件登録処理手段と、待合せ条件記憶手段と、
ジョブ待合せ処理手段と、ジョブ起動処理手段と、ジョ
ブ状態通知処理手段と、待合せ条件判定処理手段と、待
合せジョブ再実行通知手段とを具備して構成したもので
ある。(Means for Solving the Problems) A job queuing method according to the present invention includes a job starting processing means, a queuing condition registration processing means, a queuing condition storage means,
The apparatus includes a job queuing processing means, a job starting processing means, a job status notification processing means, a queuing condition determination processing means, and a queuing job re-execution notification means.
ジョブ起動処理手段は、ユーザプログラムから動的にジ
ョブを起動するためのものである。The job starting processing means is for dynamically starting a job from a user program.
待合せ条件登録処理手段は、ユーザプログラムと起動さ
れたジョブとの間で同期をとるのに必要な待合せ条件を
登録するためのものである。The waiting condition registration processing means is for registering the waiting conditions necessary for synchronizing the user program and the activated job.
待合せ条件記憶手段は、待合せ条件を記憶するためのも
のである。The meeting condition storage means is for storing meeting conditions.
ジョブ待合せ処理手段はジョブの起動後、起動されたジ
ョブの状態が待合せ条件に合致するまでユーザプログラ
ムKi合せをさせ、待合せ条件が満されたときに再実行
を開始させるためのものである。The job queuing processing means is for, after starting a job, matching the user program Ki until the status of the started job matches a queuing condition, and starting re-execution when the queuing condition is met.
ジョブ起動処理手段は、ユーザプログラムから起動され
たジョブを実行するためのものである。The job activation processing means is for executing a job activated from a user program.
ジョブ状態通知処理手段は、起動ジョブの状態を通知す
るためのものである。The job status notification processing means is for notifying the status of the activated job.
待合せ条件判定処理手段は、起動ジョブからの状態通知
を受け、待合せ条件記憶手段により格納された待合せ条
件と、起動ジョブの状態とが合致するか否かを判定する
ためのものである。The waiting condition determination processing means receives a status notification from the activated job and determines whether or not the waiting condition stored in the waiting condition storage means matches the status of the activated job.
待合せジョブ再実行通知手段は、待合せ条件に起動ジョ
ブの状態が合致した場合、待合せているユーザプログラ
ムに再実行を通知するためのものである。The waiting job re-execution notification means is for notifying re-execution to the waiting user program when the state of the activated job matches the waiting condition.
(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.
第1図は、本発明による起動ジ呵ブ待合せ方式の一実施
例を示すブロック図である。4第1図において、1はジ
ョブ起動処理部、2は待合せ条件記憶部、3は待合せ条
件登録処理部、4はジョブ実行処理部、5は待合せ条件
判定処理部、6は起動ジョブ状態通知処理部、7はジョ
ブ待合せ処理部、8は待合せジ5プ再実行通知部、10
0は計算機システムである。FIG. 1 is a block diagram showing one embodiment of a start-up jib queuing method according to the present invention. 4 In FIG. 1, 1 is a job activation processing section, 2 is a waiting condition storage section, 3 is a waiting condition registration processing section, 4 is a job execution processing section, 5 is a waiting condition judgment processing section, and 6 is a starting job status notification processing section. 7 is a job waiting processing section; 8 is a waiting zip re-execution notifying section; 10
0 is a computer system.
第1図に示す実施例は、ユーザプログラムから動的に計
算扱システムlOOヘジョブの投入を依頼するジョブ起
動処理部lと、起動したジョブと同期をとって待合せを
するのに必要な待合せ条件を格納するための待合せ条件
記憶部2と、待合せ条件記憶手段2へ起動ジョブ待合せ
の条件を登録するための待付せ条件登録処理ff153
と、ジョブ起動処理部1より要求されたジョブを央竹す
るためのジョブ実行処理部4と、待合せ条件記憶部2に
格納されている待合せ条件と起動ジョブの状態とが合致
するか否かを判定するための待合せ条件判定処理部5と
、起動ジョブの状態が変化するごとに待合せ条件判定処
理部5に起動ジョブの状態を通知するための起動ジョブ
状態通知処理部6と、ジョブ起動要求後にユーザプログ
ラムを一時停止状態KL、起動ジョブが待合せ条件を満
たす状態になったときに再実行させるためのジョブ待合
せ処理部7と、待合せ条件判定処理部5よりジョブ待合
せ処理部7へ再実行の通知を送るfこめの待合せジョブ
再実行通知部8とによって構成されるものである。The embodiment shown in FIG. 1 includes a job startup processing unit l that dynamically requests submission of a job from a user program to a calculation processing system lOO, and a waiting condition necessary for synchronizing and waiting with the started job. Waiting condition registration processing ff153 for registering starting job waiting conditions in the waiting condition storage unit 2 for storing and in the waiting condition storage means 2
Then, the job execution processing section 4 executes the job requested by the job starting processing section 1, and checks whether or not the waiting conditions stored in the waiting condition storage section 2 match the status of the starting job. a waiting condition determination processing section 5 for making a determination; a starting job status notification processing section 6 for notifying the waiting condition determining processing section 5 of the starting job status each time the starting job status changes; Job waiting processing unit 7 for re-executing the user program when the user program is in the suspended state KL and the activated job is in a state that satisfies the waiting conditions, and notification of re-execution from the waiting condition determination processing unit 5 to job waiting processing unit 7 The job re-execution notifying unit 8 is comprised of a re-execution notifying unit 8 that sends a queuing job.
本方式は、計算機システム100で起動されたジョブの
状態を監視し、通知することによって、−時停止中にあ
るユーザプログラムを再実行させるための起動ジ5ブ待
合せ方式である。This method is a start-up waiting method for re-executing a user program that is currently stopped by monitoring and notifying the status of a job started in the computer system 100.
次に、本実施例の動作について、次に説明する。Next, the operation of this embodiment will be described below.
オンラインプログラムなどでデータの収集が完了すると
、データの分析あるいはデータの更新などの作業をバッ
チジョブとして、その処理を依頼するために、動的にシ
ステムジッブの投入を依頼する。その後、起動されたバ
ッチジョブの処理が終了したのを待りて、再度、オンラ
インプログラムの実行を開始する必要がある。When data collection is completed using an online program, etc., data analysis or data updating is performed as a batch job, and a system jib is dynamically requested to be processed. After that, it is necessary to wait for the started batch job to finish processing and then start executing the online program again.
例えば、バッチジョブの処理の中、データ分析処理が終
了したときに、オンラインプログラムを再実行させる。For example, during batch job processing, when data analysis processing is completed, the online program is re-executed.
その際、ジョブ起動処理部1によりジョブの投入を依頼
し、待合せ条件「データ分析が終了したとき、オンライ
ンプログラムを実行する。」を待合せ条件記憶部2へ格
納した後、ジョブ待合せ処理に対して制御を渡し、オン
ラインプログラムは一時停止状態になる。ジョブ起動処
理部1より実行要求を受けたジョブ実行処理部4は、当
該ジョブを実行する。At that time, the job startup processing unit 1 requests the submission of the job, stores the waiting condition “When data analysis is completed, execute the online program” in the waiting condition storage unit 2, and then responds to the job waiting process. Control is passed and the online program is suspended. The job execution processing unit 4 that receives the execution request from the job startup processing unit 1 executes the job.
実行中のジョブの状態が変るごとに、ジョブ状態通知処
理部6は待合せ条件判定処理部5に対してジョブの状態
を通知する。Every time the status of the job being executed changes, the job status notification processing section 6 notifies the waiting condition determination processing section 5 of the job status.
実行中のジョブの状態がデータ分析処理の終了となった
とき、待合せ条件処理部5では「データ分析処理終了通
知」を受け、待合せジョブ再実行通知部8に対して制御
を渡し、ジョブ待合せ処理部7に対してオンラインプロ
グラムの実行を通知する。When the status of the job being executed reaches the end of data analysis processing, the queuing condition processing section 5 receives the "notification of data analysis processing completion", passes control to the queuing job re-execution notification section 8, and starts the job queuing processing. The execution of the online program is notified to the unit 7.
(発明の効果)
以上説明したように本発明は、ユーザプログラムから動
的にジ凹ブを起動し、ユーザプログラムと起動ジョブと
の間で同期をとるための待合せ条件を登録するとともに
待合せ条件を記憶しておき、ジョブ起動後、起動ジョブ
の状態が上記待合せ条件に合致するまでユーザプログラ
ムを待合せ状態にし、待ち合せ条件が満たされたとき、
再実行を開始させることにより、プログラムから動的に
起動されたジョブの状態変化に対応するプログラムの待
合せができ、且つ、同期のとり方に融通性をもたせるこ
とができるという効果がある。(Effects of the Invention) As explained above, the present invention dynamically starts the job from the user program, registers the waiting conditions for synchronizing the user program and the starting job, and also registers the waiting conditions. After starting the job, the user program is kept in a waiting state until the status of the started job matches the above waiting condition, and when the waiting condition is met,
By starting re-execution, it is possible to wait for a program that corresponds to a change in the status of a job dynamically started from a program, and there is an effect that it is possible to provide flexibility in how to perform synchronization.
第1図は、本発明による起動ジョブ待合せ方式の一実施
例を示すブロック図である。
1・・・ジョブ起動処理部
2・・・待合せ条件記憶部
3・・・待合せ条件登録処理部
4・・・ジョブ実行処理部
・・・待合せ条件判定処理部
・・・起動ジョブ状態通知処理部
・・・ジョブ待合せ処理部
・・・待合せジョブ再実行通知部
00・・・計算機システムFIG. 1 is a block diagram showing an embodiment of a starting job queuing method according to the present invention. 1...Job activation processing section 2...Meeting condition storage section 3...Meeting condition registration processing section 4...Job execution processing section...Meeting condition determination processing section...Starting job status notification processing section ...Job queuing processing unit...Job re-execution notification unit 00...Computer system
Claims (1)
ムと前記起動されたジョブとの間で同期をとるのに必要
な待合せ条件を登録するための待合せ条件登録処理手段
と、前記待合せ条件を記憶するための待合せ条件記憶手
段と、前記ジョブの起動後、前記起動されたジョブの状
態が前記待合せ条件に合致するまで前記ユーザプログラ
ムに待合せをさせ、前記待合せ条件は満たされたときに
再実行を開始させるためのジョブ待合せ処理手段と、前
記ユーザプログラムから起動されたジョブを実行するた
めのジョブ実行処理手段と、前記起動ジョブの状態を通
知するためのジョブ状態通知処理手段と、前記起動ジョ
ブからの状態通知を受け、前記待合せ条件記憶手段によ
り格納された待合せ条件と前記起動ジョブの状態とが合
致するか否かを判定するための待合せ条件判定処理手段
と、前記待合せ条件に前記起動ジョブの状態が合致した
場合、前記待合せているユーザプログラムに再実行を通
知するための待合せジョブ再実行通知手段とを具備して
構成したことを特徴とする起動ジョブ待合せ方式。[Scope of Claims] Job starting processing means for dynamically starting a job from a user program, and registering a waiting condition necessary for synchronizing the user program and the started job. a waiting condition registration processing means, a waiting condition storage means for storing the waiting condition, and after starting the job, the user program causes the user program to wait until the status of the started job matches the waiting condition. , job queuing processing means for starting re-execution when the queuing condition is met; job execution processing means for executing the job started from the user program; and notification of the status of the started job. a job status notification processing means for receiving a status notification from the activated job, and a waiting condition for determining whether or not the waiting condition stored by the waiting condition storage unit matches the status of the activated job. The present invention is characterized by comprising: a determination processing means; and a waiting job re-execution notifying means for notifying the waiting user program of re-execution when the state of the activated job matches the waiting condition. Start job waiting method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63318845A JPH02163827A (en) | 1988-12-16 | 1988-12-16 | Started job waiting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63318845A JPH02163827A (en) | 1988-12-16 | 1988-12-16 | Started job waiting system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02163827A true JPH02163827A (en) | 1990-06-25 |
Family
ID=18103598
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63318845A Pending JPH02163827A (en) | 1988-12-16 | 1988-12-16 | Started job waiting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02163827A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2023543976A (en) * | 2020-10-13 | 2023-10-19 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Parallel task initialization on dynamic compute resources |
-
1988
- 1988-12-16 JP JP63318845A patent/JPH02163827A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2023543976A (en) * | 2020-10-13 | 2023-10-19 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Parallel task initialization on dynamic compute resources |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05216851A (en) | Method for high-speed communication between user program and operating system | |
| JPH02163827A (en) | Started job waiting system | |
| JPH01205343A (en) | System for resuming interruption of process in electronic computer system | |
| JPH03244040A (en) | Parallel run type debug system | |
| JPH0433127A (en) | Check point control system | |
| JPH06110708A (en) | Job temporary interruption system | |
| JP2566002B2 (en) | Task dispatching method | |
| JPH0512205A (en) | Computer system | |
| JPH064318A (en) | Error detecting system | |
| JPH04364563A (en) | Downloading control method | |
| JPH05204665A (en) | Method for automatically starting succeeding job | |
| JPH02113363A (en) | Time slice controlling system for multiprocessor system | |
| JPH02212965A (en) | Program loading system | |
| JPH0236455A (en) | Batch processing start control system | |
| JPH02259933A (en) | Job generating system | |
| JPS6354638A (en) | Deadlock releasing system | |
| JPH0594313A (en) | Timer management method | |
| JPS6380335A (en) | Starting system for background job | |
| JPS62113238A (en) | Correction system for program of electronic computer system | |
| JPH04247529A (en) | Program execution management system | |
| JPH02211575A (en) | Multi-processor type information processor | |
| JPH02201654A (en) | Break interruption control system for time sharing system | |
| JPH05342026A (en) | Multiprocessor and synchronization control system for multiprocessor | |
| JPH0934516A (en) | Programmable controller for sequence control | |
| JPH02151956A (en) | Command procedure starting system |