JPH02259933A - Job generating system - Google Patents

Job generating system

Info

Publication number
JPH02259933A
JPH02259933A JP8225389A JP8225389A JPH02259933A JP H02259933 A JPH02259933 A JP H02259933A JP 8225389 A JP8225389 A JP 8225389A JP 8225389 A JP8225389 A JP 8225389A JP H02259933 A JPH02259933 A JP H02259933A
Authority
JP
Japan
Prior art keywords
job
program
execution
stopping
information
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
JP8225389A
Other languages
Japanese (ja)
Inventor
Hiroko Momose
百瀬 裕子
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP8225389A priority Critical patent/JPH02259933A/en
Publication of JPH02259933A publication Critical patent/JPH02259933A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To make the operation of a system efficient by activating a job based on data concerning designated job activation when a job generating request is sent from a program during an execution, stopping the execution of the program, generating the other job from the program during the execution, and synchronizing the job. CONSTITUTION:A program 11 notifies an information group concerning the job activation to a job generation control means 12, and the job generation control means 12 notifies the activated information to a job activating means 13. The job activating means 13 requires the stop of the program 11 from a program stopping/restarting means 16, and then activates a job 14. At such a time, the job name and job serial numbers of the program are stored in a job control table 17. When the job is completed, a job completing means 15 references the information to the program which has generated the job stored into the job control table 17, requires the restart of the program from the program stopping/restarting means 16, and restarts the execution of the program.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はジョブ発生方式に関し、特に電子計算機におけ
る実行中プログラムからのジョブ発生方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a job generation method, and more particularly to a job generation method from a program being executed in an electronic computer.

(従来の技術) 従来、電子計算機における実行中のプログラムから別ジ
ョブを発生させるジョブ発生方式においては、発生させ
た側と発生させられた側のジョブは非同期に動作するも
のであった。
(Prior Art) Conventionally, in a job generation method in which a separate job is generated from a program being executed in a computer, the jobs on the generation side and the job on the generated side operate asynchronously.

(発明が解決しようとする課題) 上述した従来のジョブ発生方式では、実行中のプログラ
ムから別のジョブを発生させる場合、発生を要求したプ
ログラムの実行を一時停止し、発生させられたジョブが
終了したとき、発生を要求したプログラムの実行を再開
させる処理はできなかっな、すなわち、両者間で同期を
とることはできなかった。
(Problem to be Solved by the Invention) In the conventional job generation method described above, when a different job is generated from a program that is currently being executed, execution of the program that requested generation is temporarily stopped, and the generated job is terminated. When this happened, it was not possible to resume the execution of the program that had requested the start, that is, it was not possible to synchronize between the two.

このため、実行中のプログラムから他のジョブを発生さ
せ、発生させられたジョブの処理結果に基づいて発生を
要求したプログラムの処理を続けたい場合、ジョブ発生
を要求した後、プログラムを一旦終了させ、発生させら
れたジョブが終了したとき、改めてプログラムを再度起
動させなければならないという欠点があった。
Therefore, if you want to generate another job from a running program and continue processing the program that requested generation based on the processing results of the generated job, you must terminate the program once after requesting job generation. However, when the generated job is finished, the program has to be started again.

(課題を解決するための手段) 本発明によるジョブ発生方式は、実行中のプログラムか
らのジョブ発生要求が送出されたときに前記プログラム
で指定された前記ジョブ起動に関するデータを受け取る
第1の手段と、前記第1の手段で受け取ったデータを基
にジョブを起動させるとともに前記プログラムの実行を
停止せしめる第2の手段と、前記ジョブを終了させると
ともに前記プログラムの実行を再開せしめる第3の手段
とを備えることにより実行中のプログラムから別のジョ
ブを発生させ、かつ同期をとるようにした。
(Means for Solving the Problems) A job generation method according to the present invention includes a first means for receiving data regarding the job activation specified by the program when a job generation request is sent from the program being executed. , a second means for starting a job and stopping execution of the program based on the data received by the first means, and a third means for terminating the job and restarting execution of the program. By preparing the program, another job can be generated from the running program and synchronized.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は本発明によるジョブ発生方式を実現する一実施
例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the job generation method according to the present invention.

第1図において、本実施例はジョブ発生制御手段12と
、ジョブ起動手段13と、ジョブ終了手段15と、プロ
グラム停止/再開手段16と、ジョブ管理テーブル17
とを備えて構成される。
In FIG. 1, this embodiment includes a job generation control means 12, a job start means 13, a job end means 15, a program stop/restart means 16, and a job management table 17.
It is composed of:

第2図は、本実施例のジョブ発生方式に従ってジョブを
発生させた場合のジョブの流れを示す説明図である。
FIG. 2 is an explanatory diagram showing the flow of a job when a job is generated according to the job generation method of this embodiment.

第2図において、ジョブ発生を要求したプログラムは一
時実行が停止され、ジョブ発生要求によって起動された
ジョブが終了したとき実行が再開される。
In FIG. 2, execution of the program that requested job generation is temporarily stopped, and execution is resumed when the job started by the job generation request is completed.

第3図は、ジョブ管理テーブル17に格納される情報を
示す説明図であり、ジョブを示す種々の情報とともにジ
ョブを発生させたプログラムのジョブ名31およびジョ
ブ通し番号32およびジョブに関するその他の情報が格
納されている。
FIG. 3 is an explanatory diagram showing information stored in the job management table 17, in which the job name 31 of the program that generated the job, the job serial number 32, and other information regarding the job are stored together with various information indicating the job. has been done.

以下、第1図に示す実施例に従って実行中のプログラム
からジョブを発生させ、かつジョブの終了を待ち合わせ
る模様を説明する。
Hereinafter, a process of generating a job from a program being executed and waiting for the end of the job according to the embodiment shown in FIG. 1 will be described.

ジョブの発生および待ち合わせを要求するコマンドを含
むプログラム11では、上記コマンドを実行しジョブ起
動に関する情報群をジョブ発生制御手段12に通知する
The program 11, which includes commands for requesting job generation and waiting, executes the above commands and notifies the job generation control means 12 of a group of information regarding job activation.

ジョブ発生制御手段12では、プログラム11から通知
された起動情報をジョブ起動手段13に通知する。
The job generation control means 12 notifies the job starting means 13 of the starting information notified from the program 11.

ジョブ起動手段13では、プログラム停止/再開手段1
6にプログラム11.の停止を要求した上でジョブ14
を起動する。また、このとき、ジョブ管理テーブル17
内のジョブを発生させたプログラムの情報格納フィール
ド31.32にプログラムのジョブ名およびジョブ通し
番号を格納しておく。
In the job starting means 13, the program stopping/resuming means 1
6 to program 11. job 14 after requesting that it be stopped.
Start. Also, at this time, the job management table 17
The job name and job serial number of the program are stored in the information storage fields 31 and 32 of the program that generated the job.

ジョブが終了しなとき、ジョブ終了手段15では、ジョ
ブ管理テーブル17内に格納されたジョブを発生させた
プログラムの情報を参照し、プログラム停止/再開手段
16にプログラムの実行の再開を要求する。
When the job is not completed, the job termination means 15 refers to the information of the program that generated the job stored in the job management table 17, and requests the program stop/restart means 16 to resume execution of the program.

プログラム停止/再開手段16では、プログラムの実行
を再開させる。
The program stop/restart means 16 restarts the execution of the program.

(発明の効果) 以上説明したように本発明は、実行中のプログラムから
別のジョブを発生させ、ジョブの処理結果にもとづいて
プログラムでの処理を続けたい場合に、例えば、−旦プ
ログラムを終了させ、ジョブが終了した時点で改めてプ
ログラムを起動するというような面倒な制御を行うこと
なくジョブ終了までプログラムを待ち合わせさせること
ができる。その結果、本発明によればシステムの運用が
効率化されるという効果がある。特に、事務用オンライ
ンプログラムのように長時間にわたって立ち上げたまま
になっていることの多いプログラムにおいて有効である
(Effects of the Invention) As explained above, the present invention allows you to generate another job from a program that is being executed and to continue processing in the program based on the processing result of the job, for example, when the program is terminated once -. It is possible to make the program wait until the job ends without performing troublesome control such as restarting the program when the job ends. As a result, the present invention has the effect of streamlining the operation of the system. This is particularly effective for programs that are often left running for long periods of time, such as online office programs.

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

第1図は本発明によるジョブ発生方式を実現する一実施
例を示すブロック図、第2図は本発明によるジョブの流
れを示す説明図、第3図は第1図のジョブ管理テーブル
の詳細を示す説明図である。 11・・・プログラム、12・・・ジョブ発生制御手段
、13・・・ジョブ起動手段、14・・・ジョブ、15
・・・ジョブ終了手段、16・・・プログラム停止/再
開手段、17・・・ジョブ管理テーブル、31.32・
・・ジョブ発生を要求したプログラムに関する情報格納
フィールド。
FIG. 1 is a block diagram showing an embodiment of the job generation method according to the present invention, FIG. 2 is an explanatory diagram showing the flow of a job according to the present invention, and FIG. 3 shows details of the job management table shown in FIG. FIG. DESCRIPTION OF SYMBOLS 11... Program, 12... Job generation control means, 13... Job starting means, 14... Job, 15
...Job termination means, 16.Program stop/restart means, 17.Job management table, 31.32.
... Information storage field regarding the program that requested job generation.

Claims (1)

【特許請求の範囲】[Claims] 実行中のプログラムからのジョブ発生要求が送出された
ときに前記プログラムで指定された前記ジョブ起動に関
するデータを受け取る第1の手段と、前記第1の手段で
受け取ったデータを基にジョブを起動させるとともに前
記プログラムの実行を停止せしめる第2の手段と、前記
ジョブを終了させるとともに前記プログラムの実行を再
開せしめる第3の手段とを備えることにより実行中のプ
ログラムから別のジョブを発生させ、かつ同期をとるよ
うにしたことを特徴とするジョブ発生方式。
a first means for receiving data regarding the job start specified by the program when a job generation request is sent from the program being executed; and starting the job based on the data received by the first means. and a second means for stopping the execution of the program, and a third means for terminating the job and restarting the execution of the program, thereby generating another job from the program being executed and synchronizing the program. A job generation method characterized by taking the following steps.
JP8225389A 1989-03-31 1989-03-31 Job generating system Pending JPH02259933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8225389A JPH02259933A (en) 1989-03-31 1989-03-31 Job generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8225389A JPH02259933A (en) 1989-03-31 1989-03-31 Job generating system

Publications (1)

Publication Number Publication Date
JPH02259933A true JPH02259933A (en) 1990-10-22

Family

ID=13769278

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8225389A Pending JPH02259933A (en) 1989-03-31 1989-03-31 Job generating system

Country Status (1)

Country Link
JP (1) JPH02259933A (en)

Similar Documents

Publication Publication Date Title
WO2017193737A1 (en) Software testing method and system
JPH02259933A (en) Job generating system
JP2002259143A (en) Device and method for automatically controlling number of task, on-like transaction processing system and program
JPH09330223A (en) Method and device for executing processing to event-driven type server by corba
JP3220238B2 (en) Remote procedure simple execution method
JPH0433127A (en) Check point control system
JPH1115677A (en) Process controller
JPH04302022A (en) Control system for slip output processing
JPS63133232A (en) System for generating task discrimination name
JPS63170761A (en) Input/output controller for electronic computer
JPH01239655A (en) Virtual space control system
JPH06110708A (en) Job temporary interruption system
JPH0531779B2 (en)
JP2000029850A (en) Task controlling method using inter-processor communication of operating system
JPH02113363A (en) Time slice controlling system for multiprocessor system
JPH08212085A (en) Information processor and communication processor
JPS6197750A (en) Restart system for on-line job
JPH04353930A (en) Started parameter fetch control system
JPH04195358A (en) Executing method for program
JPH0650463B2 (en) Execution method of specific job after system termination command is submitted
JPS6277645A (en) Local job start control system
JPH0690671B2 (en) I / O device access method
JPH05204665A (en) Method for automatically starting succeeding job
JPH05289906A (en) Program tracking device
JPH0131223B2 (en)