JPH0254338A - Automatic selection system for job execution system - Google Patents

Automatic selection system for job execution system

Info

Publication number
JPH0254338A
JPH0254338A JP20615388A JP20615388A JPH0254338A JP H0254338 A JPH0254338 A JP H0254338A JP 20615388 A JP20615388 A JP 20615388A JP 20615388 A JP20615388 A JP 20615388A JP H0254338 A JPH0254338 A JP H0254338A
Authority
JP
Japan
Prior art keywords
job
information
peripheral device
execution system
computer system
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
JP20615388A
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 JP20615388A priority Critical patent/JPH0254338A/en
Publication of JPH0254338A publication Critical patent/JPH0254338A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent the occurrence of errors and to reduce the load of a user by automatically selecting a computer system capable of execution of jobs based on the peripheral device control information and the desired executing system information. CONSTITUTION:A peripheral device control information copy means 6 copies the peripheral device control information 9 stored in a main storage device of a computer system to a secondary storage device that can be shared among plural computer systems. A job description analysis means 1 obtains the working peripheral device information 15 showing a peripheral device used for a job via a working peripheral device information analyzing part 3 and analyzes an execution system designating job control sentence via a desired execution system information analyzing part 2 to obtain the desired execution system information 13. An execution system deciding means 5 decides the practicable computer systems based on the information 15, 9 and 13 and obtains the execution system information 14. A job description information register means 7 registers the job description information 12 including the information 14 and 13 into the secondary storage device and sends the job input information to a job start means 8. Then the means 7 selects the practicable jobs to its own computer system and starts these jobs based on the information 12.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はジョブ実行システム自動選択方式に関し、特に
ジョブ投入時に実行システム指定ジョブ制御文により指
示された希望実行システム情報を含むジョブ記述情報を
複数の計算機システム間で共用できる2次記憶装置上に
保持してジョブ記述情報を基にそれぞれの計算機システ
ムで実行可能なジョブを選択して起動することにより、
複数の計算機システム間でのジョブの実行制御を可能と
しシステム資源の有効利用を図ることができるスプーリ
ング共用機能を持ちかつ各計算機システムの周辺装置管
理情報を各計算機システム毎に主記憶装置上に保持して
いる疎結合計算機システムにおけるジョブ実行システム
自動選択方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an automatic job execution system selection method, and in particular, the present invention relates to a method for automatically selecting a job execution system, and in particular, when a job is submitted, job description information including desired execution system information specified by an execution system specification job control statement is set. By storing jobs on a secondary storage device that can be shared between computer systems, and selecting and launching jobs that can be executed on each computer system based on job description information,
It has a spooling sharing function that enables job execution control between multiple computer systems and effective use of system resources, and stores the peripheral device management information of each computer system on the main memory for each computer system. This invention relates to an automatic job execution system selection method in a loosely coupled computer system.

〔従来の技術〕[Conventional technology]

従来のスプーリング共用機能では、利用者によって投入
されたジョブ記述中の実行システム指定ジョブ制御文に
基づいて得られた希望実行システム情報(ジョブを実行
させたい計算機システムを指すシステム番号またはシス
テム資源の有効利用のために負荷分散させたい場合はジ
ョブをどの計算機システムで実行させてもよい旨を示す
情報)を含むジョブ記述情報を複数の計算機システム間
で共用できる2次記憶装置上に保持し、各計算機システ
ムのジョブ起動手段が2次記憶装置上に保持されたジョ
ブ記述情報を基に自計算機システムで実行可能なジョブ
を選択して起動している。
In the conventional spooling sharing function, the desired execution system information (the system number or system resource information indicating the computer system on which the job is to be executed) obtained based on the execution system specification job control statement in the job description submitted by the user. If you want to distribute the load for effective use, job description information including information indicating that the job can be executed on any computer system is held on a secondary storage device that can be shared among multiple computer systems. The job starting means of each computer system selects and starts a job that can be executed by its own computer system based on the job description information held on the secondary storage device.

[発明が解決しようとする問題点] 上述した従来のスプーリング共用機能では、ジョブ記述
情報には実行システム指定ジョブ制御文に基づいて得ら
れた希望実行システム情報のみがジョブを実行する計算
機システムを決定するための情報として設定されており
、各計算機システムのジョブ起動手段がジョブ記述情報
を基に自計算機システムで実行可能なジョブを選択して
起動していたので、投入されたジョブがある計算機シス
テムでは構成されていないかあるいは使用不可能な状態
にある周辺”JAKを使用するジョブであった場合に、
ジョブ記述情報の希望実行システム情報にジョブを実行
させたい計算機システムとしてシステム番号が設定され
ていた計算機システムがジョブで使用する周辺装置が構
成されていないかあるいは使用可能な状態になかったと
き、およびジョブ記述情報の希望実行システム情報が負
荷分散の対象としてどの計算機システムで実行させても
よい旨を示していたために自計算機システムにおいてジ
ョブの実行が可能と判断してジョブを選択したある計算
機システムがジョブで使用する周辺装置が構成されてい
ないかあるいは使用不可能な状態にあるときに、ジョブ
起動手段がジョブを起動するとエラーとなるという欠点
がある。
[Problems to be Solved by the Invention] In the conventional spooling sharing function described above, only the desired execution system information obtained based on the execution system specification job control statement is included in the job description information. Since the job starting means of each computer system selects and starts a job that can be executed on its own computer system based on the job description information, the computer with the submitted job If the job uses a peripheral "JAK" that is not configured or unavailable in the system,
When the computer system whose system number is set as the computer system on which the job is to be executed in the desired execution system information of the job description information has no peripheral devices configured or available for use in the job, and A certain computer system selected the job because it determined that the job could be executed on its own computer system because the desired execution system information in the job description information indicated that the job could be executed on any computer system as a target for load balancing. There is a drawback that an error will occur if the job starting means starts a job when a peripheral device used in the job is not configured or is in an unusable state.

また、上述のような事態を避けるためには、利用者が疎
結合計算機システムを構成する各計算機システムの周辺
装置管理情報を知ったうえで実行システム指定ジョブ制
御文によりジョブで使用する周辺装置が構成されかつ使
用可能な状態にある計算機システムを指定しなければな
らないという欠点がある。
In addition, in order to avoid the above situation, the user should know the peripheral device management information of each computer system that makes up the loosely coupled computer system, and then specify the peripheral devices used in the job using the execution system specified job control statement. A disadvantage is that a computer system that is configured and ready for use must be specified.

本発明の目的は、上述の点に鑑み、各計算機システムの
周辺装置管理情報と希望実行システム情報とを基にジョ
ブが実行可能な計算機システムを自動的に選択すること
ができるようにすることにより、使用する周辺装置が構
成されてぃなかったり使用不可能な状態にある計算機シ
ステムでジョブを実行させることによるエラーの発生を
防止し、利用者の負担を軽減するジョブ実行システム自
動選択方式を提供することにある。
In view of the above points, an object of the present invention is to automatically select a computer system capable of executing a job based on peripheral device management information and desired execution system information of each computer system. , provides an automatic job execution system selection method that reduces the burden on users by preventing errors caused by executing jobs on computer systems where peripheral devices are not configured or cannot be used. It's about doing.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のジョブ実行システム自動選択方式は、ジョブ投
入時に実行システム指定ジョブ制御文により指示された
希望実行システム情報を含むジョブ記述情報を複数の計
算機システム間で共用できる2次記憶装置上に保持して
このジョブ記述情報を基にそれぞれの計算機システムで
実行可能なシップを選択して起動することにより複数の
計算機システム間でのジョブの実行制御を可能としシス
テム資源の有効利用を図ることができるスプーリング共
用機能を持ちかつ各計算機システムの周辺装置管理情報
を各計算機システム毎に主記憶装置上に保持している疎
結合計算機システムにおいて、前記計算機システムの主
記憶装置上に保持された前記周辺装置管理情報を複数の
計算機システム間で共用できる2次記憶装置上に複写す
る周辺装置管理情報複写手段と、ジョブで使用する周辺
装置を示す使用周辺装置情報を得る使用周辺装置情報解
析部と、前記実行システム指定ジョブ制御文を解析して
希望実行システム情報を得る希望実行システム情報解析
部と、前記使用周辺装置情報解析部によって得られた前
記使用周辺装置情報と前記周辺装置管理情報複写手段に
よって前記2次記憶装置上に複写された周辺装置管理情
報と前記希望実行システム情報解析部によって得られた
希望実行システム情報とを基に実行可能な計算機システ
ムを判定して実行システム情報を得る実行システム判定
手段と、この実行システム判定手段によって得られた前
記実行システム情報と前記使用周辺装置情報と前記希望
実行システム情報とを含む前記ジョブ記述情報を前記2
次記憶装置上に登録してジョブ入力通知をジョブ起動手
段に送るジョブ記述情報登録手段と、このジョブ記述情
報登録手段によって前記2次記憶装置上に登録された前
記ジョブ記述情報を基に自計算機システムで実行可能な
ジョブを選択して起動する前記ジョブ起動手段とを有す
る。
The automatic job execution system selection method of the present invention retains job description information including desired execution system information specified by an execution system specification job control statement when a job is submitted on a secondary storage device that can be shared among multiple computer systems. By selecting and activating executable ships on each computer system based on the job description information of the lever, it is possible to control the execution of jobs between multiple computer systems and to make effective use of system resources. In a loosely coupled computer system that has a ring sharing function and holds peripheral device management information for each computer system on its main storage, the peripheral device management information held on the main storage of the computer system a peripheral device management information copying means for copying device management information onto a secondary storage device that can be shared among a plurality of computer systems; a used peripheral device information analysis unit that obtains used peripheral device information indicating a peripheral device used in a job; A desired execution system information analysis unit that analyzes the execution system specification job control statement to obtain desired execution system information, and the usage peripheral device information obtained by the usage peripheral device information analysis unit and the peripheral device management information copying means. an execution system that determines an executable computer system and obtains execution system information based on the peripheral device management information copied on the secondary storage device and the desired execution system information obtained by the desired execution system information analysis section; the job description information including the execution system information, the used peripheral device information, and the desired execution system information obtained by the execution system determination means;
job description information registration means for registering on the secondary storage device and sending a job input notification to the job starting means; and job starting means for selecting and starting jobs that can be executed by the system.

〔作用〕[Effect]

本発明のジョブ実行システム自動選択方式では、周辺装
置管理情報複写手段が計算機システムの上記i!装置上
に保持された周辺装置管理情報を複数の計算機システム
間で共用できる2次記憶装置上に複写し、使用周辺装置
情報解析部がジョブで使用する周辺装置を示す使用周辺
装置情報を得、希望実行システム情報解析部が実行シス
テム指定ジョブ制御文を解析して希望実行システム情報
を得、実行システム判定手段が使用周辺装置情報解析部
によって得られた使用周辺装置情報と周辺装置管理情報
複写手段によって2次記憶装置上に複写された周辺装置
管理情報と希望実行システム情報解析部によって得られ
た希望実行システム情報とを基に実行可能な計算機シス
テムを判定して実行システム情報を得、ジョブ記述情報
登録手段が実行ノステム判定手段によって得られた実行
システム情報と使用周辺装置情報と希望実行システム情
報とを含むジョブ記述情報を2次記憶装置上に登録して
ジョブ入力通知をジョブ起動手段に送り、ジョブ起動手
段がジョブ記述情報登録手段によって2次記憶装置上に
登録されたジョブ記述情報を基に自計算機システムで実
行可能なジョブを選択して起動する。
In the job execution system automatic selection method of the present invention, the peripheral device management information copying means is the i! of the computer system. Copying the peripheral device management information held on the device to a secondary storage device that can be shared among multiple computer systems, and obtaining peripheral device information indicating the peripheral device used in the job by the peripheral device information analysis unit in use; The desired execution system information analysis section analyzes the execution system specified job control statement to obtain the desired execution system information, and the execution system determination means obtains the used peripheral device information and peripheral device management information copying means obtained by the used peripheral device information analysis section. The computer system that can be executed is determined based on the peripheral device management information copied onto the secondary storage device and the desired execution system information obtained by the desired execution system information analysis unit, the execution system information is obtained, and the job is written. The information registration means registers job description information including execution system information, used peripheral device information, and desired execution system information obtained by the execution nostem determination means on the secondary storage device, and sends a job input notification to the job starting means. The job starting means selects and starts a job that can be executed by the own computer system based on the job description information registered on the secondary storage device by the job description information registration means.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例のジョブ実行システム自動
選択方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an automatic job execution system selection method according to an embodiment of the present invention.

本実施例のジョブ実行システム自動選択方式は、ジョブ
記述解析手段1と、実行システム判定手段5と、周辺装
置管理情報複写手段6と、ジョブ記述情報登録手段7と
、ジョブ起動手段8と、周辺装置管理情f!領域9と、
周辺装置管理情報テーブル10と、ジョブ起動テーブル
11と、ジョブ入力手段17と、実行管理手段18とか
ら構成されている。
The job execution system automatic selection method of this embodiment includes a job description analysis means 1, an execution system determination means 5, a peripheral device management information copying means 6, a job description information registration means 7, a job starting means 8, and a peripheral device management information copying means 6. Device management information f! Area 9 and
It is composed of a peripheral device management information table 10, a job starting table 11, a job input means 17, and an execution management means 18.

ジョブ記述解析手段1は、希望実行システム情輻解析部
2と、使用周辺装置情報解析部3と、その他ジョブ記述
解析部4とから構成されている。
The job description analysis means 1 includes a desired execution system information analysis section 2, a used peripheral device information analysis section 3, and a job description analysis section 4.

ジョブ起動テーブル11は、起動待ちおよび実行中のジ
ョブ毎にジョブ記述情報12を保持する各エントリから
構成されている。
The job activation table 11 is composed of entries that hold job description information 12 for each job waiting to be activated and for each job in execution.

ジョブ記述情報12は、希望実行システム情報13と、
実行システム情報14と、使用周辺装置情報15と、ジ
ョブステータス16とを含んで構成されている。
The job description information 12 includes desired execution system information 13,
It is configured to include execution system information 14, used peripheral device information 15, and job status 16.

第2図は、本実施例のジョブ実行システム自動選択方式
が適用された疎結合計算機システムの構成の一例を示す
ブロック図である。疎結合計算機システムは、2次記憶
装置を複数の計算機システム間で共用しており、2次記
憶装置上に周辺装置管理情報テーブル10と、ジョブ起
動テーブル11とを保持している。なお、m(正整数)
は自計算機システムのシステム番号を、n(正整数)は
他の任意の計算機システムのシステム番号をそれぞれ示
しているものとする。
FIG. 2 is a block diagram showing an example of the configuration of a loosely coupled computer system to which the automatic job execution system selection method of this embodiment is applied. A loosely coupled computer system shares a secondary storage device among a plurality of computer systems, and holds a peripheral device management information table 10 and a job activation table 11 on the secondary storage device. In addition, m (positive integer)
is the system number of the own computer system, and n (positive integer) is the system number of any other computer system.

第3図は、実行システム指定ジョブ制御文($NEED
文)の構文およびシステムパラメータの意味を示す図で
ある。ここで、システムパラメータ値k(正整数)は、
ジョブを実行させる計算機システム(希望実行システム
)のシステム番号を示している。また、システムパラメ
ータ値ANYは、ジョブをどの計算機システムで実行さ
せてもよいことを示している。
Figure 3 shows the execution system specified job control statement ($NEED
FIG. 12 is a diagram showing the syntax of a sentence) and the meaning of system parameters. Here, the system parameter value k (positive integer) is
Indicates the system number of the computer system (desired execution system) that executes the job. Furthermore, the system parameter value ANY indicates that the job may be executed on any computer system.

第4図を参照すると、希望実行システム情報解析部2に
おける処理は、システムパラメータ有無判定ステップ2
01 と、システムパラメータ値取得ステンプ202と
、システム番号またはANY有無判定ステップ203と
、希望実行システム情報設定ステップ204とからなる
Referring to FIG. 4, the process in the desired execution system information analysis unit 2 includes system parameter presence/absence determination step 2.
01, a system parameter value acquisition step 202, a system number or ANY presence/absence determination step 203, and a desired execution system information setting step 204.

第5図を参照すると、実行システム判定手段5における
処理は、実行可能計算機システム検索ステップ501と
、実行可能計算機システム数判定ステップ502と、実
行可能システム実行システム情報設定ステップ503と
、システム番号有無判定ステップ504と、希望実行シ
ステム実行可能判定ステップ505と、希望実行システ
ム実行システム情報設定ステップ506と、全実行可能
システム実行システム情報設定ステップ507と、ジョ
ブ削除ステップ508 と、利用者通知ステップ509
とからなる。
Referring to FIG. 5, the processing in the execution system determining means 5 includes an executable computer system search step 501, an executable computer system number determination step 502, an executable system execution system information setting step 503, and a system number presence determination step 502. step 504, desired execution system executable determination step 505, desired execution system execution system information setting step 506, all executable system execution system information setting step 507, job deletion step 508, and user notification step 509
It consists of

第6図を参照すると、ジョブ起動手段8における処理は
、通知取得ステップBot と、ジョブ人力通知判定ス
テップ802と、自計算機システム負荷状況余裕有無判
定ステップ803と、実行可能ジョブ登録有無判定ステ
ンプ804と、実行可能ジョブ選択ステップ805と、
選択ジョブ起動ステップ806と、ジョブステータス実
行中設定ステップ807と、多重度カウンタ値1加算ス
テップ808と、ジョブ終了通知判定ステップ809と
、ジョブ記述情報削除ステップ810と、多重度カウン
タ値1減算ステップ811 とからなる。
Referring to FIG. 6, the processing in the job starting means 8 includes a notification acquisition step bot, a job manual notification determination step 802, a step 803 for determining the presence or absence of the load status of the own computer system, and a step 804 for determining the presence or absence of executable job registration. , an executable job selection step 805;
Selected job activation step 806, job status in execution setting step 807, multiplicity counter value 1 addition step 808, job end notification determination step 809, job description information deletion step 810, multiplicity counter value 1 subtraction step 811 It consists of

第7図は、ジョブ起動テーブル11の一例を示す図であ
る。この゛ジョブ起動テーブル11は、各ジョブ毎にジ
ョブ名と、希望実行システム情報13.実行システム情
報14.ジョブステータス16等からなるジョブ記述情
報12とを1エントリとして、複数のエントリからなる
FIG. 7 is a diagram showing an example of the job activation table 11. This ``job startup table 11'' includes job name and desired execution system information 13 for each job. Execution system information 14. It consists of a plurality of entries, with job description information 12 consisting of job status 16 and the like being one entry.

次に、このように構成された本実施例のジョフ実行シス
テム自動選択方弐の動作について説明する。
Next, the operation of the automatic selection method 2 of the job execution system of this embodiment configured as described above will be explained.

周辺装置管理情報複写手段6は、計算機システム立上げ
時に図示しない主記憶装置上の周辺装置管理情報領域9
に自計算機システムの周辺装置管理情報を設定された場
合および主記憶装置上の周辺装置管理情報領域9の自計
算機システムの周辺装置管理情報が更新された場合には
、主記憶装置上の周辺装置管理情報領域9の自計算機シ
ステムの周辺装置管理情報を複数の計算機システムで共
用している2次記憶装置上の周辺装置管理情報テーブル
10内の自計算機システム用の領域に複写す各計算機シ
ステムの周辺装置管理情報複写手段6が上述のような動
作を行うことにより、周辺装置管理情報テーブル10に
は、疎結合計算機システムを構成する各計算機システム
の現状の周辺装置管理情報が記憶されている。
The peripheral device management information copying means 6 copies a peripheral device management information area 9 on a main storage device (not shown) when starting up the computer system.
When the peripheral device management information of the own computer system is set in , and when the peripheral device management information of the own computer system in the peripheral device management information area 9 on the main memory is updated, the peripheral device on the main memory Each computer system copies the peripheral device management information of its own computer system in the management information area 9 to the area for its own computer system in the peripheral device management information table 10 on the secondary storage device shared by multiple computer systems. As the peripheral device management information copying means 6 performs the above-described operations, the peripheral device management information table 10 stores the current peripheral device management information of each computer system constituting the loosely coupled computer system.

ジョブが投入されると、ジョブ入力手段17が実行シス
テム指定ジョブ制御文、ファイル定義文装置割当て要求
文等を含むジョブ記述を読み取り、ジョブ記述解析手段
1がジョブ記述を解析する。
When a job is submitted, the job input means 17 reads a job description including an execution system specification job control statement, a file definition statement, a device allocation request statement, etc., and the job description analysis means 1 analyzes the job description.

ジョブ記述解析手段1において、希望実行システム情報
解析部2は、ジョブ記述中の実行システム指定ジョブ制
御文(I  NEED文)を解析してシステムパラメー
タがあるか否かを判定する(ステップ201 ) 、シ
ステムパラメータがなければ、希望実行システム情報解
析部2は処理を終了する。
In the job description analysis unit 1, the desired execution system information analysis unit 2 analyzes the execution system specified job control statement (INEED statement) in the job description and determines whether there is a system parameter (step 201). If there are no system parameters, the desired execution system information analysis unit 2 ends the process.

システムパラメータがあれば、希望実行システム情報解
析部2は、システムパラメータ値を得る(ステップ20
2)。次に、希望実行システム情報解析部2は、システ
ムパラメータ値がkまたはANYであるか否かを判定す
ることにより正当性のチエツクを行う (ステップ20
3)。システムパラメータ値がkまたはANYでなけれ
ば、希望実行システム情報解析部2は処理を終了する。
If there are system parameters, the desired execution system information analysis unit 2 obtains the system parameter values (step 20
2). Next, the desired execution system information analysis unit 2 checks the validity by determining whether the system parameter value is k or ANY (step 20
3). If the system parameter value is not k or ANY, the desired execution system information analysis unit 2 ends the process.

システムパラメータ値がkまたはANYであれば、希望
実行システム情報解析部2は、システムパラメータ値k
またはANYをジョブ記述情報12内の希望実行システ
ム情報13に設定して(ステップ204)、処理を終了
する。
If the system parameter value is k or ANY, the desired execution system information analysis unit 2 determines the system parameter value k.
Alternatively, ANY is set in the desired execution system information 13 in the job description information 12 (step 204), and the process ends.

使用周辺装置情報解析部3は、ジョブ記述中のファイル
定義文および装置割当て要求文を解析してジョブの実行
に必要な周辺装置の装置タイプ等を得、ジョブ記述情報
12中の使用周辺装置情報15に設定する。
The used peripheral device information analysis unit 3 analyzes the file definition statement and device allocation request statement in the job description to obtain the device type of the peripheral device necessary for job execution, and obtains the used peripheral device information in the job description information 12. Set to 15.

ジョブ記述解析手段lによる処理が終了したならば、実
行システム判定手段5が起動される。
When the processing by the job description analysis means 1 is completed, the execution system determination means 5 is activated.

実行システム判定手段5は、ジョブ記述情報12中の使
用周辺装置情報15および周辺装置管理情報テーブル1
0中の周辺装置管理情報に基づいてジョブの実行に必要
な全ての周辺装置が構成されていて使用可能な状態にあ
る計算機システム、すなわちジョブの実行が可能な全て
の計算機システムを検索しくステップ501 ) 、実
行可能な計算機システムの数を判定する(ステップ50
2 ) 。
The execution system determination means 5 uses the used peripheral device information 15 in the job description information 12 and the peripheral device management information table 1.
Step 501: Based on the peripheral device management information in 0, search for computer systems in which all the peripheral devices necessary for executing the job are configured and available, that is, all computer systems capable of executing the job. ), determine the number of executable computer systems (step 50
2).

実行可能な計算機システムの数が1つであれば、実行シ
ステム判定手段5は、検索された計算機システムのシス
テム番号をジョブ記述情報12中の実行システム情報1
4に設定して(ステップ5o3)、処理を終了する。
If the number of executable computer systems is one, the execution system determination means 5 uses the system number of the searched computer system as the execution system information 1 in the job description information 12.
4 (step 5o3), and the process ends.

実行可能な計算機システムの数が複数であれば、実行シ
ステム判定手段5は、ジョブ記述情報12中の希望実行
システム情報13にシステム番号が設定されているか否
かを判定する(ステップ5o4)。
If the number of executable computer systems is plural, the execution system determining means 5 determines whether a system number is set in the desired execution system information 13 in the job description information 12 (step 5o4).

システム番号が設定されていれば、実行システム判定手
段5は、希望実行システム情報13のシステム番号が指
す計算機システムが実行可能な計算機システムの1つで
あるか否かを判定する(ステップ505 ) 、希望実
行システム情!!!13のシステム番号が指す計算機シ
ステムが検索された実行可能な計算機システムの1つで
あれば、実行システム判定手段5は、希望実行システム
情報13のシステム番号をジョブ記述情報12の実行シ
ステム情報14に設定して(ステップ506 ) 、処
理を終了する。希望実行システム情報13のシステム番
号が指す計算機システムが検索された実行可能な計算機
システムの1つでなければ、実行システム判定手段5は
、検索された全ての実行可能な計算機システムのシステ
ム番号をジョブ記述情報12の実行システム情報14に
設定して負荷分散の対象としくステップ507 ) 、
処理を終了する。
If the system number has been set, the execution system determining means 5 determines whether the computer system pointed to by the system number in the desired execution system information 13 is one of the executable computer systems (step 505). Hope execution system information! ! ! If the computer system indicated by the system number 13 is one of the searched executable computer systems, the execution system determination means 5 sets the system number of the desired execution system information 13 to the execution system information 14 of the job description information 12. After setting (step 506), the process ends. If the computer system indicated by the system number in the desired execution system information 13 is not one of the searched executable computer systems, the execution system determination means 5 selects the system numbers of all the searched executable computer systems as a job. Set it in the execution system information 14 of the description information 12 to make it a target of load distribution (step 507),
Finish the process.

ステップ504で、希望実行システム情報13のシステ
ムパラメータ値がシステム番号でなければ、すなわちA
NYであれば、実行システム判定手段5は、検索された
全ての実行可能な計算機システムのシステム番号をジョ
ブ記述情報12の実行システム情報14に設定して負荷
分散の対象としくステップ507)、処理を終了する。
In step 504, if the system parameter value of the desired execution system information 13 is not a system number, that is, A
If it is NY, the execution system determination means 5 sets the system numbers of all the searched executable computer systems in the execution system information 14 of the job description information 12 to make them targets for load distribution (step 507), and processes. end.

ステップ502で、実行可能な計算機システムが1つも
ないと判定された場合には、実行システム判定手段5は
、エラーとして投入されたジョブを削除して(ステップ
508)、その旨を利用者に通知しくステップ509 
) 、処理を終了する。
If it is determined in step 502 that there is no executable computer system, the execution system determining means 5 deletes the job submitted as an error (step 508) and notifies the user of this fact. Step 509
), the process ends.

ジョブ記述がジョブ記述解析手段lによって全て解析さ
れ、実行システム判定手段5によって実行システム情報
14が設定されることによりジョブ記述情報12が整う
と、ジョブ記述情報登録手段7が、ジョブ名とジョブ記
述情報12とをジョブ起動テーブル11に登録し、ジョ
ブ入力通知をジョブ起動手段8に送る。
When the job description is completely analyzed by the job description analysis means 1 and the job description information 12 is prepared by setting the execution system information 14 by the execution system determination means 5, the job description information registration means 7 stores the job name and job description. information 12 is registered in the job activation table 11, and a job input notification is sent to the job activation means 8.

次に、ジョブ起動手段8の動作について説明する。Next, the operation of the job starting means 8 will be explained.

ここでは、ジョブ起動テーブル11が第7図に示すよう
になっているものとする。
Here, it is assumed that the job activation table 11 is as shown in FIG.

ジョブ起動手段8は、通知を受は取ると(ステップ80
1 ) 、受は取った通知がジョブ入力通知であるか否
かを判定する(ステップ802)。
When the job starting means 8 receives the notification (step 80
1) The receiver determines whether the received notification is a job input notification (step 802).

ジョブ入力通知ならば、ジョブ起動手段8は、図示しな
い内部テーブルより自計算機システムの負荷状況を得て
自計算機システムの負荷状況に余裕があるか否かを判定
する(ステップ803 ) 、自計算機システムの負荷
状況に余裕がないならば、ジョブ起動手段8は処理を終
了する。自社算機システムの負荷状況に余裕があれば、
ジョブ起動手段8は、ジョブ起動テーブル11に自社算
機システムで実行可能なジョブが登録されているか否か
、すなわち実行システム情報14に自社算機システムの
システム番号が設定されていてかつジョブステータス1
6が起動待ちであるジョブが登録されているか否かを判
定する(ステップ804)。自社算機システムで実行可
能なジョブが登録されていなければ、ジョブ起動手段8
は処理を終了する。自社算機システムで実行可能なジョ
ブが登録されていれば、ジョブ起動手段8は、その中か
ら適当なジョブを選択しくステップ805 ) 、選択
されたジョブを起動してジョブ管理手段18にジョブ起
動通知を送る(ステップ806)。ここで、自社算機シ
ステムのシステム番号をmとすると、第7図に示す例で
は、ジョブb、ジョブdおよびジョブeがジョブ起動手
段8による選択対象となるジョブである。ここでは、ジ
ョブbが選択され起動されたものとする。次に、ジョブ
起動手段8は、起動したジョブbのジョブステータス1
6を実行中にしくステップ807 ) 、内部テーブル
内の多重度カウンタの値を1つ加算して(ステップ80
8)、処理を終了する。
If it is a job input notification, the job starting means 8 obtains the load status of the own computer system from an internal table (not shown) and determines whether or not there is a margin in the load status of the own computer system (step 803). If there is no margin in the load situation, the job starting means 8 ends the process. If there is enough load on your company's computer system,
The job starting means 8 determines whether a job that can be executed by the company's computer system is registered in the job starting table 11, that is, if the system number of the company's computer system is set in the execution system information 14 and the job status is 1.
It is determined whether or not a job for which No. 6 is waiting to be started is registered (step 804). If no job is registered that can be executed by your company's computer system, job starting means 8
ends the process. If jobs that can be executed by the in-house computer system are registered, the job starting means 8 selects an appropriate job from among them (step 805), starts the selected job, and sends the job starting to the job management means 18. Send a notification (step 806). Here, assuming that the system number of the in-house computer system is m, in the example shown in FIG. 7, job b, job d, and job e are the jobs to be selected by the job starting means 8. Here, it is assumed that job b has been selected and started. Next, the job starting means 8 updates the job status 1 of the started job b.
6 is executed (step 807), and the value of the multiplicity counter in the internal table is incremented by one (step 80).
8) End the process.

ジョブ起動手段8からジョブ起動通知を受は取った実行
管理手段18は、ジョブbの実行状態の管理を開始し、
ジョブbの実行が終了したならば、ジョブ起動手段8に
ジョブ終了通知を送る。
The execution management means 18 that has received the job start notification from the job start means 8 starts managing the execution state of job b,
When the execution of job b is completed, a job completion notification is sent to job starting means 8.

ジョブ起動手段8では、ステップ801およびステップ
802の処理の後にジョブ人力通知ではないので、ジョ
ブの終了通知か否かを判定しくステップ809 ) 、
ジップ終了通知でなければ処理を終了する。ジョブ終了
通知であれば、ジョブ起動手段8は、ジョブの実行が終
了したジョブbのジョフ記述情報12をジョブ起動テー
ブル11から削除しくステップ810 ) 、内部テー
ブル内の多重度カウンタの値を1つ減算する(ステップ
811)。続けて、ジョブ起動手段8は、ステップ80
3〜ステツプ808の処理を行った後に処理を終了する
After the processing in steps 801 and 802, the job starting means 8 determines whether or not it is a job end notification since it is not a job notification manually (step 809).
If there is no zip completion notification, the process ends. If it is a job end notification, the job starting means 8 deletes the job description information 12 of the job b whose execution has ended from the job starting table 11 (step 810 ), and increases the value of the multiplicity counter in the internal table by one. Subtract (step 811). Continuing, the job starting means 8 performs step 80.
After performing the processing from step 3 to step 808, the processing ends.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、ジョブ記述の解析直後に
疎結合計算機システムを構成する各計算機システムの周
辺装置管理情報と希望実行システム情報とを基に実行可
能な計算機システムを自動的に選択するようにしたこと
により、以下に述べる効果がある。
As explained above, the present invention automatically selects an executable computer system based on the peripheral device management information and desired execution system information of each computer system forming a loosely coupled computer system immediately after analyzing a job description. By doing so, the following effects can be obtained.

(11ある計算機システムでは構成されていないかある
いは使用不可能な状態にある周辺装置を使用するジョブ
が投入された場合でも、同し周辺装置が構成され使用可
能な状態にある計算機システムでジョブを実行させるこ
とができる。
(11) Even if a job is submitted that uses a peripheral device that is not configured or is in an unusable state on one computer system, the job will be submitted to a computer system that has the same peripheral device configured and available. can be executed.

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

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

第1図は本発明の一実施例のジョブ実行システム自動選
択方式の構成を示すブロック図、第2図は本実施例のジ
ョブ実行システム自動選択方式が適用された疎結合計算
機ソステムの構成の一例を示すブロック図、 第3図は実行システム指定ジョブ制御文の構文およびシ
ステムパラメータの意味を示す図、第4図は第1図中の
希望実行システム情報解析部における処理を示す流れ図
、 第5図は第1図中の実行システム判定手段における処理
を示す流れ図、 第6図は第1図中のジョブ起動手段における処理を示す
流れ図、 第7図は第1図中のジョブ起動テーブルの一例を示す図
である。 図において、 1・・・ジョブ記述解析手段、 2・・・希望実行システム情報解析部、3・・・使用周
辺装置情報解析部、 4・・・その他ジョブ記述解析部、 5・・・実行システム判定手段、 6・・・周辺装置管理情報複写手段、 7・・・ジョブ記述情報登録手段、 ジョブ起動手段、 周辺装置管理情報領域、 周辺装置管理情報テーブル、 ジョブ起動テーブル、 ジョブ記述情報、 希望実行システム情報、 実行システム情報、 使用周辺装置情報、 ジョブステータス、 ジせブ入力手段、 実行管理手段である。
FIG. 1 is a block diagram showing the configuration of a job execution system automatic selection method according to an embodiment of the present invention, and FIG. 2 is an example of the configuration of a loosely coupled computer system to which the job execution system automatic selection method of this embodiment is applied. FIG. 3 is a diagram showing the syntax of the execution system specification job control statement and the meaning of system parameters. FIG. 4 is a flowchart showing the processing in the desired execution system information analysis section in FIG. 1. is a flowchart showing the processing in the execution system determining means in FIG. 1, FIG. 6 is a flowchart showing the processing in the job starting means in FIG. 1, and FIG. 7 shows an example of the job starting table in FIG. It is a diagram. In the figure, 1... Job description analysis means, 2... Desired execution system information analysis section, 3... Used peripheral device information analysis section, 4... Other job description analysis section, 5... Execution system Judgment means, 6... Peripheral device management information copying means, 7... Job description information registration means, Job starting means, Peripheral device management information area, Peripheral device management information table, Job starting table, Job description information, Desired execution These are system information, execution system information, peripheral device information, job status, job input means, and execution management means.

Claims (1)

【特許請求の範囲】 ジョブ投入時に実行システム指定ジョブ制御文により指
示された希望実行システム情報を含むジョブ記述情報を
複数の計算機システム間で共用できる2次記憶装置上に
保持してこのジョブ記述情報を基にそれぞれの計算機シ
ステムで実行可能なジョブを選択して起動することによ
り複数の計算機システム間でのジョブの実行制御を可能
としシステム資源の有効利用を図ることができるスプー
リング共用機能を持ちかつ各計算機システムの周辺装置
管理情報を各計算機システム毎に主記憶装置上に保持し
ている疎結合計算機システムにおいて、 前記計算機システムの主記憶装置上に保持された前記周
辺装置管理情報を複数の計算機システム間で共用できる
2次記憶装置上に複写する周辺装置管理情報複写手段と
、 ジョブで使用する周辺装置を示す使用周辺装置情報を得
る使用周辺装置情報解析部と、 前記実行システム指定ジョブ制御文を解析して希望実行
システム情報を得る希望実行システム情報解析部と、 前記使用周辺装置情報解析部によって得られた前記使用
周辺装置情報と前記周辺装置管理情報複写手段によって
前記2次記憶装置上に複写された周辺装置管理情報と前
記希望実行システム情報解析部によって得られた希望実
行システム情報とを基に実行可能な計算機システムを判
定して実行システム情報を得る実行システム判定手段と
、この実行システム判定手段によって得られた前記実行
システム情報と前記使用周辺装置情報と前記希望実行シ
ステム情報とを含む前記ジョブ記述情報を前記2次記憶
装置上に登録してジョブ入力通知をジョブ起動手段に送
るジョブ記述情報登録手段と、 このジョブ記述情報登録手段によって前記2次記憶装置
上に登録された前記ジョブ記述情報を基に自計算機シス
テムで実行可能なジョブを選択して起動する前記ジョブ
起動手段と、 を有することを特徴とするジョブ実行システム自動選択
方式。
[Claims] Job description information including desired execution system information specified by an execution system specification job control statement at the time of job submission is held in a secondary storage device that can be shared among multiple computer systems, and this job description information is stored in a secondary storage device that can be shared among multiple computer systems. It has a spooling sharing function that enables job execution control between multiple computer systems by selecting and starting jobs that can be executed on each computer system based on and in a loosely coupled computer system in which peripheral device management information of each computer system is held on the main storage device for each computer system, the peripheral device management information held on the main storage device of the computer system is peripheral device management information copying means for copying onto a secondary storage device that can be shared between computer systems; a peripheral device information analysis unit for obtaining used peripheral device information indicating a peripheral device used in a job; a desired execution system information analysis unit that analyzes a control statement to obtain desired execution system information; and the used peripheral device information obtained by the used peripheral device information analysis unit and the peripheral device management information copying means to copy the used peripheral device information to the secondary storage device. execution system determining means for determining an executable computer system and obtaining execution system information based on the peripheral device management information copied above and the desired execution system information obtained by the desired execution system information analysis section; Registering the job description information including the execution system information obtained by the execution system determining means, the used peripheral device information, and the desired execution system information on the secondary storage device, and sending a job input notification to the job starting means. sending job description information registration means; and job starting means for selecting and starting a job executable on the own computer system based on the job description information registered on the secondary storage device by the job description information registration means. An automatic job execution system selection method comprising:
JP20615388A 1988-08-19 1988-08-19 Automatic selection system for job execution system Pending JPH0254338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20615388A JPH0254338A (en) 1988-08-19 1988-08-19 Automatic selection system for job execution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20615388A JPH0254338A (en) 1988-08-19 1988-08-19 Automatic selection system for job execution system

Publications (1)

Publication Number Publication Date
JPH0254338A true JPH0254338A (en) 1990-02-23

Family

ID=16518675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20615388A Pending JPH0254338A (en) 1988-08-19 1988-08-19 Automatic selection system for job execution system

Country Status (1)

Country Link
JP (1) JPH0254338A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05313921A (en) * 1992-05-14 1993-11-26 Hitachi Ltd Job execution control system
JPH0830471A (en) * 1994-07-14 1996-02-02 Hitachi Ltd Execution processor change system for job

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05313921A (en) * 1992-05-14 1993-11-26 Hitachi Ltd Job execution control system
JPH0830471A (en) * 1994-07-14 1996-02-02 Hitachi Ltd Execution processor change system for job

Similar Documents

Publication Publication Date Title
JPH05346851A (en) Software license managing device
US11029899B2 (en) Maintenance system including information processing device that performs maintenance operation on image forming device
US20170195506A1 (en) Image forming apparatus forming location free print system and print job retrieval method by the same
CN115525631A (en) Database data migration method, device, equipment and storage medium
JPH0254338A (en) Automatic selection system for job execution system
JP5839776B2 (en) Information processing apparatus, information processing method, and program
JP2005216201A (en) Job processing system
JP2007179100A (en) Job queue system and job management method, control program, and computer-readable recording medium
JPH01150962A (en) System for automatically selecting job executing system
JP6506773B2 (en) INFORMATION PROCESSING APPARATUS, METHOD, AND PROGRAM
JPH05250239A (en) Computer network system
JP2003044299A (en) Information processing method, information processor and program
JP2017017504A (en) Management device, control method, program, and system
JPH04372023A (en) Automatic selection system for job execution system
JPH04113446A (en) Automatic selection system for job execution system
JPH05225157A (en) Automatic selection system for job execution system
JPH04165455A (en) Automatic selection system for job execution system
JPH02287753A (en) Job execution system selection system
JPH03255569A (en) Automatic selecting method for job executing system
JPH0689191A (en) Control system for job step execution system
US6433887B1 (en) Systems and methods for managing print jobs
JPH02224056A (en) Automatic selecting system for job executing system
JP2009098865A (en) Job history management system
JPH0452942A (en) File transfer system
JPH09185473A (en) Printer controller