JPH1115677A - Process controller - Google Patents

Process controller

Info

Publication number
JPH1115677A
JPH1115677A JP16883497A JP16883497A JPH1115677A JP H1115677 A JPH1115677 A JP H1115677A JP 16883497 A JP16883497 A JP 16883497A JP 16883497 A JP16883497 A JP 16883497A JP H1115677 A JPH1115677 A JP H1115677A
Authority
JP
Japan
Prior art keywords
derived
derivation
request
job
generation
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
JP16883497A
Other languages
Japanese (ja)
Inventor
Akihiko Hamamatsu
昭彦 浜松
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 JP16883497A priority Critical patent/JPH1115677A/en
Publication of JPH1115677A publication Critical patent/JPH1115677A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve operability and to facilitate the change of a derivative process form by generating a derivative process by job control language and additionally use process information of a derivative source at a derivative destination process. SOLUTION: A derivative source process 1 informs a job managing means 50 of the derivative request or the finish stand-by request of the derivative destination process 2 by the job control language of its own input stream file 10. The process 2 informs the means 50 of the finish of its own execution by the job control language of its own input stream file 20. The means 50 is provided with a derivative process control means 60 to receive a process generation request and a process finish stand-by request described in the job control language from the file 10 of the process 1 to control the generation, execution, finish and finish information of the process 2. Thereby, the generation of the derivative process is facilitated and even at the time of changing the state of the derivative process, changing is easy.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、マルチプロセス
のプロセス制御装置に関し、特にプロセスが有する入力
ストリームファイルのジョブ制御言語で派生要求された
プロセスを制御するプロセス制御装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a multi-process process control device, and more particularly to a process control device for controlling a process requested to be derived in a job control language of an input stream file of the process.

【0002】[0002]

【従来の技術】従来、運用中のプロセスが子プロセスの
派生を要求するとき、該プロセスの生成方法は、特開平
7−319715号公報に示されるように、資源管理木
を用いることによりジョブ単位で使用資源を事前に確保
することにより、ジョブ実行以前に使用資源を確保して
ジョブ実行環境を保証する階層型資源管理方法を開示し
ている。該公報では、システム全体の資源を管理する資
源管理ルートプロセスおよび資源管理プロセスをグルー
プ間の親子関係に従ってつないだ資源管理木を生成する
ことにより、新たな資源管理グループの生成時に、当該
資源管理グループで必要とする資源を、資源管理木に従
って、親の資源管理グループの保有する資源から事前に
配分することにより、ジョブ実行環境を保証する仕方で
ある。
2. Description of the Related Art Conventionally, when a running process requests the derivation of a child process, a method for generating the process is described in Japanese Patent Application Laid-Open No. 7-319715. Discloses a hierarchical resource management method that secures used resources before job execution and guarantees a job execution environment by securing used resources in advance. In this publication, a resource management tree process in which a resource management root process and a resource management process for managing resources of the entire system are connected according to a parent-child relationship between groups is generated. In this method, the resources required in the above are allocated in advance from the resources held by the parent resource management group in accordance with the resource management tree, thereby guaranteeing the job execution environment.

【0003】また、特開平7−200316号公報に示
されるように、親プロセスと子プロセスの親子関係を切
り離すための手段を提供することにより、当該所定個数
だけの子プロセスの生成時間の短縮を図る子プロセス生
成方式が開示されている。該公報では、第1世代プロセ
スと、少なくとも第3世代以降のプロセスとの親子関係
を切り離すことにより、第1世代プロセスが生成しよう
としている数の子プロセスの生成までの時間を短縮する
仕方である。
Further, as disclosed in Japanese Patent Application Laid-Open No. 7-200316, by providing a means for separating a parent-child relationship between a parent process and a child process, it is possible to reduce the generation time of the predetermined number of child processes. A scheme for generating child processes is disclosed. In this publication, the first generation process is separated from at least the third generation and subsequent processes in a parent-child relationship to reduce the time required for the first generation process to generate the number of child processes to be generated.

【0004】[0004]

【発明が解決しようとする課題】第1の問題点は、上述
の従来のプロセス生成方法では、親プロセスのプログラ
ムから子プロセスを生成しているため、派生プロセスや
派生元または派生先のプロセスのプログラム構造が変更
になった場合に、プログラムの再コンパイルや、プログ
ラムの見直しが必要となるので、派生元および派生先の
プロセス制御をプログラムの変更なしに容易に行えない
ことである。その理由は、プロセス派生手段が親プロセ
スのプログラム内からしか使用できないからである。
The first problem is that, in the above-described conventional process generation method, a child process is generated from a program of a parent process. When the program structure is changed, it is necessary to recompile the program and review the program, so that the process control of the derivation source and the derivation cannot be easily performed without changing the program. The reason is that the process derivation means can be used only from within the program of the parent process.

【0005】この発明の目的は、ジョブ制御言語によ
る、派生プロセス生成手段,派生プロセス終了通知手
段,派生プロセス終了待ち手段を設けることにより、操
作性の向上と、派生プロセス形態の変更を容易にするこ
とにある。
[0005] It is an object of the present invention to improve the operability and to easily change the form of a derived process by providing a derived process generating means, a derived process completion notifying means, and a derived process completion waiting means in a job control language. It is in.

【0006】[0006]

【課題を解決するための手段】この発明は、図1を参照
すると、プロセス制御装置のジョブ管理手段50におけ
る、プロセスの派生を要求する派生元プロセス1のジョ
ブ制御言語(以下JCLと呼ぶ)で記述した入力ストリ
ームファイル(以下ISFと呼ぶ)10の派生プロセス
生成要求11を派生プロセス生成要求解析手段52が受
け取り、プロセス目録70に派生先プロセス2と派生元
プロセス1の関係を示すプロセス派生関係情報71を登
録し、派生先プロセス2を生成するプロセス生成手段6
1と、ISF10における派生プロセス終了待ち要求1
2を受け取る派生プロセス終了待ち要求解析手段53
と、プロセス目録70のプロセス状態情報で、派生先プ
ロセス2が終了しているかどうか否かを判断し、派生元
プロセス1に派生先プロセス2の終了を適切に通知する
派生プロセス終了待ち手段63と、ISF20の派生プ
ロセス終了通知要求21を派生プロセス終了通知要求解
析手段54が受け取り、プロセス目録70の派生元プロ
セス識別番号712で、当該派生先プロセス2の派生元
プロセス1を調査し、その派生元プロセス1に対して派
生先プロセス2が終了したことを通知する派生プロセス
終了通知手段62と、プロセスごとに識別可能な番号を
設け、個々のプロセスに対するプロセス識別番号71
1,派生元プロセス1の派生元プロセス識別番号71
2,プロセスの状態を示すプロセス状態情報713を派
生元プロセス1と派生先プロセス2の関係を管理するプ
ロセス目録70のプロセス派生関係情報71,72に有
する。
Referring to FIG. 1, the present invention uses a job control language (hereinafter referred to as JCL) of a derivation source process 1 for requesting derivation of a process in a job management unit 50 of a process control device. Derived process generation request analysis means 52 receives the described derivation process generation request 11 of the input stream file (hereinafter referred to as ISF) 10 and stores process derivation relationship information indicating the relationship between the derivation destination process 2 and the derivation source process 1 in the process list 70. Process generating means 6 for registering the derivation destination process 2
1 and request 1 for waiting for termination of derived process in ISF10
Derived process end wait request analyzing means 53 receiving the request 2
And a derivation process end waiting means 63 for judging whether or not the derivation destination process 2 has ended based on the process status information of the process list 70 and appropriately notifying the derivation source process 1 of the end of the derivation destination process 2. , The derived process end notification request analysis means 54 receives the derived process end notification request 21 of the ISF 20, and checks the derived source process 1 of the derived destination process 2 with the derived source process identification number 712 of the process list 70, and Derived process end notifying means 62 for notifying process 1 that derivation destination process 2 has been completed, and a number that can be identified for each process, and a process identification number 71 for each process.
1, Derivation source process identification number 71 of derivation source process 1
2. Process status information 713 indicating the process status is included in the process derivation relationship information 71, 72 of the process list 70 for managing the relationship between the derivation source process 1 and the derivation destination process 2.

【0007】派生プロセス制御手段60の派生プロセス
生成手段61は、派生先プロセスを子プロセス、派生元
プロセスを親プロセスと関係付け、その関係をプロセス
目録70に登録し、派生元プロセス1のプロセス情報3
0を複製して、派生先プロセス2のプロセス情報40と
して生成する。派生プロセス終了通知手段62は、プロ
セス目録70より、派生先プロセス2のプロセス派生関
係情報71を取得し、その中から派生元プロセス識別番
号712を得て、その派生元プロセス1のプロセス状態
情報723を取得し、その中のプロセス状態情報723
が終了待ちをしている状態ならば、派生プロセス終了待
ち手段63を用いて、派生元プロセス1に派生先プロセ
ス2の終了を通知し、派生元プロセス1が終了待ち状態
でなければ、プロセス状態情報723に、派生先プロセ
ス2が終了したことを記憶する。派生プロセス終了待ち
手段63は、要求時に指定された待ち合わせるべきプロ
セスのプロセス派生関係情報71を取得し、その派生先
プロセス2が終了しているかどうかを調査し、終了して
いるとき、派生元プロセス1に通知し、終了していない
とき、派生先プロセス2の終了を待ち合わせる。
[0007] The derived process generation means 61 of the derived process control means 60 associates the derivation destination process with the child process and the derivation source process with the parent process, registers the relationship in the process list 70, and stores the process information of the derivation source process 1. 3
0 is duplicated and generated as the process information 40 of the derivation destination process 2. The derivation process end notification means 62 obtains the process derivation relationship information 71 of the derivation destination process 2 from the process list 70, obtains the derivation source process identification number 712 from the information, and obtains the process status information 723 of the derivation source process 1 And the process status information 723 in the
Is waiting for termination, the derived process termination waiting means 63 is used to notify the termination of the derivation source process 1 to the derivation source process 1. The fact that the derivation destination process 2 has ended is stored in the information 723. The derivation process end waiting means 63 acquires the process derivation relationship information 71 of the process to be waited for specified at the time of the request, checks whether or not the derivation destination process 2 has ended. 1 and waits for the termination of the derivation destination process 2 when it is not terminated.

【0008】[0008]

【発明の実施の形態題】次にこの発明の実施の形態につ
いて、図面を参照して詳細に説明する。プロセス制御装
置の構成を示す図1を参照すると、派生元プロセス1
は、ISF10内に記述されたJCLの内容に沿って動
作する。JCLの中で、新たに派生先プロセス2を生成
するために、派生プロセス生成要求11が記述されてい
る。JCL解析手段51内の派生プロセス生成要求解析
手段52によって、派生プロセス生成要求11が解析さ
れると、派生プロセス生成手段61に対して、派生先プ
ロセス2の生成要求を行う。派生プロセス生成手段61
は、プロセス目録70に新たに生成する派生先プロセス
2のプロセス識別番号711を割り当て、派生元プロセ
ス1の識別番号を派生元プロセス識別番号712に記録
する。続けて、作成した派生先プロセス2のプロセス情
報40を、派生元プロセス1の制御変数情報31やファ
イル記述情報32のプロセス情報30を複製して作成す
る。これが終了すると、派生プロセス生成手段61は、
派生元プロセス1に対して、派生先プロセス2のISF
20のJCLで、派生元プロセス1に派生先プロセス2
自身の終了を通知する派生プロセス終了通知要求22が
記述されている。
BEST MODE FOR CARRYING OUT THE INVENTION Next, embodiments of the present invention will be described in detail with reference to the drawings. Referring to FIG. 1 showing the configuration of the process control device, a derivation source process 1
Operates according to the contents of the JCL described in the ISF 10. In the JCL, a derived process creation request 11 is described in order to newly create a derived process 2. When the derived process generation request 11 is analyzed by the derived process generation request analysis unit 52 in the JCL analysis unit 51, a request for generation of the derivation destination process 2 is issued to the derived process generation unit 61. Derived process generation means 61
Assigns the process identification number 711 of the newly generated derivation destination process 2 to the process list 70, and records the identification number of the derivation source process 1 in the derivation source process identification number 712. Subsequently, the created process information 40 of the derivation destination process 2 is created by copying the control variable information 31 of the derivation source process 1 and the process information 30 of the file description information 32. When this is completed, the derived process generation means 61
Derived from process 1 and derived from process 2 ISF
Derivation source process 1 and derivation destination process 2 with 20 JCL
A derived process end notification request 22 for notifying the end of itself is described.

【0009】JCL解析手段51内の派生プロセス終了
通知要求解析手段54によって、派生プロセス終了通知
要求22が解析されると、派生プロセス終了通知手段6
2に対して、派生先プロセス2の終了通知を要求する。
派生プロセス終了通知手段62は、プロセス目録70内
の、派生先プロセス2のプロセス派生関係情報71か
ら、派生元プロセス識別番号712を取得する。取得し
た派生元プロセス識別番号712を基に、プロセス目録
70内のプロセス状態情報713を取得し、派生先プロ
セス2の終了をプロセス1に通知する。派生元プロセス
1のISF10のJCLで、派生先プロセス2の終了を
待ち合わせるために、待ち合わせる派生先プロセス2の
プロセス識別番号711に対する派生プロセス終了待ち
要求12が記述されている。JCL解析手段51内の派
生プロセス終了待ち要求解析手段53によって、派生プ
ロセス終了待ち要求12が解析されると、派生プロセス
終了待ち手段63に対して、派生先プロセス2の終了待
ちを要求する。派生プロセス終了待ち手段63は、指定
された派生先プロセス2のプロセス識別番号711を基
に、プロセス状態情報713を取得し、終了ならば、派
生先プロセス2が終了していることを、派生元プロセス
1に通知する。終了していなければ、終了まで待ち合わ
せる。
When the derived process end notification request 22 is analyzed by the derived process end notification request analyzing means 54 in the JCL analyzing means 51, the derived process end notifying means 6
2 is requested to notify the end of the derivation process 2.
The derivation process end notification means 62 acquires the derivation source process identification number 712 from the process derivation relationship information 71 of the derivation destination process 2 in the process list 70. Based on the obtained derivation source process identification number 712, the process status information 713 in the process list 70 is obtained, and the end of the derivation destination process 2 is notified to the process 1. In the JCL of the ISF 10 of the derivation source process 1, in order to wait for the termination of the derivation destination process 2, a derivation process end waiting request 12 for the process identification number 711 of the derivation destination process 2 to be waited for is described. When the derived process end waiting request 12 is analyzed by the derived process end waiting request analyzing means 53 in the JCL analyzing means 51, the derived process end waiting means 63 is requested to wait for the end of the derived destination process 2. The derivation process end waiting means 63 acquires the process state information 713 based on the process identification number 711 of the specified derivation destination process 2, and when the derivation destination process 2 is completed, it indicates that the derivation destination process 2 has been terminated. Notify process 1. If not finished, wait for the end.

【0010】次に、この実施の形態の動作について、派
生プロセス生成手段61の動作のフローチャートを示す
図4と,派生プロセス終了通知手段62のフローチャー
トを示す図5と,派生プロセス終了待ち手段63のフロ
ーチャートを示す図6と、を参照して説明する。ISF
10に記述された、派生プロセス生成要求11を解析し
たJCL解析手段51内の派生プロセス生成要求解析手
段52は、派生プロセス生成手段61に対して、派生プ
ロセス生成を要求する。派生プロセス生成要求11を受
け取った派生プロセス生成手段61は、図4に示す派生
プロセス生成手順を開始し、図2に示す新たなプロセス
派生関係情報71を作成し、新たに識別番号を付与し、
派生プロセス識別番号711に登録する(ステップ8
0)。また、派生元プロセス1の識別番号721を、派
生元プロセス識別番号712に登録する(ステップ8
1)。図3に示すプロセス情報30内の制御変数情報3
1やファイル記述情報32を複製して、派生先プロセス
2のプロセス情報40を生成する(ステップ82)。派
生プロセス生成要求11を行った派生元プロセス1に対
して、生成した派生先プロセス2のプロセス識別番号7
11を通知する(ステップ83)。ISF20に記述さ
れた派生プロセス終了通知要求22を解析したJCL解
析手段51内の派生プロセス終了通知要求解析手段54
は、派生プロセス終了通知手段62に対して、派生先プ
ロセス2の終了通知を要求する。派生プロセス終了通知
要求22を受け取った派生プロセス終了通知手段62
は、図5の派生プロセス終了通知手順を開始し(ステッ
プ90)、プロセス派生関係情報71内の、プロセス状
態情報713を終了状態にする(ステップ91)。プロ
セス派生関係情報71から、派生元プロセス識別番号7
12を取得し(ステップ92)、派生元プロセス1のプ
ロセス派生関係情報72から、プロセス状態情報723
を調べて、終了待ち状態ならば(ステップ43のは
い)、派生プロセス終了待ち手順を実行する(ステップ
94)。ISF10に記述された、派生プロセス終了待
ち要求12を解析した。JCL解析手段51内の派生プ
ロセス終了待ち要求解析手段53は、派生プロセス終了
待ち手順(図6のステップ94)を開始し、派生プロセ
ス終了待ち手段63に対して、指定されたプロセス識別
番号の派生先プロセス2の終了待ちを要求する。派生プ
ロセス終了待ち要求12の解析結果を受け取った派生プ
ロセス終了待ち手段63は、指定されたプロセス識別番
号711をもつプロセス派生関係情報71より、プロセ
ス状態情報713を取得する(ステップ941)。その
プロセス状態情報713が終了ならば(ステップ942
のはい)、終了通知を要求元である派生元プロセス1に
対して行い(ステップ943)、派生先プロセス2のプ
ロセス派生関係情報71を削除する(ステップ94
4)。
Next, regarding the operation of this embodiment, FIG. 4 showing a flowchart of the operation of the derived process generating means 61, FIG. 5 showing a flowchart of the derived process end notifying means 62, and FIG. This will be described with reference to FIG. 6 showing a flowchart. ISF
The derived process generation request analysis means 52 in the JCL analysis means 51 that has analyzed the derived process generation request 11 described in 10 requests the derived process generation means 61 to generate a derived process. Derived process generation means 61 which has received the derived process generation request 11 starts the derived process generation procedure shown in FIG. 4, creates new process derivation relationship information 71 shown in FIG. 2, assigns a new identification number,
Register in the derived process identification number 711 (step 8
0). Further, the identification number 721 of the derivation source process 1 is registered in the derivation source process identification number 712 (step 8).
1). Control variable information 3 in process information 30 shown in FIG.
1 and the file description information 32 are duplicated to generate the process information 40 of the derivation destination process 2 (step 82). For the derivation source process 1 that has issued the derivation process generation request 11, the process identification number 7 of the generated derivation destination process 2
11 is notified (step 83). Derived process end notification request analysis means 54 in JCL analysis means 51 which analyzed derived process end notification request 22 described in ISF 20
Requests the derivation process end notification means 62 to notify the end of the derivation process 2. Derived process end notification means 62 that has received the derived process end notification request 22
Starts the derivation process end notification procedure of FIG. 5 (step 90), and sets the process state information 713 in the process derivation relationship information 71 to the end state (step 91). From the process derivation relationship information 71, the derivation source process identification number 7
12 (step 92), and process status information 723 from the process derivation relationship information 72 of the derivation source process 1
Is checked, and if it is in the end wait state (Yes in step 43), a derivative process end wait procedure is executed (step 94). The derived process end wait request 12 described in the ISF 10 was analyzed. The derivation process end wait request analysis means 53 in the JCL analysis means 51 starts the derivation process end wait procedure (step 94 in FIG. 6), and instructs the derivation process end wait means 63 to derive the designated process identification number. Request the end of the previous process 2 to wait. Derived process end waiting means 63, which has received the analysis result of the derived process end waiting request 12, acquires the process state information 713 from the process derivation relationship information 71 having the designated process identification number 711 (step 941). If the process status information 713 is completed (step 942)
(Yes), an end notification is issued to the derivation source process 1 that is the request source (step 943), and the process derivation relationship information 71 of the derivation destination process 2 is deleted (step 94).
4).

【0011】次にこの実施の形態を例で示す図面を参照
して説明する。図7に示す業務実施形態では、まず派生
元にあたるプロセスのプログラム110によってファイ
ル120およびファイル121が出力され、また制御変
数130および制御変数131が更新される。このファ
イル120を入力し、制御変数130を参照することに
より動作する派生先のプロセスのプログラム111と、
ファイル121を入力し、制御変数131を参照するこ
とにより動作する派生先のプロセスのプログラム112
とが、プログラム110の派生先プロセスのプログラム
111,112として動作するとする。図7で示す業務
実施形態に、この発明を適用した例を示す図8を参照す
ると、派生元プロセス140を動作させるためのISF
141では、まずプログラム起動142が動作し、図7
におけるプログラム110が動作する。次に、派生プロ
セス生成要求143により、派生プロセス生成手段61
が実行され、派生先プロセス150が生成される。派生
先プロセス150が持つプロセス情報180には、派生
元プロセス140のプロセス情報170が複製されてい
る。これにより、プログラム起動152によって起動さ
れた派生先プロセスの図7におけるプログラム111
が、ファイル120および制御変数130を使用して動
作することができる。同様にして、派生プロセス生成要
求144によって、派生先プロセス160が生成され、
派生先プロセス160の図7におけるプログラム112
が動作する。派生先プロセス150は、派生プロセス終
了通知153によって、派生元プロセス140にプロセ
スの終了を通知し、派生元プロセス140は、派生プロ
セス終了待ち145により、これを受け取り、派生先プ
ロセス150の終了を待ち合わせる。同様にして、派生
プロセス終了待ち146により、派生プロセス終了通知
163を受け取り、派生先プロセス160の終了を待ち
合わせる。
Next, this embodiment will be described with reference to the drawings showing examples. In the business embodiment shown in FIG. 7, first, the file 120 and the file 121 are output by the program 110 of the process that is the derivation source, and the control variables 130 and 131 are updated. A program 111 of a derivation process that operates by inputting the file 120 and referring to the control variable 130,
Derivation destination process program 112 that operates by inputting file 121 and referring to control variable 131
Operate as the programs 111 and 112 of the derivation process of the program 110. Referring to FIG. 8 showing an example in which the present invention is applied to the business embodiment shown in FIG. 7, an ISF for operating the derivation source process 140 is provided.
In 141, the program start 142 operates first, and FIG.
The program 110 operates in. Next, the derived process generation means 61 is issued by the derived process generation request 143.
Is executed, and the derivation destination process 150 is generated. The process information 170 of the derivation source process 140 is duplicated in the process information 180 of the derivation destination process 150. Thereby, the program 111 in FIG. 7 of the derivation process started by the program start 152
Can operate using file 120 and control variables 130. Similarly, the derivation process 160 is generated by the derivation process generation request 144,
Program 112 in FIG. 7 of derivation destination process 160
Works. The derivation destination process 150 notifies the derivation source process 140 of the end of the process by the derivation process end notification 153, and the derivation source process 140 receives this by the derivation process end wait 145, and waits for the end of the derivation destination process 150. . Similarly, a derived process end notification 163 is received by the derived process end wait 146, and the end of the derived process 160 is waited for.

【0012】[0012]

【発明の効果】この発明の第1の効果は、ジョブ制御言
語によって派生プロセスの生成が行えることにより、容
易に派生プロセスの生成ができる。また、派生プロセス
の状態を変更する場合も変更が容易である。その理由
は、プログラム内から派生プロセスを生成する方法で
は、派生プロセスの形態を変更する場合に、派生元プロ
セスのプログラムの再コンパイルが必要になるが、この
発明ではそれが必要ではない。
A first effect of the present invention is that a derived process can be generated easily by using a job control language because the derived process can be generated. Also, when changing the state of the derived process, the change is easy. The reason is that in the method of generating a derived process from within a program, when the form of the derived process is changed, it is necessary to recompile the program of the derived process, but this is not necessary in the present invention.

【0013】更に、この発明の第2の効果は、派生元の
プロセス情報を派生先プロセスで利用することにより、
派生元プロセスの動作結果に基づいた動作を、派生先プ
ロセスによって実行させることができる。また、派生先
プロセスのプロセス情報を作成する時間が省略でき、プ
ロセス起動時間の短縮となる。その理由は、プロセスの
生成時にプロセス情報を複製して生成するためである。
[0013] Further, a second effect of the present invention is that the process information of the derivation source is used in the derivation destination process.
An operation based on the operation result of the derivation source process can be executed by the derivation target process. Further, the time for creating the process information of the derivation destination process can be omitted, and the process startup time can be reduced. The reason is that the process information is duplicated and generated when the process is generated.

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

【図1】この発明の実施の形態を示す図である。FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】図1のプロセス目録の構成を示す図である。FIG. 2 is a diagram showing a configuration of a process list of FIG. 1;

【図3】図1のプロセス情報の構成を示す図である。FIG. 3 is a diagram showing a configuration of process information of FIG. 1;

【図4】図1の派生プロセス生成手段のフローチャート
である。
FIG. 4 is a flowchart of a derived process generation unit of FIG. 1;

【図5】図1の派生プロセス終了通知手段のフローチャ
ートである。
FIG. 5 is a flowchart of a derivative process end notifying unit of FIG. 1;

【図6】図1の派生プロセス終了待ち手段のフローチャ
ートである。
FIG. 6 is a flowchart of a derivation process end waiting unit of FIG. 1;

【図7】プロセスを実行する業務実施形態の例示する図
である。
FIG. 7 is a diagram illustrating a business embodiment for executing a process.

【図8】図7に例示する業務実施形態に図1の実施の形
態を適用した図である。
FIG. 8 is a diagram in which the embodiment of FIG. 1 is applied to the business embodiment illustrated in FIG. 7;

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

1 派生元プロセス 2 派生先プロセス 10 入力ストリームファイル(ISF) 11 派生プロセス生成要求 12 派生プロセス終了待ち要求 20 入力ストリームファイル(ISF) 21 派生プロセス生成要求 22 派生プロセス終了通知要求 30 プロセス情報 40 プロセス情報 50 ジョブ管理手段 51 ジョブ制御言語解析手段 52 派生プロセス生成要求解析手段 53 派生プロセス終了待ち要求解析手段 54 派生プロセス終了通知要求解析手段 60 派生プロセス制御手段 61 派生プロセス生成手段 62 派生プロセス終了通知手段 63 派生プロセス終了待ち手段 70 プロセス目録 Reference Signs List 1 Derivation source process 2 Derivation destination process 10 Input stream file (ISF) 11 Derived process generation request 12 Derived process end wait request 20 Input stream file (ISF) 21 Derived process generation request 22 Derived process end notification request 30 Process information 40 Process information Reference Signs List 50 Job managing means 51 Job control language analyzing means 52 Derived process generation request analyzing means 53 Derived process end waiting request analyzing means 54 Derived process end notification request analyzing means 60 Derived process control means 61 Derived process generating means 62 Derived process end notifying means 63 Derived process end wait means 70 Process list

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 プロセスの生成,実行,終了を制御する
ジョブ管理手段を有するプロセス制御装置において、 第1のプロセスが、自身の入力ストリームファイルのジ
ョブ制御言語によって、前記ジョブ管理手段に第2のプ
ロセスの派生要求あるいは終了待ち要求を通知する手段
を備え、 前記第2のプロセスが、自身の入力ストリームファイル
のジョブ制御言語によって、自身の実行終了を前記ジョ
ブ管理手段に通知する手段を備え、 前記ジョブ管理手段が、前記第1のプロセスの入力スト
リームファイルからジョブ制御言語で記述されたプロセ
ス生成要求やプロセス終了待ち要求を受理して、前記第
2のプロセスの生成,実行,終了,終了通知を制御する
手段と、を備えてなることを特徴とするプロセス制御装
置。
1. A process control apparatus having a job management means for controlling generation, execution, and termination of a process, wherein a first process sends a second command to the job management means in a job control language of its own input stream file. Means for notifying a request for derivation of a process or a request for waiting for termination, wherein the second process includes means for notifying the job management means of the end of its own execution in a job control language of its own input stream file, Job management means receives a process creation request or a process termination wait request described in a job control language from the input stream file of the first process, and issues a notification of generation, execution, termination, and termination of the second process. Controlling means for controlling the process.
【請求項2】 前記ジョブ管理手段は、 制御下のプロセスからジョブ制御言語による要求を解析
するジョブ制御言語解析手段と、 前記解析の結果に基づいて、派生プロセスを制御する派
生プロセス制御手段と、 前記派生プロセスの制御情報を格納するプロセス目録
と、 を備えることを特徴とする請求項1記載のプロセス制御
装置。
2. A job control language analyzing means for analyzing a request in a job control language from a controlled process, a derived process control means for controlling a derived process based on a result of the analysis, The process control device according to claim 1, further comprising: a process list storing control information of the derived process.
【請求項3】 前記ジョブ制御言語解析手段は、 前記派生プロセス生成要求を解析する派生プロセス生成
要求解析手段と、 前記派生終了待ち要求を解析する派生プロセス終了待ち
要求解析手段と、 前記派生プロセス終了通知要求を解析する派生プロセス
終了通知解析手段と、 を備えることを特徴とする請求項2記載のジョブ管理手
段。
3. The job control language analyzing means, the derived process generation request analyzing means for analyzing the derived process generation request, the derived process end waiting request analyzing means for analyzing the derivation end waiting request, and the derived process end 3. The job management unit according to claim 2, further comprising: a derived process end notification analysis unit that analyzes the notification request.
【請求項4】 前記派生プロセス制御手段は、 前記派生プロセス生成要求解析手段の通知を受けて、派
生するプロセスのプロセス情報に前記プロセス目録を複
写する派生プロセス生成手段と、 前記派生プロセス終了待ち要求解析手段の通知を受け
て、派生するプロセスの終了を待ち受ける派生プロセス
終了待ち手段と、 前記派生プロセス終了通知要求解析手段の通知を受け
て、派生するプロセスの終了を通知する派生プロセス終
了通知手段と、 を備えることを特徴とする請求項2に記載するジョブ管
理手段。
4. The derived process control unit receives the notification of the derived process generation request analysis unit, and copies the process list into process information of the derived process. Derived process end waiting means for receiving the notification of the analyzing means and waiting for the end of the derived process; Derived process end notifying means for receiving the notification of the derived process end notification request analyzing means and notifying the end of the derived process; 3. The job management unit according to claim 2, comprising:
【請求項5】 前記プロセス目録は、 派生プロセス対応にプロセス派生関係情報が保持され
て、前記プロセス派生関係情報それぞれには、 派生プロセス自身のプロセス識別番号と、 派生を要求したプロセスを識別する派生元プロセス識別
番号と、 派生プロセス自体の実行待ち,実行,終了待ち,終了の
各状態を示すプロセス状態情報と、 を含むことを特徴とする請求項2記載のジョブ管理手
段。
5. The process list holds process derivation relationship information corresponding to a derivation process. Each of the process derivation relationship information includes a process identification number of the derivation process itself and a derivation for identifying a process that has requested derivation. 3. The job management unit according to claim 2, further comprising: an original process identification number; and process status information indicating each status of the derived process itself, such as execution wait, execution, end wait, and end.
JP16883497A 1997-06-25 1997-06-25 Process controller Pending JPH1115677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16883497A JPH1115677A (en) 1997-06-25 1997-06-25 Process controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16883497A JPH1115677A (en) 1997-06-25 1997-06-25 Process controller

Publications (1)

Publication Number Publication Date
JPH1115677A true JPH1115677A (en) 1999-01-22

Family

ID=15875394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16883497A Pending JPH1115677A (en) 1997-06-25 1997-06-25 Process controller

Country Status (1)

Country Link
JP (1) JPH1115677A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008186383A (en) * 2007-01-31 2008-08-14 Nec Corp User-level process controller having process management function, method for it, and program for it
US7596994B2 (en) 2004-11-09 2009-10-06 Honda Motor Co., Ltd. Device and method for inspecting connecting rod

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7596994B2 (en) 2004-11-09 2009-10-06 Honda Motor Co., Ltd. Device and method for inspecting connecting rod
JP2008186383A (en) * 2007-01-31 2008-08-14 Nec Corp User-level process controller having process management function, method for it, and program for it

Similar Documents

Publication Publication Date Title
JPH06202881A (en) Job step parallel execution system
JPH0512025A (en) Method for realizing interface between object-oriented languages
CN107707687A (en) A kind of method and apparatus of virtual machine IP address configuration
US5511194A (en) Processing system and processing method capable of dynamically replacing job environment
JP2003005979A (en) Automatic configuration for performance management tool
JP2007156613A (en) Drawing controller, drawing control method, storage medium and program
JPH1115677A (en) Process controller
JP3245151B2 (en) Page description language processing device and page description language processing printing device
US20020174173A1 (en) Self-downloading network client
JP3818396B2 (en) Printing system, print server, and information providing method thereof
JP2003312106A (en) Print controller, print controlling method, storage medium and program
JP2005275522A (en) Batch processing system
JP3274899B2 (en) Image processing system
JP2002041302A (en) Job operation management system and job schedule test method of the same system
JPH01248241A (en) Job generating system
JPH01140340A (en) Re-entrant processor
JPH0282313A (en) Attention processing method for system with coexisting full-screen mode and line mode
JPH1165914A (en) File transfer reception wait control system
JPS6079440A (en) Control system for message output from multitask
JP2000207231A (en) Virtual computer system and system outputting method
JP2001273128A (en) System for updating software on line
JPH02253336A (en) Program starting system
JPH04348438A (en) Using right control system
JPH03237528A (en) Parameter managing system
JP2000112697A (en) Printing controller, method for processing data by printing controller and storage medium in which program readable by computer is stored

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000229