JPH0689191A - Control system for job step execution system - Google Patents

Control system for job step execution system

Info

Publication number
JPH0689191A
JPH0689191A JP4105091A JP10509192A JPH0689191A JP H0689191 A JPH0689191 A JP H0689191A JP 4105091 A JP4105091 A JP 4105091A JP 10509192 A JP10509192 A JP 10509192A JP H0689191 A JPH0689191 A JP H0689191A
Authority
JP
Japan
Prior art keywords
job
information
computer system
execution system
peripheral device
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.)
Withdrawn
Application number
JP4105091A
Other languages
Japanese (ja)
Inventor
Nobuo Takahata
信雄 高畠
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 JP4105091A priority Critical patent/JPH0689191A/en
Publication of JPH0689191A publication Critical patent/JPH0689191A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To reduce the burden to a user and to effectively use a loosely-coupled computer system by preventing the occurrence of error due to misdesignation of a desired execution system to perform the control with one job step as the unit and throwing a job without taking the operation states of peripheral devices and computers into consideration. CONSTITUTION:When a job is thrown in, a job description analysis part 1 analyzes the job description and calls an execution system discriminating part 5 and refers to a peripheral device management information table 10 to generate job control information 13 which has management information of each job step where peripheral devices to be used are taken into consideration. A job control information management part 8 registers it in a job control information table 11 and updates any time by the operation condition of each computer system from a system state monitor part 7. A job step start part 9 selects and starts an executable job from the job control information table 11 by the report from the job control information management part 8 and a job step execution management part 23.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はジョブステップ実行シス
テム制御方式に関し、特に複数の計算機システムから構
成された疎結合計算機システムにおいて、投入ジョブの
実行システムを制御するジョブステップ実行システム制
御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a job step execution system control method, and more particularly to a job step execution system control method for controlling a job execution system in a loosely coupled computer system composed of a plurality of computer systems.

【0002】[0002]

【従来の技術】疎結合計算機システムでは、複数の計算
機システム間で共用できる外部記憶装置上にジョブの実
行に必要な入力データと共にジョブ制御情報を保持して
おき、このジョブ制御情報に基づいて各計算機システム
がジョブを選択して起動するスプーリング共用機能によ
り、複数の計算機システム間におけるジョブ実行制御を
実現しシステム資源の有効利用を図るようになってい
る。
2. Description of the Related Art In a loosely coupled computer system, job control information is held together with input data required for job execution on an external storage device that can be shared by a plurality of computer systems, and each job control information is stored based on this job control information. The spooling sharing function, in which the computer system selects and activates jobs, realizes job execution control among a plurality of computer systems and makes effective use of system resources.

【0003】従来の疎結合計算機システムにおける上述
のジョブ制御情報は、ジョブ投入時に実行システム情報
指定ジョブ制御文により指示されたジョブ単位の希望実
行システム情報(ジョブを実行させたい計算機システム
を指定するシステム番号、又は負荷分散のためどの計算
機システムで実行させてもよい旨を示す情報)を含んで
おり、この希望実行システム情報を基にそれぞれの計算
機システムがジョブを選択して起動していた。
The above-mentioned job control information in the conventional loosely coupled computer system is the desired execution system information for each job designated by the execution system information designation job control statement at the time of submitting a job (a system for designating a computer system to execute a job). number, or load which is executed by the computer system for distributed contains information) indicating that it may be, each computer system on the basis of the desired execution system information has been started by selecting the job.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のジョブ
ステップ実行システム制御方式では、各計算機システム
のジョブ起動部は、自計算機システムにおいてジョブの
実行が可能な状態となると、ジョブ制御情報に含まれる
希望実行システム情報のみに基づいてジョブを選択し起
動している。
In the above-described conventional job step execution system control method, the job starting unit of each computer system is included in the job control information when the job execution unit is ready to execute the job in the own computer system. A job is selected and started based only on the desired execution system information.

【0005】従って、投入されたジョブがある計算機シ
ステムには組み込まれていないかあるいは使用不可能な
状態にある周辺装置を使用するジョブであり、且つ希望
実行システム情報に設定された計算機システムにその周
辺装置が組み込まれていないかあるいは使用不可能な状
態にあったときは、その計算機システムでそのジョブが
起動されるとエラーとなる。又、上記と同様なジョブに
対して設定された希望実行システム情報が、そのジョブ
を負荷分散の対象としてどの計算機システムで実行させ
てもよい旨を示していた場合に、そのジョブを選択した
計算機システムに必要な周辺装置が組み込まれていない
かあるいは使用不可能な状態にあったときも、その計算
機システムでそのジョブが起動されるとエラーとなる。
Therefore, the input job is a job which uses a peripheral device which is not incorporated in a certain computer system or which is in an unusable state, and is set in the computer system set in the desired execution system information. When the peripheral device is not installed or is in the unusable state, an error occurs when the job is started in the computer system. If the desired execution system information set for a job similar to the above indicates that the job may be executed by any computer system for load balancing, the computer that selected the job An error will occur when the job is started on the computer system even if the peripheral device required for the system is not installed or is in a state where it cannot be used.

【0006】上述のような事態を避けるためには、利用
者が疎結合計算機システムを構成する各計算機システム
の周辺装置の構成情報や各周辺装置の状態を確認した後
に、必要な周辺装置が組み込まれ且つ使用可能な状態に
ある計算機システムを実行システム指定ジョブ制御文に
より指定しなければならないという欠点がある。
In order to avoid the above-mentioned situation, after the user confirms the configuration information of the peripheral devices of each computer system and the status of each peripheral device constituting the loosely coupled computer system, the necessary peripheral devices are installed. There is a drawback in that a computer system that is available and usable must be designated by the execution system designation job control statement.

【0007】又、ある計算機システムが稼働を停止した
場合や負荷が大きい場合には、その計算機システムで実
行するように指定されたジョブは、その計算機システム
の状態が回復するまでその実行を長時間待たされてしま
うという欠点がある。
When a certain computer system stops operating or the load is heavy, a job designated to be executed by that computer system will take a long time to be executed until the state of the computer system is restored. It has the drawback of being held up.

【0008】更に、実行システムの制御がジョブ単位で
あるため、時々刻々変化する疎結合計算機システムの状
態に対応した木目細かい制御ができない欠点がある。
Further, since the control of the execution system is performed on a job basis, there is a drawback that it is not possible to perform fine-grained control corresponding to the state of the loosely coupled computer system which changes from moment to moment.

【0009】本発明の目的は、上述の諸点に鑑み、疎結
合計算機システムを構成する各計算機システムの周辺装
置管理情報および稼働状態情報と、ジョブステップごと
の使用周辺装置情報および希望実行システム情報とに基
づき、ジョブステップごとに実行可能な計算機システム
を自動的に選択して実行させることができ、使用する周
辺装置が組み込まれていないかあるいは使用不可能な状
態にある計算機システムでジョブを実行させることによ
るエラーの発生を防止できると共に、特定の計算機シス
テムの異常時には自動的に他の計算機システムでの実行
を可能とし、利用者の負担を軽減しシステム資源の有効
活用が図れるジョブステップ実行システム制御方式を提
供することにある。
In view of the above points, an object of the present invention is to provide peripheral device management information and operating state information of each computer system that constitutes a loosely coupled computer system, and use peripheral device information and desired execution system information for each job step. Based on the above, it is possible to automatically select and execute an executable computer system for each job step, and execute a job on a computer system that does not have a peripheral device to be used or is in an unusable state. Job step execution system control that can prevent the occurrence of errors and can automatically execute on other computer systems when a specific computer system malfunctions, reducing the user's burden and effectively using system resources To provide a method.

【0010】[0010]

【課題を解決するための手段】本発明のジョブステップ
実行システム制御方式は、複数の計算機システム間で共
用できる外部記憶装置上に、投入されたジョブの実行に
必要な入力データと共にジョブを実行する計算機システ
ムの指定を含むジョブ制御情報を持ち、スプーリング共
用機能により各計算機システムがジョブを選択して起動
する疎結合計算機システムのジョブステップ実行システ
ム制御方式において、前記疎結合計算機システムを構成
する各計算機システムが、(A)計算機システムの立ち
上げ時に周辺装置の種類,稼働状況などの周辺装置管理
情報を前記外部記憶装置上に設定し、周辺装置の状況が
変化したとき前記周辺装置管理情報を更新する周辺装置
情報管理部と、(B)ジョブ投入時にジョブ記述中のフ
ァイル定義文および周辺装置割り当て要求文を解析し、
各ジョブステップにおいて使用する使用周辺装置情報を
取得する使用周辺装置情報解析部と、(C)ジョブ投入
時にジョブ記述中の実行システム指定ジョブ制御文を解
析し、ジョブステップごとの希望実行システム情報を取
得する希望実行システム情報解析部と、(D)ジョブス
テップごとに前記使用周辺装置情報解析部によって得ら
れた使用周辺装置情報と、前記外部記憶装置上に設定さ
れた各計算機システムの周辺装置管理情報と、前記希望
実行システム情報解析部によって得られた希望実行シス
テム情報とを基に、実行可能な計算機システムを判定し
実行させる計算機システムを示す実行システム情報を設
定する実行システム判定部と、(E)自計算機システム
の稼働および負荷状況を前記外部記憶装置上に登録し、
前記外部記憶装置上に保持されている各計算機システム
の稼働および負荷状況を監視するシステム状態監視部
と、(F)前記実行システム情報と前記使用周辺装置情
報とを含むジョブ制御情報を前記外部記憶装置上に登録
し、前記システム状態監視部からの通知により前記外部
記憶装置に登録されているジョブ制御情報に含まれる前
記実行システム情報を更新するジョブ制御情報管理部
と、(G)前記ジョブ制御情報管理部からジョブ登録通
知を受けたとき、及び自計算機システムのジョブの実行
を管理するジョブステップ実行管理部から通知を受けた
とき、前記外部記憶装置上に登録され管理されているジ
ョブ制御情報を検索し、自計算機システムで実行可能な
ジョブを選択して起動するジョブステップ起動部とを備
えて構成されている。
According to a job step execution system control method of the present invention, a job is executed on an external storage device that can be shared by a plurality of computer systems together with input data necessary for executing the submitted job. In the job step execution system control method of the loosely coupled computer system, which has job control information including designation of the computer system, each computer system selects and starts a job by the spooling sharing function. The computer system sets (A) peripheral device management information such as peripheral device types and operating statuses on the external storage device when the computer system is started up, and when the peripheral device status changes, the peripheral device management information is stored. Peripheral device information management section to be updated, and (B) file definition statement and Analyzing the peripheral device allocation request statement,
A peripheral device information analysis unit that acquires used peripheral device information used in each job step, and (C) analyzes the execution system specified job control statement in the job description when the job is submitted, and outputs the desired execution system information for each job step. Desired execution system information analysis unit to be acquired, (D) Peripheral device information used by the used peripheral device information analysis unit for each job step, and peripheral device management of each computer system set on the external storage device Based on the information and the desired execution system information obtained by the desired execution system information analysis unit, an execution system determination unit that determines execution system information and sets execution system information indicating a computer system to be executed, E) Registering the operation and load status of the own computer system on the external storage device,
A system state monitoring unit for monitoring the operation and load status of each computer system held on the external storage device, and (F) job control information including the execution system information and the used peripheral device information is externally stored. A job control information management unit that is registered on the apparatus and updates the execution system information included in the job control information registered in the external storage device according to the notification from the system state monitoring unit; and (G) the job control Job control information registered and managed in the external storage device when a job registration notification is received from the information management unit and when a job step execution management unit that manages the execution of jobs in the local computer system is notified. And a job step starting unit that selects and starts a job that can be executed by the own computer system.

【0011】[0011]

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

【0012】図1は本発明の一実施例の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【0013】本実施例のジョブステップ実行システム制
御方式は、疎結合計算機システムを構成する各計算機シ
ステムに、図1に示すように、ジョブ記述解析部1,実
行システム判定部5,周辺装置情報管理部6,システム
状態監視部7,ジョブ制御情報管理部8及びジョブステ
ップ起動部9を含み、各計算機システムから共用できる
外部記憶装置上に、周辺装置管理情報テーブル10,ジ
ョブ制御情報テーブル11及びシステム状態テーブル1
2を備えて構成されている。
According to the job step execution system control method of this embodiment, as shown in FIG. 1, a job description analysis unit 1, an execution system determination unit 5, and a peripheral device information management are provided in each computer system constituting a loosely coupled computer system. A peripheral device management information table 10, a job control information table 11 and a system on an external storage device that includes a unit 6, a system state monitoring unit 7, a job control information management unit 8 and a job step activation unit 9 and can be shared by each computer system. State table 1
2 is provided.

【0014】ジョブ記述解析部1は、希望実行システム
情報解析部2,使用周辺装置情報解析部3及びその他ジ
ョブ記述解析部4とから構成され、ジョブ投入時にジョ
ブ記述を解析してジョブ制御情報13を作成する。ジョ
ブ制御情報13には、ジョブ名14,ジョブステータス
15と、各ジョブステップごとのジョブステップ番号1
6,希望実行システム情報17,実行可能システム情報
18,実行システム情報19及び使用周辺装置情報20
とが含まれている。
The job description analysis unit 1 is composed of a desired execution system information analysis unit 2, a peripheral device information analysis unit 3 and other job description analysis unit 4. The job description analysis unit 1 analyzes the job description when the job is submitted and the job control information 13 To create. The job control information 13 includes a job name 14, a job status 15, and a job step number 1 for each job step.
6, desired execution system information 17, executable system information 18, execution system information 19 and used peripheral device information 20
And are included.

【0015】周辺装置管理情報テーブル10,ジョブ制
御情報テーブル11及びシステム状態テーブル12は、
図2に示すように、複数の計算機システム間で共用して
いる外部記憶装置24上に保持されている。周辺装置管
理情報テーブル10及びシステム状態テーブル12に
は、それぞれ各計算機システムの周辺装置の状態および
システムの稼働状態が格納され、ジョブ制御情報テーブ
ル11は、実行待ち又は実行中であるジョブのジョブ制
御情報13を保持する複数のエントリーから構成されて
いる。なお、図2には2台の計算機システムのみを示し
てあるが、以下の説明においては、m(自然数)は自計
算機システムのシステム番号を、n(自然数)は任意の
他計算機システムのシステム番号をそれぞれ示すものと
する。
The peripheral device management information table 10, the job control information table 11 and the system status table 12 are
As shown in FIG. 2, it is held in an external storage device 24 shared by a plurality of computer systems. The peripheral device management information table 10 and the system status table 12 respectively store the peripheral device status and system operating status of each computer system, and the job control information table 11 is for job control of jobs waiting or being executed. It is composed of a plurality of entries holding information 13. Although only two computer systems are shown in FIG. 2, in the following description, m (natural number) is the system number of the own computer system, and n (natural number) is the system number of any other computer system. , Respectively.

【0016】次に、本実施例の動作を図面を参照して詳
細に説明する。
Next, the operation of this embodiment will be described in detail with reference to the drawings.

【0017】各計算機システムは、システム立ち上げ時
および状態が変化したときに、周辺装置情報管理部6及
びシステム状態監視部7が、自計算機システムmの周辺
装置管理情報およびシステム稼働状態情報を、それぞれ
主記憶装置内のテーブル管理領域21と共に、外部記憶
装置24上の周辺装置管理情報テーブル10及びシステ
ム状態テーブル12内の自計算機システム用の領域に設
定および更新する。
In each computer system, the peripheral device information management unit 6 and the system status monitoring unit 7 provide the peripheral device management information and the system operating status information of its own computer system m when the system is started up and when the status changes. The table management area 21 in the main storage device is set and updated in the area for the own computer system in the peripheral device management information table 10 and the system status table 12 in the external storage device 24, respectively.

【0018】ジョブが投入されると、ジョブ入力部22
が実行システム指定ジョブ制御文,ファイル定義文,周
辺装置割り当て要求文等を含むジョブ記述を読み取り、
これをジョブ記述解析部1が、希望実行システム情報解
析部2,使用周辺装置情報解析部3及びその他ジョブ記
述解析部4を用いて解析する。
When a job is input, the job input section 22
Reads the job description including the execution system specified job control statement, file definition statement, peripheral device allocation request statement,
The job description analysis unit 1 analyzes this using the desired execution system information analysis unit 2, the used peripheral device information analysis unit 3, and the other job description analysis unit 4.

【0019】希望実行システム情報解析部2は、ジョブ
記述中の実行システム指定ジョブ制御文($ NEED
文)を解析する。図3に、実行システム指定ジョブ制御
文の構文,システムパラメータの意味およびジョブ記述
中における記述される位置を示す。ここでシステムパラ
メータ値k(自然数)は、ジョブを実行させる計算機シ
ステム(希望実行システム)のシステム番号を示してい
る。又、システムパラメータ値ANYは、ジョブをどの
計算機システムで実行させてもよいことを示している。
実行システム指定ジョブ制御文は、図3に示すように、
ジョブに対して指定することもできるし、各ジョブステ
ップごとに指定することもできる。
The desired execution system information analysis unit 2 executes the execution system designation job control statement ($ NEED) in the job description.
Sentence) is analyzed. FIG. 3 shows the syntax of the execution system specified job control statement, the meaning of the system parameter, and the position described in the job description. Here, the system parameter value k (natural number) indicates the system number of the computer system (desired execution system) that executes the job. The system parameter value ANY indicates that the job may be executed by any computer system.
The execution system specified job control statement is as shown in FIG.
It can be specified for the job or for each job step.

【0020】希望実行システム情報解析部2は、図4の
フローチャートに示すように、ジョブ記述を受けると一
時記憶域にパラメータ値ANYを格納し(処理40
0)、実行システム指定ジョブ制御文が指定されていれ
ば(処理401)、そのシステムパラメータ値を得て
(処理402)、正当性をチェックし(処理403)、
その実行システム指定ジョブ制御文がジョブステップ1
の前にありジョブ全体に対する指定であれば(処理40
4)、そのパラメータ値を一時記憶域に格納する(処理
405)。その実行システム指定ジョブ制御文がジョブ
ステップ1より以降であれば(処理404)、当該ジョ
ブステップの希望実行システム情報17にそのパラメー
タ値を設定する(処理406)。当該ジョブステップに
有効な実行システム指定ジョブ制御文が指定されていな
ければ(処理401,403)、上述の一時記憶域から
パラメータ値を得て当該ジョブステップの希望実行シス
テム情報17に設定する(処理407)。以上により、
ジョブ全体に対する指定があれば各ジョブステップの希
望実行システム情報17にその指定したパラメータ値が
登録され、ジョブステップに対する指定があれば、その
ジョブステップの希望実行システム情報17にはその指
定したパラメータ値が登録され、全く指定のないときに
は希望実行システム情報17にANYが登録されること
になる。
When the job description is received, the desired execution system information analysis unit 2 stores the parameter value ANY in the temporary storage area (process 40).
0), if the execution system designation job control statement is designated (process 401), the system parameter value is obtained (process 402), and the validity is checked (process 403),
The execution system specified job control statement is job step 1
If there is a designation for the entire job before
4) The parameter value is stored in the temporary storage area (process 405). If the execution system designation job control statement is after the job step 1 (process 404), the parameter value is set in the desired execution system information 17 of the job step (process 406). If a valid execution system designation job control statement is not designated for the job step (process 401, 403), the parameter value is obtained from the temporary storage area and set in the desired execution system information 17 of the job step (process. 407). From the above,
If there is a designation for the entire job, the designated parameter value is registered in the desired execution system information 17 of each job step, and if there is a designation for the job step, the designated parameter value is registered in the desired execution system information 17 of the job step. Is registered, and if there is no designation at all, ANY will be registered in the desired execution system information 17.

【0021】使用周辺装置情報解析部3は、各ジョブス
テップごとにジョブ記述中のファイル定義文,装置割り
当て要求文を解析し、実行に必要な周辺装置の装置タイ
プ等の使用周辺装置情報を得て、ジョブ制御情報13中
の当該ジョブステップの使用周辺装置情報20に設定す
る。
The used peripheral device information analysis unit 3 analyzes the file definition statement and the device allocation request statement in the job description for each job step to obtain the used peripheral device information such as the device type of the peripheral device necessary for execution. Then, it is set in the used peripheral device information 20 of the job step in the job control information 13.

【0022】その他ジョブ記述解析部4は、実行システ
ム指定ジョブ制御文,ファイル定義文,装置割り当て要
求文を除いたジョブ記述を解析する。
The other job description analysis unit 4 analyzes the job description excluding the execution system designation job control statement, the file definition statement, and the device allocation request statement.

【0023】各ジョブステップのジョブ記述をすべて解
析すると、ジョブ記述解析部1は、実行システム判定部
5を呼び出し、後述する方法によりジョブステップ番号
16に対応する実行可能システム情報18と実行システ
ム情報19とを設定させる。全ジョブステップの解析を
終えジョブ制御情報13が完成すると、ジョブ記述解析
部1は、ジョブ制御情報管理部8にジョブ入力通知を送
りジョブ制御情報13を渡す。
When all the job descriptions of each job step are analyzed, the job description analysis unit 1 calls the execution system determination unit 5 and the executable system information 18 and the execution system information 19 corresponding to the job step number 16 by the method described later. And set. When the analysis of all job steps is completed and the job control information 13 is completed, the job description analysis unit 1 sends a job input notification to the job control information management unit 8 and passes the job control information 13.

【0024】実行システム判定部5は、各ジョブステッ
プごとにまず使用周辺装置情報20と周辺装置管理情報
テーブル10中の周辺装置管理情報に基づいてジョブの
実行に必要なすべての周辺装置が構成されていて使用可
能な状態にある計算機システム、すなわちジョブの実行
が可能な計算機システムをすべて検索し、検索したシス
テム番号のすべてを実行可能システム情報18に設定し
(処理501)、実行可能な計算機システムの数を判定
する(処理502)。実行可能な計算機システムが一つ
であれば、検索された計算機システムのシステム番号を
実行システム情報19に設定する(処理503)。実行
可能な計算機システムが複数あれば、希望実行システム
情報17に特定のシステム番号が設定されているか、A
NYが設定されているかを判定する(処理504)。特
定のシステム番号が設定されていれば、希望実行システ
ム情報17のシステム番号が実行可能システム情報18
に含まれているか否かを判定する(処理505)。含ま
れていれば、希望実行システム情報17のシステム番号
を実行システム情報19に設定し(処理506)、含ま
れていなければ、実行可能システム情報18のすべての
システム番号を実行システム情報19に設定し(処理5
07)、負荷分散の対象とする。処理504の判定で、
希望実行システム情報17にANYが設定されていれ
ば、実行可能システム情報18のすべてのシステム番号
を実行システム情報19に設定し(処理507)、負荷
分散の対象とする。処理502の判定で、実行可能シス
テムが一つもなければ、エラーとして当該ジョブ全体を
削除し(処理508)、その旨を利用者に通知する(処
理509)。
For each job step, the execution system determination unit 5 first configures all peripheral devices necessary for executing the job based on the peripheral device information 20 used and the peripheral device management information in the peripheral device management information table 10. Available computer systems, that is, all computer systems capable of executing jobs are searched, all the retrieved system numbers are set in the executable system information 18 (process 501), and the executable computer system is set. The number of is determined (process 502). If there is only one executable computer system, the system number of the retrieved computer system is set in the execution system information 19 (process 503). If there are multiple executable computer systems, is a specific system number set in the desired execution system information 17?
It is determined whether NY is set (process 504). If a specific system number is set, the system number of the desired execution system information 17 is the executable system information 18
It is determined whether or not it is included in (step 505). If it is included, the system number of the desired execution system information 17 is set in the execution system information 19 (process 506). If it is not included, all system numbers of the executable system information 18 are set in the execution system information 19. (Process 5
07), which is the target of load balancing. In the determination of processing 504,
If ANY is set in the desired execution system information 17, all the system numbers of the executable system information 18 are set in the execution system information 19 (process 507), and are subject to load balancing. If there is no executable system in the determination of process 502, the entire job is deleted as an error (process 508) and the user is notified of that (process 509).

【0025】システム状態監視部7は、自計算機システ
ムmのシステム稼働状態に変更があれば、その都度シス
テム状態テーブル12を更新するほか、図6に示すよう
に、定期的にシステム状態テーブル12から他計算機シ
ステムnの稼働状況を取得し(処理601)、他計算機
システムnが稼働していない場合(処理602)、又は
他計算機システムnが過負荷状態である場合(処理60
3)、システムn異常発生通知をジョブ制御情報管理部
8に送り(処理604)、他計算機システムnが稼働し
ていて負荷状況に余裕がある場合には、システムn正常
稼働通知をジョブ制御情報管理部8に送る(処理60
5)。
The system status monitoring unit 7 updates the system status table 12 whenever the system operating status of the computer system m is changed, and periodically updates the system status table 12 from the system status table 12 as shown in FIG. When the operating status of the other computer system n is acquired (process 601) and the other computer system n is not running (process 602), or when the other computer system n is in an overloaded state (process 60).
3), the system n abnormality occurrence notification is sent to the job control information management unit 8 (process 604), and when the other computer system n is operating and there is a margin in the load status, the system n normal operation notification is sent to the job control information. Send to management unit 8 (process 60)
5).

【0026】ジョブ制御情報管理部8は、図7に示すよ
うに、ジョブ記述解析部1又はシステム状態監視部7か
ら通知を受けると(処理701)、その通知の種類を判
定する(処理702)。通知がジョブ入力通知であれ
ば、作成されたジョブ制御情報13をジョブ制御情報テ
ーブル11へ登録し(処理703)、ジョブ登録通知を
ジョブステップ起動部9に送る(処理704)。通知が
システムn異常発生通知であれば、ジョブ制御情報テー
ブル11から実行システム情報19にシステム番号nを
含むシステム番号が設定され、ジョブステータス15が
起動待ちの状態であるジョブ制御情報13をすべて検索
し(処理705)、検索した当該ジョブ制御情報13中
の実行可能システム情報18に登録されているシステム
番号nを除くすべてのシステム番号を実行システム情報
19に再設定し(処理706)、変更した実行システム
情報19を含む当該ジョブ制御情報13によりジョブ制
御情報テーブル11を更新し(処理703)、ジョブ登
録通知をジョブステップ起動部9に送る(処理70
4)。通知がシステムn正常稼働通知であれば、ジョブ
制御情報テーブル11から実行可能システム情報18に
システム番号nを含むシステム番号が設定され、ジョブ
ステータス15が実行待ちの状態であるジョブ制御情報
13をすべて検索し(処理707)、実行システム判定
部5を呼び出してその機能を用いて当該ジョブ制御情報
13中の実行可能システム情報18と実行システム情報
19とを再設定し(処理708)、再設定した実行可能
システム情報18と実行システム情報19とを含む当該
ジョブ制御情報13によりジョブ制御情報テーブル11
を更新し(処理703)、ジョブ登録通知をジョブステ
ップ起動部9に送る(処理704)。以上により、各計
算機システムの稼働状態や周辺装置の状態に変化があれ
ば、これに対応してジョブ制御情報テーブル11中の実
行待ち状態のジョブ制御情報13が遅滞なく更新され
る。
As shown in FIG. 7, when the job control information management unit 8 receives a notification from the job description analysis unit 1 or the system state monitoring unit 7 (process 701), it determines the type of the notification (process 702). . If the notification is a job input notification, the created job control information 13 is registered in the job control information table 11 (process 703), and a job registration notification is sent to the job step activation unit 9 (process 704). If the notification is a system n error occurrence notification, the system number including the system number n is set in the execution system information 19 from the job control information table 11 and the job status 15 is searched for all the job control information 13 in the waiting state for starting. Then, all the system numbers except the system number n registered in the executable system information 18 in the retrieved job control information 13 are reset in the execution system information 19 (process 706) and changed. The job control information table 11 is updated with the job control information 13 including the execution system information 19 (process 703), and a job registration notification is sent to the job step activation unit 9 (process 70).
4). If the notification is the system n normal operation notification, a system number including the system number n is set in the executable system information 18 from the job control information table 11, and all the job control information 13 whose job status 15 is waiting for execution is set. A search is performed (process 707), the execution system determination unit 5 is called, the executable system information 18 and the execution system information 19 in the job control information 13 are reset using the function (process 708), and reset. The job control information table 11 includes the job control information 13 including the executable system information 18 and the execution system information 19.
Is updated (step 703), and a job registration notification is sent to the job step activation unit 9 (step 704). As described above, if there is a change in the operating state of each computer system or the state of peripheral devices, the job control information 13 in the execution waiting state in the job control information table 11 is updated without delay in response to the change.

【0027】ジョブステップ起動部9は、図8に示すよ
うに、ジョブ制御情報管理部8又はジョブステップ実行
管理部23から通知を受けると(処理801)、その種
類を判定する(処理802)。通知がジョブ制御情報管
理部8からのジョブ登録通知ならば、テーブル管理領域
21から自計算機システムmの負荷状況を取得し、負荷
状況に余裕があり(処理803)、更にジョブ制御情報
テーブル11に自計算機システムmで実行可能なジョ
ブ、すなわち自計算機システムmのシステム番号「m」
が実行システム情報19に含まれ、且つジョブステータ
ス15が起動待ちの状態であるジョブが登録されていれ
ば(処理804)、その中から適当な(例えば先に登録
された)ジョブを選択して起動し(処理805)、ジョ
ブステップ実行管理部23にジョブステップ起動通知を
送り(処理806)、起動したジョブのジョブステータ
ス15を実行中にし(処理807)、テーブル管理領域
21内の多重度カウンタを1だけ増やす(処理80
8)。いま、ジョブ制御情報テーブル11が図9に示す
状態であったとすると、ジョブステータス15が実行待
ちのジョブb,ジョブd,ジョブeが起動の選択対象と
なる。ここでジョブbが選択され起動されたとすると、
そのジョブステータス15が実行中に更新される。
As shown in FIG. 8, when the job step activation unit 9 receives a notification from the job control information management unit 8 or the job step execution management unit 23 (process 801), it determines the type of the process (process 802). If the notification is a job registration notification from the job control information management unit 8, the load status of the computer system m is acquired from the table management area 21 and there is a margin in the load status (process 803). Jobs that can be executed on the local computer system m, that is, the system number "m" of the local computer system m
Is included in the execution system information 19 and a job whose job status 15 is waiting for activation is registered (process 804), an appropriate (for example, previously registered) job is selected from among them. The job is started (process 805), a job step start notification is sent to the job step execution management unit 23 (process 806), the job status 15 of the started job is set to running (process 807), and the multiplicity counter in the table management area 21 is set. Is incremented by 1 (process 80
8). Now, assuming that the job control information table 11 is in the state shown in FIG. 9, the job status 15, the job b, the job d, and the job e waiting to be executed are selected for activation. If job b is selected and started here,
The job status 15 is updated during execution.

【0028】通知がジョブステップ実行管理部23から
のジョブステップ終了通知ならば、当該ジョブのジョブ
ステータス15のジョブステップ番号に1を加えて起動
待ちにして(処理809)、テーブル管理領域21内の
多重度カウンタを1だけ減らし(処理811)、以下上
述したジョブ登録通知の場合と同様の処理を行う(処理
803〜808)。通知がジョブ終了通知ならば、当該
ジョブのジョブ制御情報13をジョブ制御情報テーブル
11から削除し(処理810)、テーブル管理領域21
内の多重度カウンタを1だけ減らし(処理811)、以
下同様の処理を行う(処理803〜808)。
If the notification is a job step end notification from the job step execution management unit 23, 1 is added to the job step number of the job status 15 of the job to wait for start (process 809), and the table management area 21 The multiplicity counter is decremented by 1 (process 811), and the same process as the above-described job registration notification is performed (processes 803 to 808). If the notification is a job end notification, the job control information 13 of the job is deleted from the job control information table 11 (process 810), and the table management area 21
The multiplicity counter therein is decremented by 1 (process 811), and the same process is performed thereafter (processes 803 to 808).

【0029】以上により、各計算機システムはそれぞれ
自計算機システムに新たにジョブが投入されたとき、実
行待ちのジョブが更新されたとき、実行中のジョブが終
了したときなどに、自計算機システムに余裕があれば、
自計算機システムで実行可能な実行待ちジョブを確実に
選択して実行できることになる。
As described above, each computer system has a margin in its own computer system when a new job is input to the computer system, a job waiting to be executed is updated, a job being executed is finished, or the like. If there is a,
It is possible to reliably select and execute the waiting jobs that can be executed by the own computer system.

【0030】[0030]

【発明の効果】以上説明したように、本発明のジョブス
テップ実行システム制御方式は、ジョブ投入時に指定す
る希望実行システム情報に加え、疎結合計算機システム
を構成する各計算機システムの周辺装置管理情報を参照
し、ジョブステップごとに実際に実行可能な計算機シス
テムを登録したジョブ制御情報を作成し、各計算機シス
テムの稼働状況に対応して随時これを更新するようにし
たので、各計算機システムがこれに基づいてジョブを選
択することにより、以下のような効果が期待できる。
As described above, according to the job step execution system control method of the present invention, in addition to the desired execution system information specified at the time of job submission, the peripheral device management information of each computer system constituting the loosely coupled computer system is provided. The job control information is created by registering the actually executable computer system for each job step, and it is updated at any time according to the operating status of each computer system. The following effects can be expected by selecting a job based on the above.

【0031】(1)ある計算機システムには組み込まれ
ていないか、あるいは使用不可能な状態にある周辺装置
を使用するジョブが投入された場合でも、各ジョブステ
ップごとにその装置が組み込まれ且つ使用可能な状態に
ある計算機システムで実行させることができる。
(1) Even if a job that uses a peripheral device that is not installed in a computer system or is in an unusable state is submitted, that device is installed and used for each job step. It can be executed by a computer system in a ready state.

【0032】(2)ある計算機システムが稼働していな
いか、あるいは負荷が大きい場合には、その計算機シス
テムで実行するよう設定されたジョブステップの実行シ
ステム情報を自動的に変更し、他の実行可能な計算機シ
ステムで実行させることができる。
(2) When a certain computer system is not operating or the load is large, the execution system information of the job step set to be executed by the computer system is automatically changed and another execution is performed. It can be run on any computer system possible.

【0033】(3)利用者は疎結合計算機システムを構
成する各計算機システムの周辺装置管理情報について知
らなくても、疎結合計算機システムを有効に利用するこ
とができる。
(3) The user can effectively use the loosely coupled computer system without knowing the peripheral device management information of each computer system constituting the loosely coupled computer system.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明が適用される疎結合計算機システムのブ
ロック図である。
FIG. 2 is a block diagram of a loosely coupled computer system to which the present invention is applied.

【図3】実行システム指定ジョブ制御文の構文および意
味の説明図である。
FIG. 3 is an explanatory diagram of syntax and meaning of an execution system designation job control statement.

【図4】図1中の希望実行システム情報解析部の処理の
フローチャートである。
FIG. 4 is a flowchart of a process of a desired execution system information analysis unit in FIG.

【図5】図1中の実行システム判定部の処理のフローチ
ャートである。
5 is a flowchart of a process of an execution system determination unit in FIG.

【図6】図1中のシステム状態監視部の処理のフローチ
ャートである。
FIG. 6 is a flowchart of processing of a system state monitoring unit in FIG.

【図7】図1中のジョブ制御情報管理部の処理のフロー
チャートである。
FIG. 7 is a flowchart of processing of a job control information management unit in FIG.

【図8】図1中のジョブステップ起動部の処理のフロー
チャートである。
FIG. 8 is a flowchart of a process of a job step starting unit in FIG.

【図9】図1中のジョブ制御情報テーブルの一例を示す
説明図である。
9 is an explanatory diagram showing an example of a job control information table in FIG.

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

1 ジョブ記述解析部 2 希望実行システム情報解析部 3 使用周辺装置情報解析部 4 その他ジョブ記述解析部 5 実行システム判定部 6 周辺装置情報管理部 7 システム状態監視部 8 ジョブ制御情報管理部 9 ジョブステップ起動部 10 周辺装置管理情報テーブル 11 ジョブ制御情報テーブル 12 システム状態テーブル 13 ジョブ制御情報 14 ジョブ名 15 ジョブステータス 16 ジョブステップ番号 17 希望実行システム情報 18 実行可能システム情報 19 実行システム情報 20 使用周辺装置情報 21 テーブル管理領域 22 ジョブ入力部 23 ジョブステップ実行管理部 24 外部記憶装置 1 Job description analysis unit 2 Desired execution system information analysis unit 3 Used peripheral device information analysis unit 4 Other job description analysis unit 5 Execution system determination unit 6 Peripheral device information management unit 7 System status monitoring unit 8 Job control information management unit 9 Job step Start-up unit 10 Peripheral device management information table 11 Job control information table 12 System status table 13 Job control information 14 Job name 15 Job status 16 Job step number 17 Desired execution system information 18 Executable system information 19 Execution system information 20 Peripheral device information 21 table management area 22 job input section 23 job step execution management section 24 external storage device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数の計算機システム間で共用できる外
部記憶装置上に、投入されたジョブの実行に必要な入力
データと共にジョブを実行する計算機システムの指定を
含むジョブ制御情報を持ち、スプーリング共用機能によ
り各計算機システムがジョブを選択して起動する疎結合
計算機システムのジョブステップ実行システム制御方式
において、前記疎結合計算機システムを構成する各計算
機システムが、 計算機システムの立ち上げ時に周辺装置の種類,稼働状
況などの周辺装置管理情報を前記外部記憶装置上に設定
し、周辺装置の状況が変化したとき前記周辺装置管理情
報を更新する周辺装置情報管理部と、 ジョブ投入時にジョブ記述中のファイル定義文および周
辺装置割り当て要求文を解析し、各ジョブステップにお
いて使用する使用周辺装置情報を取得する使用周辺装置
情報解析部と、 ジョブ投入時にジョブ記述中の実行システム指定ジョブ
制御文を解析し、ジョブステップごとの希望実行システ
ム情報を取得する希望実行システム情報解析部と、 ジョブステップごとに前記使用周辺装置情報解析部によ
って得られた使用周辺装置情報と、前記外部記憶装置上
に設定された各計算機システムの周辺装置管理情報と、
前記希望実行システム情報解析部によって得られた希望
実行システム情報とを基に、実行可能な計算機システム
を判定し実行させる計算機システムを示す実行システム
情報を設定する実行システム判定部と、 自計算機システムの稼働および負荷状況を前記外部記憶
装置上に登録し、前記外部記憶装置上に保持されている
各計算機システムの稼働および負荷状況を監視するシス
テム状態監視部と、 前記実行システム情報と前記使用周辺装置情報とを含む
ジョブ制御情報を前記外部記憶装置上に登録し、前記シ
ステム状態監視部からの通知により前記外部記憶装置に
登録されているジョブ制御情報に含まれる前記実行シス
テム情報を更新するジョブ制御情報管理部と、 前記ジョブ制御情報管理部からジョブ登録通知を受けた
とき、及び自計算機システムのジョブの実行を管理する
ジョブステップ実行管理部から通知を受けたとき、前記
外部記憶装置上に登録され管理されているジョブ制御情
報を検索し、自計算機システムで実行可能なジョブを選
択して起動するジョブステップ起動部とを備えたことを
特徴とするジョブステップ実行システム制御方式。
1. Spooling sharing is provided on an external storage device that can be shared by a plurality of computer systems, with job control information including designation of a computer system that executes a job together with input data required to execute a submitted job. In the job step execution system control method of the loosely coupled computer system, in which each computer system selects and starts a job according to the function, each computer system that constitutes the loosely coupled computer system has a type of peripheral device at the time of starting the computer system, A peripheral device information management unit that sets peripheral device management information such as operating status on the external storage device and updates the peripheral device management information when the peripheral device status changes, and a file definition in the job description when the job is submitted. Statement and peripheral device assignment request statement are analyzed, and the usage frequency used in each job step is analyzed. Peripheral device information analysis unit that acquires device information, a desired execution system information analysis unit that analyzes the execution system specified job control statement in the job description when the job is submitted, and acquires the desired execution system information for each job step, and the job Use peripheral device information obtained by the use peripheral device information analysis unit for each step, and peripheral device management information of each computer system set on the external storage device,
Based on the desired execution system information obtained by the desired execution system information analysis unit, an execution system determination unit that sets execution system information indicating a computer system that determines and executes an executable computer system; A system status monitoring unit for registering the operating and load statuses on the external storage device and monitoring the operating and load statuses of the respective computer systems held on the external storage device; the execution system information and the used peripheral devices. Job control for registering job control information including information on the external storage device, and updating the execution system information included in the job control information registered in the external storage device according to a notification from the system state monitoring unit. An information management unit, when a job registration notification is received from the job control information management unit, and When the job step execution management unit that manages the execution of the system job is notified, the job control information registered and managed in the external storage device is searched, and the job that can be executed by the own computer system is selected. A job step execution system control method, comprising:
JP4105091A 1992-04-24 1992-04-24 Control system for job step execution system Withdrawn JPH0689191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4105091A JPH0689191A (en) 1992-04-24 1992-04-24 Control system for job step execution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4105091A JPH0689191A (en) 1992-04-24 1992-04-24 Control system for job step execution system

Publications (1)

Publication Number Publication Date
JPH0689191A true JPH0689191A (en) 1994-03-29

Family

ID=14398249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4105091A Withdrawn JPH0689191A (en) 1992-04-24 1992-04-24 Control system for job step execution system

Country Status (1)

Country Link
JP (1) JPH0689191A (en)

Similar Documents

Publication Publication Date Title
US11379272B2 (en) Autoscaling using file access or cache usage for cluster machines
US11593149B2 (en) Unified resource management for containers and virtual machines
US7437713B2 (en) Automated system that tests software on multiple computers
US20080244589A1 (en) Task manager
WO2010050524A1 (en) Computer system, method, and computer program for managing batch job
JP4590229B2 (en) Policy rule management support method and policy rule management support device
JP2007328711A (en) Method of changing configuration of unshared database system, management server and unshared database system
US7086060B2 (en) Method for programmatic representation and enforcement of resource controls
JPH0981409A (en) Mutual hot standby system selecting system
JPH0689191A (en) Control system for job step execution system
JP4492530B2 (en) Computer control method, management computer and processing program therefor
JP2007179100A (en) Job queue system and job management method, control program, and computer-readable recording medium
JPH04372023A (en) Automatic selection system for job execution system
JP5056346B2 (en) Information processing apparatus, information processing system, virtual server movement processing control method, and program
JPH05225157A (en) Automatic selection system for job execution system
JPH1040124A (en) Execution control method for diagnostic program
CN115904621B (en) Method and device for maintaining host of super fusion system
JPH03255569A (en) Automatic selecting method for job executing system
JPH04209032A (en) Job execution computer system selection system
JPH04113446A (en) Automatic selection system for job execution system
JPH04165455A (en) Automatic selection system for job execution system
JPH01195562A (en) Control system for allocation of input/output device
JPH02287753A (en) Job execution system selection system
JPH0254338A (en) Automatic selection system for job execution system
JP2003177929A (en) Master machine, slave machine, and clustering system having them

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990706