JPH0417057A - Job scheduling system for composite type system - Google Patents

Job scheduling system for composite type system

Info

Publication number
JPH0417057A
JPH0417057A JP11981790A JP11981790A JPH0417057A JP H0417057 A JPH0417057 A JP H0417057A JP 11981790 A JP11981790 A JP 11981790A JP 11981790 A JP11981790 A JP 11981790A JP H0417057 A JPH0417057 A JP H0417057A
Authority
JP
Japan
Prior art keywords
shared
file
job
files
exclusive
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
JP11981790A
Other languages
Japanese (ja)
Inventor
Masayuki Satake
佐竹 昌之
Shingo Maeda
新吾 前田
Tadashi Yamagishi
山岸 正
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11981790A priority Critical patent/JPH0417057A/en
Publication of JPH0417057A publication Critical patent/JPH0417057A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To reduce the processing overhead of exclusive control and shared control by providing an exclusive controlling means, job selecting means, and means which stores the shared/non-shared information of a file used for a job. CONSTITUTION:Job selecting means 6-1 and 6-2 which fetch a job to be executed from spool files 2-1 and 2-2, exclusive controlling means 7-1 and 7-2 of shared/ non-shared file for securing the using right of a file used for a job, and means 8-1 and 8-2 which store the shared/non-shared information of the file used for the job are provided. When the file used for the job is not usable, a job scheduling system which returns the job to the spool files 2-1 and 2-2 is used. Accordingly, the shared file of a magnetic disk in a single system is exclusive controlled in its own system and the shared file of a magnetic disk in a composite system is exclusive controlled in the composite system. Therefore, the overall processing capacity of the composite system is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計算機システムのショブスケジュル方式に係
り、特に複合形システムやネッ1〜ワークシステムにお
ける共用資源(ファイルなど)を使用するジョブに対し
て好適なジョブスケジュール方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a job scheduling method for computer systems, and is particularly applicable to jobs that use shared resources (files, etc.) in complex systems and network systems. This invention relates to a job scheduling method suitable for this purpose.

〔従来の技術〕[Conventional technology]

rMVsの機能と構造(千田正彦 著)」(株)近代科
学社発行(昭和62年2月10日)の第68頁から第7
3頁に記載のように、計算機システムにおけるジョブス
ケジュールは、ジョブの実行に必要な装置、ボリューム
、ファイルなどのシステム資源を占有使用可能となった
時点で、ジョブを実行させる方式を多く採用している。
"Function and Structure of rMVs (Author: Masahiko Senda)" published by Kindai Kagakusha Co., Ltd. (February 10, 1986), pages 68 to 7.
As described on page 3, job scheduling in computer systems often employs a method in which a job is executed when system resources such as devices, volumes, and files necessary for job execution become available for exclusive use. There is.

この方式を、複数の割算機システムをチャネル結合装置
などで接続された複合形システム構成に適用した場合、
複合形システム内の他のシステムで、ボリューム実態の
異なる同一名称のファイル使用中であるならば、ジョブ
の実行はファイルの空き待ちでまたされるという問題点
があった。
When this method is applied to a complex system configuration in which multiple divider systems are connected by a channel coupling device, etc.,
If another system in the complex system is using a file with the same name but with a different volume status, the job will be executed again while waiting for the file to become available.

〔発明か解決しようとする課題〕[Invention or problem to be solved]

従来の複合形システムにおけるジョブスケジュールは、
ジョブで使用する装置、ボリューム、ファイルなどのシ
ステム資源を、複合形システム内でユニーク資源として
登録、管理することを前提とし、単独システムの固有の
ファイルであっても、複合形システム内の他システムで
、ボリューム実態の異なる同一名称のファイル使用中で
あるならば、ジョブの実行はファイルの空き待ちでまた
されるという問題点があった。
Job schedules in conventional complex systems are
It is assumed that system resources such as devices, volumes, and files used in jobs are registered and managed as unique resources within the complex system. However, if a file with the same name and a different volume status is in use, the job will be executed again while waiting for the file to become available.

本発明の目的は、複合形システム内で共用する磁気ディ
スク装置と、自システムでのみ使用するディスク装置と
の使用区分を登録・管理する手段を設け、複合形システ
ムにおけるジョブスケジュールを、(1)単独システム
内で共用する磁気ディスク装置のファイルは、自システ
ム内での排他制御(2)複合システム内で共用する磁気
ディスク装置のファイルは、複合システム間での排他制
御 することにより、複合システムにおけるジョブ実行
待ちの削減、複合システム間の排他制御処理オーバヘッ
ドを押さえて、複合システム全体の処理能力を向上させ
ることにある。
An object of the present invention is to provide a means for registering and managing usage classification between magnetic disk devices shared within a complex system and disk devices used only in the own system, and to manage job schedules in the complex system by (1) Files on a magnetic disk unit that are shared within a single system are under exclusive control within the own system (2) Files on a magnetic disk unit that are shared within a complex system are under exclusive control between complex systems. The objective is to improve the processing capacity of the entire complex system by reducing the number of jobs waiting for execution and suppressing the overhead of exclusive control processing between complex systems.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、実行するジョブをスプールファイルから取り
出すジョブ選択手段と、ジョブで使用するファイルの使
用権を確保するための共用・非共用ファイルの排他制御
手段と、ジョブで使用するファイルの共用/非共用の情
報を記憶する手段とを有し、ジョブで使用するファイル
が使用不可の場合には、当該ジョブをスプールファイル
に戻すジョブスケジュール方式により達成される。
The present invention provides job selection means for extracting a job to be executed from a spool file, exclusive control means for shared/non-shared files for securing usage rights for files used in a job, and sharing/non-shared file use for files used in a job. This is achieved by a job scheduling method that includes means for storing shared information, and returns the job to a spool file when a file used in a job is unavailable.

〔作用〕[Effect]

複合システム間で共用する共用ファイルを使用するジョ
ブは、複合システムを構築する以前と同し方式で、ファ
イルの使用権を確保したジョブだけが、共用ファイルの
更新・参照が可能となり、データベース等を複合システ
ム間で共用使用できることになる。
Jobs that use shared files shared between complex systems will use the same method as before building the complex system; only jobs that have secured file usage rights will be able to update and refer to shared files, and databases etc. It can be shared between complex systems.

自システム内のファイルだけを使用するジョブは、(1
)複合システム間でファイルの使用を逐次化するための
同期制御手段として使用する通信媒体(共用領域やチャ
ネル結合装置など)が障害となっても、自システム内で
ファイルの排他制御を実行するためジョブスケジュール
が可能 (2)自システム内のファイルだけを使用する
ため、自システム内のファイル名称がユニークであるな
らば、自システム内でのファイルの使用占有権が確保で
きれはジョブスケジュールが可能 となり、複合システ
ムを形成する以前と同しオーバヘットでジョブスケジュ
ールが可能となる。
A job that uses only files in its own system is (1
) To execute exclusive control of files within the local system even if the communication medium (shared area, channel coupling device, etc.) used as a synchronization control means to serialize file usage between complex systems becomes a failure. Job scheduling is possible (2) Since only files within the local system are used, if the file names within the local system are unique, job scheduling is possible if exclusive rights to use the files within the local system can be secured. This makes it possible to schedule jobs with the same overhead as before forming a complex system.

〔実施例〕〔Example〕

次に本発明の一実施例について図面により説明する。 Next, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明を適用した複合システムにおけるジョブ
スケジュール方式の一例を示す制御方式の構成要素を示
す図である。図中の符号1−1.1−2は、独立して動
作可能なR1算機システムであり、これらの割算機シス
テムには、利用者がジョブ制御文、プログラム列、デー
タ列(以降、ジョブス1〜リームという)から構成され
るジョブを実行依頼したときに、−旦、作業用に格納す
るファイルとして使用するスプールファイル2−1.2
−2と、実行ジョブか自システム内の他ジョブと共用利
用するファイル(以降、非共用ファイルという)を割り
当てる磁気ディスク装置等の直接アクセス装置(以降、
DASDという)である非共用D A S D ’3−
1.3−2と、実行ジョブが各計算機システム間(以降
、複合システム間という)の他ジョブと共用利用するフ
ァイルを割り当てる共用DASD4と、複合システム間
で共用DASD内に割り当てたファイル(以降、共用フ
ァイルという)を排他制御するための情報を管理するた
めに、複合システム間で参照・更新可能な共用メモリ等
に相当する記憶装置(以降、共用領域という)である共
用ファイルの管理手段5とを含んでいる。
FIG. 1 is a diagram showing the components of a control method showing an example of a job scheduling method in a complex system to which the present invention is applied. Reference numerals 1-1 and 1-2 in the figure are R1 computer systems that can operate independently. A spool file 2-1.2 is used as a file to store work when a job consisting of jobs 1 to 4) is submitted for execution.
-2, and a direct access device such as a magnetic disk device (hereinafter referred to as "non-shared file") that allocates files that are shared between the executing job and other jobs in the local system (hereinafter referred to as non-shared files).
A non-shared DASD (referred to as DASD)
1.3-2, a shared DASD 4 where execution jobs allocate files that are shared with other jobs between each computer system (hereinafter referred to as "between complex systems"), and files allocated within the shared DASD between complex systems (hereinafter referred to as "between complex systems"). A shared file management means 5, which is a storage device (hereinafter referred to as a shared area) corresponding to a shared memory etc. that can be referenced and updated between complex systems, is used to manage information for exclusive control of shared files (hereinafter referred to as shared files). Contains.

また、各計算機システム1−1.1−2には、実行依頼
されたジョブが登録されたスプールファイルから実行ジ
ョブ取り出しのためのジョブ選択手段6−1.6−2、
ジョブで使用する共用・非共用ファイルを、逐次使用可
能とするための制御へ を行う共用・非共用ファイルの排他制御手段7」、7−
2、ジョブで使用するファイルが共用または非共用DA
SDに属すかを管理する共用、非共用ボリュームの管理
手段8−1.8−2、および自システムで非共用DAS
D内に割り当てたファイルを排他制御するための情報を
管理する非共用ファイルの管理手段9−1.9−2、ジ
ョブで使用するファイルをアクセス可能な状態にするフ
ァイルの割り当て手段10−1.10−2を含んでいる
Each computer system 1-1.1-2 also includes job selection means 6-1.6-2 for extracting an execution job from a spool file in which a job requested for execution is registered;
Exclusive control means for shared/non-shared files that performs control to enable sequential use of shared/non-shared files used in jobs 7'', 7-
2. Files used in the job are shared or non-shared DA
Management means 8-1.8-2 for shared and non-shared volumes that manage which volumes belong to the SD, and non-shared DAS in the local system.
non-shared file management means 9-1.9-2 for managing information for exclusive control of files allocated in D; file allocation means 10-1.9-2 for making files used in jobs accessible; Contains 10-2.

では、第1図の計算機システム1−1を用いて、本発明
の複合システムにおけるジョブスケジュール方式の動作
概要について説明し、その後、第2図以降の図にて各構
成要素の詳細を説明することにする。
Next, an overview of the operation of the job scheduling method in the complex system of the present invention will be explained using the computer system 1-1 in FIG. 1, and then details of each component will be explained in the figures from FIG. 2 onwards. Make it.

複合システムの利用者は、各計算機システムで具備して
いるジョブの実行依頼方法(たとえば、TSSの環境か
らジョブをサブミツト、パッチジョブの場合にはジョブ
入力装置からジョブの入力)で、ジョブを入力すると、
スプールファイル21に格納される。本発明の実行ジョ
ブ取り出しのためのジョブ選択手段6−1は、ジョブス
トリーム中からファイルの使用を定義するジョブ制御文
を検索し、ジョブで使用する全てのファイルの使用権を
確保するため、制御を本発明の共用・非共用ファイルの
排他制御手段7−1に渡す。共用・非共用ファイルの排
他制御手段7−1は、共用・非共用ボリュームの管理手
段8−1を用いて、ジョブで使用するファイルか共用D
ASDに属すのか、非共用DASDに属すのかを決定し
、ファイルの共用・非共用別の次の排他制御の動作を実
行する。
Users of the complex system input jobs using the job execution request method provided by each computer system (for example, submitting a job from the TSS environment, or inputting a job from a job input device in the case of a patch job). Then,
It is stored in the spool file 21. The job selection means 6-1 for extracting an execution job of the present invention searches a job stream for a job control statement that defines the use of files, and in order to secure usage rights for all files used in the job, is passed to the shared/non-shared file exclusive control means 7-1 of the present invention. The shared/non-shared file exclusive control means 7-1 uses the shared/non-shared volume management means 8-1 to determine whether the file used in the job or the shared D
It is determined whether the file belongs to an ASD or a non-shared DASD, and the next exclusive control operation for shared/non-shared files is executed.

〈共用ファイルの場合〉 複合システム間で共用ファイルを排他制御するため、複
合システム全体の共用ファイルの管理手段5を用いて、
使用要求の発生した共用ファイルが使用可能かを決定し
、最新の共用ファイルの状態を共用ファイルの管理手段
5に記憶する。
<For shared files> In order to exclusively control shared files between complex systems, the shared file management means 5 for the entire complex system is used to
It is determined whether the shared file for which a use request has been made can be used, and the latest state of the shared file is stored in the shared file management means 5.

〈非共用ファイルの場合〉 自システムで非共用ファイルを排他制御するため、自シ
ステムの非共用ファイルの管理手段91を用いて、使用
要求の発生した非共用ファイルが使用可能かを決定し、
最新の非共用ファイルの状態を非共用ファイルの管理手
段9−1に記憶する。
<In the case of a non-shared file> In order to exclusively control the non-shared file in the own system, the non-shared file management means 91 of the own system is used to determine whether the non-shared file for which the usage request has occurred can be used,
The latest non-shared file status is stored in the non-shared file management means 9-1.

共用・非共用ファイルの排他制御手段7−1から、ジョ
ブで使用する全てのファイルの使用権確保を通知される
と、ファイルアクセス可能な状態にするため、制御をフ
ァイルの割り当て手段10−1に渡す。ファイルの割り
当てを完了すると、ジョブの実行を開始することになる
When the shared/non-shared file exclusive control means 7-1 notifies that the usage rights for all files used in the job have been secured, control is transferred to the file allocation means 10-1 in order to make the files accessible. hand over. Once the file allocation is complete, the job will start running.

一方、共用・非共用ファイルの排他制御手段71から、
ジョブで使用するファイル使用権が確保できないことが
通知されると、当該ジョブをファイルの使用権解除待ち
の状態にして、スプールファイル2−1に戻す。ファイ
ルの使用権解除待ちのジョブは、ファイルを使用してい
たジョブの終了により、共用・非共用ファイルの排他制
御手段7−1から、ファイルの使用権確保を通知される
と、ジョブをスプールファイル2−1から取り出し、フ
ァイルの割り当てから処理を再開する。
On the other hand, from the shared/non-shared file exclusive control means 71,
When it is notified that the right to use the file used by the job cannot be secured, the job is put in a state of waiting for the right to use the file to be released and returned to the spool file 2-1. When a job waiting to release the file usage rights is notified that the file usage rights have been secured from the shared/non-shared file exclusive control means 7-1 due to the end of the job that was using the file, the job is transferred to the spool file. 2-1 and restart the process from file allocation.

以上が本発明の複合システムにおけるジョブスケジュー
ル方式による動作の概要である。では次に、第2図以降
の流れ図、および管理情報を用いて動作の詳細を説明す
る。
The above is an overview of the operation of the job scheduling method in the complex system of the present invention. Next, details of the operation will be explained using the flowcharts shown in FIG. 2 and subsequent figures and management information.

第2図は、本発明による複合形システムにおける実行ジ
ョブ取り出しのためのジョブ選択手段61のジョブスケ
ジュールの処理例の流れ図である。自システムのスプー
ルファイル ブ登録又はファイル使用権解除の通知を監視し、ジョブ
登録又はファイル使用権解除が通知されるとジョブの取
り出しを行う(F2−1)。取り出したジョブで指定さ
れている第3図で示すジョブストリーム中のファイル使
用を定義するDD文を検索し、DSNオペランドで指定
されたファイル名、ファイル名で示されるファイルが割
り当てられているDASDを識別するためのボリューム
通し番号を指定するVOL=SERオペランドのボリュ
ーム通し番号と,DISPオペランドで指定された排他
使用区分(SHR:共用使用、OLD:排他使用)から
、第4図で示すジョブで使用するファイルの排他情報リ
ストを作成する(F2−2)。第4図の排他情報リスト
を指示して、共用・非共用ファイルの排他制御手段7−
1を起動してファイルの使用権の確保を要求する(F2
−3)。
FIG. 2 is a flowchart of an example of job schedule processing by the job selection means 61 for extracting an execution job in the composite system according to the present invention. It monitors notifications of spool file registration or file usage right cancellation in its own system, and when notified of job registration or file usage rights cancellation, takes out the job (F2-1). Search for the DD statement that defines file usage in the job stream shown in Figure 3 specified in the retrieved job, and search for the file name specified by the DSN operand and the DASD to which the file indicated by the file name is allocated. From the volume serial number of the VOL=SER operand, which specifies the volume serial number for identification, and the exclusive use classification (SHR: shared use, OLD: exclusive use) specified by the DISP operand, select the file to be used in the job shown in Figure 4. An exclusive information list is created (F2-2). Exclusive control means 7- for shared/non-shared files by specifying the exclusive information list shown in FIG.
1 and request to secure file usage rights (F2
-3).

共用・・非共用ファイルの排他制御手段7−1から通知
されるジョブで使用するファイルの使用権の確保状態を
判定し、自システムや他システムの他ジ玉ブで、ファイ
ルが使用中であるならば、ジョブをファイルの使用権解
除待ちでスプールファイル2−1に再登録する(F2−
4、F2−5)。
Shared/non-shared file exclusive control means 7-1 determines the secured status of the usage rights for the file used in the job, and determines whether the file is being used by other objects in the local system or other systems. If so, re-register the job in spool file 2-1 while waiting for file usage rights to be released (F2-
4, F2-5).

ファイルの使用権が確保できた場合、MJ算機システム
でファイルアクセスを可能とするため、ファイル割り当
て手段10−1を起動して、指定されたファイルの割り
当てを行う(F2−6)。ファイル使用権の確保とファ
イルの割り当ての完了したジョブを実行させる(F2−
7)。ジョブの実行が完了する(F2−8)と、ジョブ
で確保していたファイル使用権の解除要求を、第4図の
排他情報リス1へを指示して、共用・非共用ファイルの
排他制御手段7−1を起動して行う(Fl−9)と共に
、ファイル割り当て手段10−」を起動して、ファイル
の割り当てを解除する(F2−1.0)。
When the right to use the file is secured, the file allocation means 10-1 is activated to allocate the specified file in order to enable file access in the MJ computer system (F2-6). Execute the job that has completed securing file usage rights and allocating files (F2-
7). When the execution of the job is completed (F2-8), a request to release the file usage rights secured by the job is sent to the exclusive information list 1 in FIG. 4, and the shared/non-shared file exclusive control means At the same time, the file allocation means 10- is activated to release the file allocation (F2-1.0).

第5図は、共用・非共用ファイルの排他制御手段7−1
のファイル使用権の確保処理例の流れ図である。実行ジ
ョブ取り出しのためのジョブ選択手段6−1から指示さ
れた第4図で示すジョブで使用するファイルの排他情報
リストで示されたファイルが、共用・非共用ファイルで
あるかを、第6図の情報から構成される共用・非鉄用ボ
リュム管理手段8−1を用いて決定する(F5−1)。
FIG. 5 shows exclusive control means 7-1 for shared/non-shared files.
12 is a flowchart of an example of processing for securing file usage rights. The process shown in FIG. 6 determines whether the file indicated in the exclusive information list of files used in the job shown in FIG. (F5-1).

第6図の例では、複合システム間で共用するDASDの
ボリューム通し番号を、共用DASDのボリューム情報
として管理するようにしている。したがって、この共用
DASDのボリューム情報として登録されていないボリ
ュームは、非共用DASDとして認識されることになる
。ファイルが共用ファイルの場合、複合システム全体で
使用中の共用ファイルの状態を管理する共用ファイルの
管■1 理手段5を更新するためのロックを確保する(F5−2
、F5−3)。共用・非鉄用ファイル別の次の排他制御
のファイル使用権の確保動作を行った後、F5−3で確
保したロックの解除を行う(F5−6)。
In the example shown in FIG. 6, the volume serial number of a DASD shared between complex systems is managed as volume information of the shared DASD. Therefore, a volume that is not registered as volume information of this shared DASD will be recognized as a non-shared DASD. If the file is a shared file, shared file management that manages the status of the shared file being used in the entire complex system ■1 Secures a lock for updating the management means 5 (F5-2
, F5-3). After securing the file usage rights for the next exclusive control for each shared/non-ferrous file, the lock secured in F5-3 is released (F5-6).

く共用ファイルの場合〉 ・ファイルが未使用の場合 共用ファイルの管理手段5では、第7図の例で示す情報
を複合システム間で参照・更新可能な共用領域に管理し
ている。ファイル使用権の確保要求で指示されたファイ
ル名が、CFlに記憶されているかを調べ、CFIに同
一のファイル名が記憶されていない場合、ファイルの使
用権は確保できたとし、CFIにファイル名、CJIに
ジョブ名、C81に共用ファイル使用中の割算機システ
ム名、CElに排他使用区分(排他使用、共用使用の区
別)、C81にファイル使用中という情報を、共用ファ
イルの管理手段5に記憶する。
In the case of a shared file> - When the file is unused The shared file management means 5 manages the information shown in the example of FIG. 7 in a shared area that can be referenced and updated between complex systems. Check whether the file name specified in the request to secure file usage rights is stored in CFI. If the same file name is not stored in CFI, it is assumed that the file usage rights have been secured, and the file name is stored in CFI. , the job name in CJI, the name of the divider system in use of the shared file in C81, the exclusive use classification (distinction between exclusive use and shared use) in CEL, and the information that the file is in use in C81, to the shared file management means 5. Remember.

・ファイルが他ジョブで共用使用の場合ファイル使用権
の確保要求で指示された共用ファイルが、共用使用であ
る場合、第7図のCFIに同一ファイル名が共用使用で
記憶されていると、ファイルの使用権は確保てきたとし
1、CFlにファイル名、CJIにジョブ名、C8Iに
共用ファイル使用中の計算機システム名、(、E 1に
共用使用の排他使用区分、C81にファイル使用中とい
う情報を、共用ファイルの管理手段5に記憶する ・ファイルが他ジョブで排他使用中の場合ファイル使用
権の確保要求で指示されたファイル名が、第7図のCF
Iに同一のファイル名が記憶されていると、ファイルの
使用権が確保不可とする。この場合、ファイルの使用が
完了したときに、ファイルの使用権の解除待ちのジョブ
に使用権を与えるようにするため、CF 1にファイル
名、CJIにジョブ名、C8Iに共用ファイル使用権解
除待ちの計算機システム名、CF2に排他使用の排他使
用区分、C81にファイル使用権解除待ちという情報を
、共用ファイルの管理手段5に記憶する。
- When the file is shared by other jobs If the shared file specified in the request to secure file usage rights is shared, and the same file name is stored in the CFI in Figure 7 for shared use, the file Assuming that you have secured the right to use 1, CFL is the file name, CJI is the job name, C8I is the computer system name in use of the shared file, (, E1 is the shared use exclusive use classification, and C81 is the information that the file is in use. is stored in the shared file management means 5. ・If the file is being used exclusively by another job, the file name specified in the request to secure file usage rights will be stored in the CF in Figure 7.
If the same file name is stored in I, the right to use the file cannot be secured. In this case, in order to give usage rights to the job that is waiting for the file usage rights to be released when the use of the file is completed, CF1 should be the file name, CJI should be the job name, and C8I should be the file waiting for the shared file usage rights to be released. The computer system name, the exclusive use classification of exclusive use in CF2, and the information that C81 is waiting for release of file usage rights are stored in the shared file management means 5.

〈非共用ファイルの場合〉 ・ファイルが未使用の場合 非共用ファイルの管理手段9−1では、第8図に示す情
報を自システム内で参照・更新可能な領域に管理してい
る。ファイル使用権の確保要求で指示されたファイル名
が、OF 1に記憶されているかを調べ、OF1に同一
のファイル名が記憶されていない場合、ファイルの使用
権は確保できたとし、OFlにファイル名、OJIにジ
ョブ名、CEIに排他使用区分(排他使用、共用使用の
区分)、O81にファイル使用中という情報を、非共用
ファイルの管理手段9−1に記憶する。
<In the case of a non-shared file> - When the file is unused The non-shared file management means 9-1 manages the information shown in FIG. 8 in an area that can be referenced and updated within its own system. Check whether the file name specified in the request to secure file usage rights is stored in OF1. If the same file name is not stored in OF1, it is assumed that the file usage rights have been secured, and the file is stored in OF1. Name, job name in OJI, exclusive use classification (exclusive use, shared use classification) in CEI, and information that file is in use in O81 are stored in the non-shared file management means 9-1.

・ファイルが他ジョブで共用使用の場合ファイル使用権
の確保要求で指示された共用ノア1イルが、共用使用で
ある場合、第8図のOFIに同一ファイル名が共用使用
で記憶されていると、ファイルの使用権は確保できたと
し、OF 1にファイル名、CJIにジョブ名、OEI
に共用使用の排他使用区分、○S1にファイル使用中と
いう情報を、非共用ファイルの管理手段9−1の記憶す
る。
・If the file is shared by other jobs If the shared file specified in the request to secure file usage rights is for shared use, if the same file name is stored in the OFI in Figure 8 for shared use. , assuming that the right to use the file has been secured, file name in OF 1, job name in CJI, OEI
The non-shared file management means 9-1 stores information indicating the exclusive use classification of shared use and ○S1 indicating that the file is in use.

・ファイルが他ジョブで排他使用中の場合ファイル使用
権の確保要求で指示されたファイル名が、第8図のOF
、1に同一のファイル名が記憶されていると、ファイル
の使用権が確保不可とする。この場合、ファイルの使用
が完了したときに、ファイルの使用権の解除待ちのジョ
ブに使用権を与えるようにするため、OF1にファイル
名、O,Jlにジ3ブ名、0EI−に排他使用の排他使
用区分、O3Iにファイル使用権解除待ちという情報を
、非共用ファイルの管理手段9−1に記憶する。
・If the file is being used exclusively by another job, the file name specified in the request to secure file usage rights is
, 1, the right to use the file cannot be secured. In this case, in order to give the usage rights to the job waiting for the file usage rights to be released when the file usage is completed, OF1 is the file name, O, Jl is the job name, and 0EI- is the exclusive use Information indicating that the exclusive use classification of the file is waiting for release of the file use right in O3I is stored in the non-shared file management means 9-1.

第9図は、共用・非共用ファイルの排他制御手段7−1
のファイル使用権の解除処理例の流れ図である。実行ジ
ョブ取り出しのためのジ3ブ選択手段6−1から指示さ
れた第4図で示すジョブで使用するファイルの排他情報
リス1〜で示されたファイルが、共用・非共用ファイル
であるがを、第6図の情報から構成される共用・非共用
ボリューム管理手段8−1を用いて決定する(F9−1
)。
FIG. 9 shows exclusive control means 7-1 for shared/non-shared files.
12 is a flowchart of an example of processing for canceling file usage rights. The file shown in the exclusive information list 1 to 1 of the file used in the job shown in FIG. 4 instructed by the job selecting means 6-1 for extracting an execution job is a shared/non-shared file. , is determined using the shared/non-shared volume management means 8-1 configured from the information in FIG. 6 (F9-1
).

ファイルが共用ファイルの場合、複合システム全体で使
用中の共用ファイルの状態を管理する共用ファイルの管
理手段5を更新するためのロックを確保する(F 9−
2とF9−3)。共用・非鉄用ファイル別の次の排他制
御のファイル使用権の解除動作を行った後、F9−3で
確保したロックの解除を行う(F9−8)。
If the file is a shared file, a lock is secured to update the shared file management means 5 that manages the status of the shared file being used in the entire complex system (F9-
2 and F9-3). After performing the operation of releasing the file usage rights of the next exclusive control for each shared/non-ferrous file, the lock secured in F9-3 is released (F9-8).

く共用ファイルの場合〉 ・当該ジョブからファイルの使用権を解除するため、当
該ジョブに関連する管理情報を、第7図のCFIのファ
イル名、CJIのジョブ名、C81の共用ファイル使用
中の計算システム名、CEIの排他使用区分、C81の
ファイル使用中という情報を、共用ファイルの管理手段
5から削除する。
In the case of a shared file> ・In order to release the file usage rights from the relevant job, the management information related to the relevant job is changed to the file name of CFI, job name of CJI, and calculation of shared file in use of C81 in Figure 7. The system name, the CEI exclusive use classification, and the information that the C81 file is in use are deleted from the shared file management means 5.

・ファイル使用権の解除要求で指示されたファイル名C
F ]−が、別ジョブのCFIに同一のファイル名が記
憶されていると、ファイルの使用権の解除待ちのジョブ
に使用権を与えるようにする。この場合、CJIのジョ
ブ名とC,Slの共用ファイル使用権解除待ちの剖算機
システム名から、ファイルの使用権を確保できたことを
通知する計算機システムとジョブ名を決定し、C8Iに
ファイル使用中という情報を、共用ファイルの管理手段
5に記憶する。
・File name C specified in the request to cancel file usage rights
F]-, if the same file name is stored in the CFI of another job, the right to use the file is given to the job waiting for the right to use the file to be released. In this case, from the job name of CJI and the name of the autopsy computer system waiting for release of the shared file usage rights of C and Sl, determine the computer system and job name that will notify that the file usage rights have been secured, and send the file to C8I. Information indicating that the file is in use is stored in the shared file management means 5.

く非共用ファイルの場合〉 ・当該ジョブからファイルの使用権を解除するため、当
該ジョブに関連する管理情報を、第8図のOFIのファ
イル名、OJIのジョブ名、CEIの排他使用区分、○
S1のファイル使用中という情報を、非共用ファイルの
管理手段9−1から削除する。
In the case of non-shared files> ・In order to release the file usage rights from the relevant job, the management information related to the relevant job is changed to the file name of OFI, job name of OJI, exclusive use classification of CEI, and ○ in Figure 8.
The information that the file S1 is in use is deleted from the non-shared file management means 9-1.

・ファイル使用権の解除要求で指示されたファイル名○
F1が、別ジョブのOF1に同一のファイル名か記憶さ
れていると、ファイルの使用権の解除待ちのジョブに使
用権を■7 与えるようにする。この場合、OJIのジョブ名から、
ファイルの使用権を確保できたことを通知するジョブ名
を決定し、O81にファイル使用中という情報を、非共
用ファイルの管理手段9−1に記憶する。
・File name specified in the request to cancel file usage rights○
If F1 has the same file name stored in OF1 of another job, the usage right is given to the job waiting for the file usage right to be released. In this case, from the OJI job name,
A job name for notifying that the right to use the file has been secured is determined, and information indicating that the file is in use is stored in the non-shared file management means 9-1 in the O81.

本実施例によれば、複合形システムで共用・非共用ファ
イルを競合使用しないジョブだけがスケジュールされ、
実行することになる。これにより、ファイルの使用権確
保持ちでジョブの実行が中断されなくなるため、複合形
システムを構成する各システムのジョブスケジュールを
効率よく行うことができる。
According to this embodiment, only jobs that do not conflict with shared/non-shared files are scheduled in a complex system.
will be executed. As a result, job execution is not interrupted due to file usage rights being secured, making it possible to efficiently schedule jobs for each system making up the complex system.

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

以上説明したように、本発明によれば、複合形システム
でファイイルを使用するジョブは、ファイル実体が共用
・非共用に関係なく複合システム間で排他・共用制御さ
れていたものが、非共用DASDのファイルは、自シス
テム内での排他・共用制御を実行する方式で良いため、
排他・共用制御の処理オーバヘッドを削減できる。また
■ 非共用DASDだけを使用するジョブの実行は、他
の複合システムで実行するジョブのファイルの使用状況
に影響されること無く実行できることになり、複合シス
テムの構成であっても、非共用DASDだけを使用する
ジョブの実行は、自システム内の他ジョブのファイル使
用状態に影響されるだけであり、非共用ファイルの競合
によるジョブの実行中断される確立を低減できる。■ 
共用・非共用ファイルを競合使用しないジョブだけが各
計算機システムでスケジュールされ、実行することにな
るため、複合形システムを構成する各計算機システムの
ジョブスケジュールが効率よく行うことができる。とい
う効果がある。
As explained above, according to the present invention, jobs that use files in a complex system are controlled to be shared exclusively and shared between the complex systems, regardless of whether the file entity is shared or non-shared. Files can be controlled exclusively and shared within the local system, so
Processing overhead for exclusive/shared control can be reduced. In addition, ■ Jobs that use only non-shared DASD can be executed without being affected by the file usage status of jobs executed in other complex systems; Execution of a job that uses only the file is only affected by the file usage status of other jobs in its own system, and can reduce the probability that job execution will be interrupted due to contention for non-shared files. ■
Only jobs that do not conflict with shared/non-shared files are scheduled and executed on each computer system, so that job scheduling on each computer system making up the complex system can be performed efficiently. There is an effect.

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

第1図は本発明の方式を適用した複合システムにおける
ジョブスケジュール方式の一例を示す制御方式の構成要
素を示す図、第2図は複合形システムにおけるジョブス
ケジュールの処理例の流れ図、第3図は実行するジョブ
のジョブストリーム例を示す図、第4図は排他情報リス
トの情報例を示す図、第5図は共用・非共用ファイルの
排他制御手段の確保処理例の流れ図、第6図は共用・非
共用ボリューム管理情報例を示す図、第7図は共用ファ
イルの管理手段で用いる詳細情報の例を示す図、第8図
は非共用ファイルの管理手1段で用いる詳細情報の例を
示す図、第9図は共用・非共用ファイルの排他制御手段
の解除処理例の流れ図である。 図において、1−1.1−2・・・計算機システム、2
−1.2−2・・スプールファイル、3−1.3−2・
・・非共用DASD、4・・共用DASD、5・・共用
ファイルの管理手段、6−1.6−2・実行ジョブ取り
出しのジョブ選択手段、7−1.7−2・・・共用・非
共用ファイルの排他制御手段、8−1.8−2・共用・
非共用ボリュームの管理手段、9−1.9−2・・・非
共用ファイルの管理手段、10−1.10−2・・ファ
イル割り当て手段。 、1゛)・ 箪
FIG. 1 is a diagram showing the components of a control method showing an example of a job scheduling method in a complex system to which the method of the present invention is applied, FIG. 2 is a flowchart of an example of job schedule processing in a complex system, and FIG. A diagram showing an example of a job stream of a job to be executed, FIG. 4 is a diagram showing an example of exclusive information list information, FIG. 5 is a flowchart of an example of securing exclusive control means for shared/non-shared files, and FIG. 6 is a diagram showing an example of exclusive control means for shared/non-shared files.・A figure showing an example of non-shared volume management information, Fig. 7 is a figure showing an example of detailed information used by a shared file management means, and Fig. 8 is an example of detailed information used by one means of managing a non-shared file. FIG. 9 is a flowchart of an example of release processing of exclusive control means for shared/non-shared files. In the figure, 1-1.1-2...computer system, 2
-1.2-2... Spool file, 3-1.3-2...
...Non-shared DASD, 4.. Shared DASD, 5.. Shared file management means, 6-1.6-2. Job selection means for extracting execution jobs, 7-1.7-2.. Shared/non-shared DASD. Exclusive control means for shared files, 8-1.8-2・Shared・
Non-shared volume management means, 9-1.9-2... Non-shared file management means, 10-1.10-2... File allocation means. , 1゛)・ 箪

Claims (1)

【特許請求の範囲】[Claims] 1、ジョブで使用するファイルの使用権を確保するため
の共用・非共用ファイルの排他制御手段と、実行するジ
ョブをスプールファイルから取り出すジョブ選択手段と
、ジョブで使用するファイルの共用/非共用の情報を記
憶する手段とを有し、ジョブの開始時にジョブ選択手段
は、ジョブで使用するファイル単位に、複数の計算機シ
ステム内で排他制御することにより、ジョブで使用する
ファイルが使用不可の場合には、当該ジョブをスプール
ファイルに戻し、ジョブで使用するファイルが全て使用
可能な時にのみ、ジョブの実行を開始することを特徴と
する複合形システムにおけるジョブスケジュール方式。
1. Exclusive control means for shared/non-shared files to secure usage rights for files used in jobs, job selection means for extracting jobs to be executed from spool files, and shared/non-shared control for files used in jobs. At the start of a job, the job selection means performs exclusive control within multiple computer systems for each file used in the job, so that when the file used in the job is unavailable, the job selection means A job scheduling method for a complex system, characterized in that the job is returned to a spool file and execution of the job is started only when all files used in the job are available.
JP11981790A 1990-05-11 1990-05-11 Job scheduling system for composite type system Pending JPH0417057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11981790A JPH0417057A (en) 1990-05-11 1990-05-11 Job scheduling system for composite type system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11981790A JPH0417057A (en) 1990-05-11 1990-05-11 Job scheduling system for composite type system

Publications (1)

Publication Number Publication Date
JPH0417057A true JPH0417057A (en) 1992-01-21

Family

ID=14770981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11981790A Pending JPH0417057A (en) 1990-05-11 1990-05-11 Job scheduling system for composite type system

Country Status (1)

Country Link
JP (1) JPH0417057A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0830468A (en) * 1994-07-13 1996-02-02 Nec Corp Job schedule planning system
JP2008242667A (en) * 2007-03-26 2008-10-09 Exa Corp Exclusive control method and exclusive control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0830468A (en) * 1994-07-13 1996-02-02 Nec Corp Job schedule planning system
JP2008242667A (en) * 2007-03-26 2008-10-09 Exa Corp Exclusive control method and exclusive control program

Similar Documents

Publication Publication Date Title
JP3882930B2 (en) Managing virtual machines to use shared resources
US5946711A (en) System for locking data in a shared cache
EP0969383A2 (en) Method for efficient non-virtual main memory management
JPH10301834A (en) Management method for shared memory
US6016490A (en) Database management system
EP0747832A2 (en) Customer information control system and method in a loosely coupled parallel processing environment
JPH0522259B2 (en)
JP2004326755A (en) Management of dispatching function in virtual computer environment
US7770177B2 (en) System for memory reclamation based on thread entry and release request times
JPH0628053B2 (en) Resource allocation control method for multiprocessor system
JP2009294695A (en) Transaction parallel control method, database management system, and program
JPH0883253A (en) Method and device for virtual space management
JP4862770B2 (en) Memory management method and method in virtual machine system, and program
JPH0417057A (en) Job scheduling system for composite type system
JPH10198643A (en) Distributed computer system
JPH0559463B2 (en)
KR0152714B1 (en) Buffer managing method using buffer locking techniques in storage system of multi-user environment
JPH01112444A (en) Data access system
JPH09231180A (en) Server dividing method
JP3325729B2 (en) Memory management device
JPS63292456A (en) Control system for medium assignment of plural medium containing type data recorder
JPH05113894A (en) File resource managing system in virtual computer system
JPH09305471A (en) File simultaneous access control system
JPH08129501A (en) Reservation access processing method for data base
JPH02171952A (en) Dispatching system for multiprocessor