JP2513303B2 - Spool file distribution method - Google Patents

Spool file distribution method

Info

Publication number
JP2513303B2
JP2513303B2 JP6274889A JP6274889A JP2513303B2 JP 2513303 B2 JP2513303 B2 JP 2513303B2 JP 6274889 A JP6274889 A JP 6274889A JP 6274889 A JP6274889 A JP 6274889A JP 2513303 B2 JP2513303 B2 JP 2513303B2
Authority
JP
Japan
Prior art keywords
job
spool file
identifier
spool
execution result
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.)
Expired - Lifetime
Application number
JP6274889A
Other languages
Japanese (ja)
Other versions
JPH02242329A (en
Inventor
康彰 藤元
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6274889A priority Critical patent/JP2513303B2/en
Publication of JPH02242329A publication Critical patent/JPH02242329A/en
Application granted granted Critical
Publication of JP2513303B2 publication Critical patent/JP2513303B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はジョブのスプーリングを行なっているシステ
ムに於けるスプールファイルの管理方式に関し、特にス
プールファイルを複数のボリュームに分散させて管理す
るスプールファイル分散方式に関する。
The present invention relates to a spool file management system in a system that spools jobs, and more particularly to a spool file management system that distributes spool files to a plurality of volumes. Regarding the file distribution method.

〔従来の技術〕[Conventional technology]

入出力装置の共有性を高めるために、ジョブ制御言語
及び利用者データにより構成されるジョブストリームと
ジョブの実行結果とを共有可能な中間媒体であるスプー
ルファイルに一旦格納するスプーリングと呼ばれるジョ
ブの処理形態は従来より行なわれているが、従来はスプ
ールファイルはジョブストリーム格納用,ジョブ実行結
果格納用等利用目的毎に1ファイルのみしか準備されて
いなかった。
In order to improve the sharability of input / output devices, a job called spooling in which a job stream composed of a job control language and user data and the execution result of a job are temporarily stored in a spool file that is a sharable intermediate medium Although the processing form has been conventionally performed, conventionally, only one file is prepared as a spool file for storing a job stream, storing a job execution result, and the like.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

従来は上述したように、各利用目的に合わせて1ファ
イルのみしか準備されていなかったため、ファイルアク
セスが集中し、多重プログラミングの効果を下げている
という問題があった。
Conventionally, as described above, only one file is prepared for each purpose of use, so there is a problem that file access is concentrated and the effect of multiple programming is reduced.

本発明の目的はファイルアクセスの集中を防ぐことに
より、多重プログラミングの効果を高めるようにするこ
とにある。
An object of the present invention is to enhance the effect of multiple programming by preventing the concentration of file access.

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

本発明は上記目的を達成するため、 ジョブのスプーリングを行なうシステムに於いて、 システム立上げ時に複数のボリュームを検索し、スプ
ールファイルとして使用可能なファイルを認識するスプ
ールファイル認識手段と、 該スプールファイル認識手段で使用可能な認識された
ファイルに利用目的に合わせたスプールファイル識別子
を割当てるスプールファイル識別子決定手段と、 投入されたジョブにジョブ識別子を割当てるジョブ識
別子割当手段と、 該ジョブ識別子割当手段で割当てられたジョブ識別子
に基づいて前記投入されたジョブに割当てる各利用目的
のスプールファイルのスプールファイル識別子を決定す
るスプールファイル識別子割当手段と、 前記投入されたジョブのジョブストリームを前記スプ
ールファイル識別子割当手段により決定された各利用目
的のスプールファイル識別子の内の利用目的がジョブス
トリーム格納用のスプールファイル識別子に対応したス
プールファイルに格納するジョブストリーム格納手段
と、 前記投入されたジョブの実行時、前記スプールファイ
ル識別子割当手段により決定された前記ジョブストリー
ム格納用のジョブストリーム識別子対応のスプールファ
イルからジョブストリームを読込むジョブストリーム読
込手段と、 前記投入されたジョブの実行結果を前記スプールファ
イル識別子割当手段により決定された各利用目的のスプ
ールファイル識別子の内の利用目的がジョブ実行結果格
納用のスプールファイル識別子に対応したスプールファ
イルに格納する格納手段と、 前記投入されたジョブの実行結果の出力時、前記スプ
ールファイル識別子割当手段により決定された前記ジョ
ブ実行結果格納用のスプールファイル識別子対応のスプ
ールファイルからジョブの実行結果を読込み、出力装置
に出力するジョブ実行結果読込手段とを設けたものであ
る。
In order to achieve the above object, the present invention provides a spool file recognition means for recognizing a file that can be used as a spool file by searching a plurality of volumes at system startup in a system for spooling jobs. A spool file identifier deciding means for allocating a spool file identifier suitable for the purpose of use to the recognized file usable by the file recognizing means, a job identifier allocating means for allocating a job identifier to the submitted job, and a job identifier allocating means Spool file identifier assigning means for determining a spool file identifier of each spool file to be used for assigning to the submitted job based on the assigned job identifier; and a job stream of the submitted job to the spool file identifier assigning means. Job stream storage means for storing the spool file corresponding to the spool file identifier for storing the job stream in the spool file identifier of each usage purpose determined by the above; and when executing the input job, the spool Job stream reading means for reading a job stream from a spool file corresponding to the job stream identifier for storing the job stream decided by the file identifier assigning means, and execution result of the inputted job is decided by the spool file identifier assigning means Storage means for storing a spool file corresponding to the spool file identifier for storing the job execution result in the spool file identifier of each of the used purposes, and a spool means for outputting the execution result of the input job. Yl identifier assigning means reads by the job execution result storage run from the spool file identifier corresponding spool file of a job for results determined by the output device job execution result output to those provided and reading means.

〔作用〕[Action]

スプールファイル認識手段はシステム立上げ時に複数
のボリュームを検索し、スプールファイルとして使用可
能なファイルを認識する。スプールファイル識別子決定
手段はスプールファイル認識手段が認識したファイルに
利用目的に合わせたスプールファイル識別子を割当て
る。ジョブ識別子割当手段は投入されたジョブにジョブ
識別子を割当てる。スプールファイル識別子割当手段は
ジョブ識別子割当手段が割当てたジョブ識別子に基づい
て投入されたジョブに割当てる各利用目的のスプールフ
ァイルのスプールファイル識別子を決定する。ジョブス
トリーム格納手段は投入されたジョブのジョブストリー
ムをスプールファイル識別子割当手段が決定したジョブ
ストリーム格納用のスプールファイル識別子に対応した
スプールファイルに格納する。ジョブの実行時、ジョブ
ストリーム読込手段はジョブストリームをスプールファ
イル識別子割当手段が決定したジョブストリーム格納用
のスプールファイル識別子に対応したスプールファイル
から読込み、格納手段はジョブの実行結果をスプールフ
ァイル識別子割当手段が決定したジョブ実行結果格納用
のスプールファイル識別子に対応したスプールファイル
に格納する。ジョブ実行結果読込手段はジョブ実行結果
の出力時、スプールファイル識別子割当手段が決定した
ジョブ実行結果格納用のスプールファイル識別子に対応
するスプールファイルからジョブの実行結果を読込み、
出力装置に出力する。
The spool file recognition means searches a plurality of volumes when the system is started up and recognizes a file that can be used as a spool file. The spool file identifier determining means assigns a spool file identifier suitable for the purpose of use to the file recognized by the spool file recognizing means. The job identifier assigning unit assigns a job identifier to the input job. The spool file identifier assigning means determines the spool file identifier of each spool file for each purpose of use to be assigned to the submitted job based on the job identifier assigned by the job identifier assigning means. The job stream storage means stores the job stream of the input job in a spool file corresponding to the spool file identifier for job stream storage determined by the spool file identifier assigning means. When the job is executed, the job stream reading means reads the job stream from the spool file corresponding to the spool file identifier for storing the job stream determined by the spool file identifier assigning means, and the storing means stores the job execution result in the spool file identifier assigning means. The job execution result is stored in the spool file corresponding to the determined spool file identifier. The job execution result reading means, when outputting the job execution result, reads the job execution result from the spool file corresponding to the spool file identifier for storing the job execution result determined by the spool file identifier assigning means,
Output to the output device.

〔実施例〕〔Example〕

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

第1図は本発明の実施例のブロック図であり、本実施
例にかかるシステム100はスプールファイル認識手段1
と、スプールファイル識別子決定手段2と、ジョブ識別
子割当手段3と、スプールファイル識別子割当手段4
と、ジョブストリーム格納手段5と、ジョブストリーム
読込手段6と、ジョブ実行結果格納手段7と、ジョブ実
行結果読込手段8と、ボリューム9−1〜9−4と、ス
プールファイル10−1〜10−8と、スプールファイル識
別子記憶部11と、カードリーダ等の入力装置12と、ライ
ンプリンタ等の出力装置13とから構成されている。
FIG. 1 is a block diagram of an embodiment of the present invention. The system 100 according to the present embodiment has a spool file recognition means 1
, Spool file identifier determining means 2, job identifier assigning means 3, and spool file identifier assigning means 4
A job stream storing means 5, a job stream reading means 6, a job execution result storing means 7, a job execution result reading means 8, volumes 9-1 to 9-4, and spool files 10-1 to 10-. 8, a spool file identifier storage unit 11, an input device 12 such as a card reader, and an output device 13 such as a line printer.

次に本実施例の動作について第1図を用いて説明す
る。
Next, the operation of this embodiment will be described with reference to FIG.

システム100が立ち上がった際、スプールファイル認
識手段1によりボリューム9−1〜9−4が検索され、
スプールファイルとして使用可能なファイルが認識され
る。スプールファイル識別子決定手段2はスプールファ
イル認識手段1でスプールファイルとして使用可能であ
ると認識されたファイルに、その利用目的(ジョブスト
リームの格納用,ジョブ実行結果の格納用等)が判る形
式のスプールファイル識別子を割当てる。その際、各利
用目的のスプールファイルの数が等しくなり、且つ同一
の使用目的のスプールファイルが同一のボリュームに設
けられないように、スプールファイル識別子を割当て
る。
When the system 100 starts up, the spool file recognition means 1 searches the volumes 9-1 to 9-4,
A file that can be used as a spool file is recognized. The spool file identifier determining means 2 is a spool of a format in which a file recognized by the spool file recognizing means 1 as a spool file can be used for its purpose (for storing a job stream, storing a job execution result, etc.). Assign a file identifier. At this time, a spool file identifier is assigned so that the number of spool files for each purpose of use is equal and the spool files for the same purpose of use are not provided in the same volume.

その後、カードリーダ等の入力装置12からジョブが投
入されると、ジョブ識別子割当手段3により、そのジョ
ブにシステム100に於いてユニークなジョブ識別子が割
当てられる。スプールファイル識別子割当手段4では、
例えば、ジョブ識別子割当手段3が割当てるジョブ識別
子が数値である場合は、スプールファイルの個数を上記
数値で割った時の余りに対応するスプールファイルを選
択する等、スプールファイル識別子割当手段4が割当て
たジョブ識別子に基づいて、スプールファイル識別子決
定手段2で定義されたスプールファイル識別子の中から
各利用目的のスプールファイル識別子をそれぞれ1つず
つ選択し、選択した各利用目的のスプールファイル識別
子とジョブ識別子割当手段3が割当てたジョブ識別子と
を組にしてスプールファイル識別子記憶部11に格納す
る。従って、このスプールファイル識別子記憶部11を参
照すれば、ジョブ識別子に対応するスプールファイルが
どのボリュームのどのファイルであるかを知ることがで
きる。尚、同一スプールファイル内のデータはジョブ識
別子により管理される。また、入力装置12から投入され
たジョブのジョブ制御言語と利用者データとから構成さ
れるジョブストリームは、ジョブストリーム格納手段5
により、スプールファイル識別子記憶部11に上記ジョブ
のジョブ識別子と組になって記憶されている各利用目的
のスプールファイル識別子の内の利用目的がジョブスト
リーム格納用のスプールファイル識別子に対応するスプ
ールファイルに格納される。
After that, when a job is input from the input device 12 such as a card reader, the job identifier assigning means 3 assigns a unique job identifier in the system 100 to the job. In the spool file identifier assigning means 4,
For example, when the job identifier assigned by the job identifier assigning unit 3 is a numerical value, the job assigned by the spool file identifier assigning unit 4 is selected, such as selecting a spool file corresponding to the remainder when the number of spool files is divided by the above numerical value. Based on the identifier, one spool file identifier for each purpose of use is selected from among the spool file identifiers defined by the spool file identifier determining means 2, and the selected spool file identifier for each purpose of use and the job identifier assigning means And the job identifier assigned by No. 3 are stored in the spool file identifier storage unit 11 as a set. Therefore, by referring to the spool file identifier storage unit 11, it is possible to know which file in which volume the spool file corresponding to the job identifier is. The data in the same spool file is managed by the job identifier. Further, the job stream including the job control language of the job input from the input device 12 and the user data is the job stream storage unit 5.
By this, among the spool file identifiers for each purpose of use stored in the spool file identifier storage unit 11 in combination with the job identifier of the above-mentioned job, a spool file corresponding to the spool file identifier for storing the job stream is used. Is stored.

ジョブの実行に際しては、スプールファイル識別子記
憶部11に上記ジョブのジョブ識別子と組になって記憶さ
れている各利用目的のスプールファイル識別子の内の利
用目的がジョブストリーム格納用のスプールファイル識
別子に対応するスプールファイルから上記ジョブに対応
するジョブストリームがジョブストリーム読込手段6に
より読込まれ、ジョブの実行結果が、スプールファイル
識別子記憶部11に記憶されている各利用目的のスプール
ファイル識別子の内のジョブ実行結果格納用のスプール
ファイル識別子に対応するスプールファイルにジョブ実
行結果格納手段7により格納される。
When executing a job, the purpose of use among the spool file identifiers for each purpose stored in the spool file identifier storage unit 11 in combination with the job identifier of the above job corresponds to the spool file identifier for storing the job stream. A job stream corresponding to the above-mentioned job is read from the spool file by the job stream reading means 6, and the execution result of the job is the job execution in the spool file identifier for each usage purpose stored in the spool file identifier storage unit 11. The job execution result storage means 7 stores the result in a spool file corresponding to the spool file identifier for storing results.

また、ジョブの実行結果の出力に際しては、ジョブ実
行結果読込手段8により、スプールファイル識別子記憶
部11に上記ジョブのジョブ識別子と組になって記憶され
ている各利用目的のスプールファイル識別子の内のジョ
ブ実行結果格納用のスプールファイル識別子に対応する
スプールファイルから上記ジョブの実行結果が読込ま
れ、ラインプリンタ等の出力装置13に出力される。
When outputting the execution result of the job, the job execution result reading means 8 selects one of the spool file identifiers for each purpose of use stored in the spool file identifier storage unit 11 in combination with the job identifier of the job. The execution result of the job is read from the spool file corresponding to the spool file identifier for storing the job execution result, and is output to the output device 13 such as a line printer.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明はスプーリングを行なっ
ているシステムに於いて、スプールファイルを複数のボ
リュームに分散して作成するようにしたものであるの
で、ファイルアクセスの集中を防ぎ、多重プログラミン
グの効果を高めることができる効果があると共に、実行
ジョブ数の拡大にも追従できる効果がある。また、更
に、本発明によればスプールファイルの或るボリューム
に障害が発生しても、別ボリュームのスプールファイル
で代替できるため、システムダウンを防止することがで
きる効果もある。
As described above, according to the present invention, in a spooling system, spool files are created by being distributed to a plurality of volumes, so that concentration of file access can be prevented and multiple programming can be performed. There is an effect that the effect can be enhanced and an effect that the expansion of the number of executed jobs can be followed. Furthermore, according to the present invention, even if a failure occurs in a certain volume of the spool file, it can be replaced by the spool file of another volume, so that there is an effect that the system down can be prevented.

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

第1図は本発明の実施例のブロック図である。 図に於いて、1……スプールファイル認識手段、2……
スプールファイル識別子決定手段、3……ジョブ識別子
割当手段、4……スプールファイル識別子割当手段、5
……ジョブストリーム格納手段、6……ジョブストリー
ム読込手段、7……ジョブ実行結果格納手段、8……ジ
ョブ実行結果読込手段、9−1〜9−4……ボリュー
ム、10−1〜10−8……スプールファイル、11……スプ
ールファイル識別子記憶部、12……入力装置、13……出
力装置。
FIG. 1 is a block diagram of an embodiment of the present invention. In the figure, 1 ... spool file recognition means, 2 ...
Spool file identifier determining means, 3 ... Job identifier assigning means, 4 ... Spool file identifier assigning means, 5
...... Job stream storing means, 6 ...... Job stream reading means, 7 ...... Job execution result storing means, 8 ...... Job execution result reading means, 9-1 to 9-4 ...... Volume, 10-1 to 10- 8 ... Spool file, 11 ... Spool file identifier storage unit, 12 ... Input device, 13 ... Output device.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ジョブのスプーリングを行なうシステムに
於いて、 システム立上げ時に複数のボリュームを検索し、スプー
ルファイルとして使用可能なファイルを認識するスプー
ルファイル認識手段と、 該スプールファイル認識手段で使用可能と認識されたフ
ァイルに利用目的に合わせたスプールファイル識別子を
割当てるスプールファイル識別子決定手段と、 投入されたジョブにジョブ識別子を割当てるジョブ識別
子割当手段と、 該ジョブ識別子割当手段で割当てられたジョブ識別子に
基づいて前記投入されたジョブに割当てる各利用目的の
スプールファイルのスプールファイル識別子を決定する
スプールファイル識別子割当手段と、 前記投入されたジョブのジョブストリームを前記スプー
ルファイル識別子割当手段により決定された各利用目的
のスプールファイル識別子の内の利用目的がジョブスト
リーム格納用のスプールファイル識別子に対応したスプ
ールファイルに格納するジョブストリーム格納手段と、 前記投入されたジョブの実行時、前記スプールファイル
識別子割当手段により決定された前記ジョブストリーム
格納用のジョブストリーム識別子対応のスプールファイ
ルからジョブストリームを読込むジョブストリーム読込
手段と、 前記投入されたジョブの実行結果を前記スプールファイ
ル識別子割当手段により決定された各利用目的のスプー
ルファイル識別子の内の利用目的がジョブ実行結果格納
用のスプールファイル識別子に対応したスプールファイ
ルに格納する格納手段と、 前記投入されたジョブの実行結果の出力時、前記スプー
ルファイル識別子割当手段により決定された前記ジョブ
実行結果格納用のスプールファイル識別子対応のスプー
ルファイルからジョブの実行結果を読込み、出力装置に
出力するジョブ実行結果読込手段とを含むことを特徴と
するスプールファイル分散方式。
1. In a system for spooling a job, a spool file recognition means for recognizing a file that can be used as a spool file by searching a plurality of volumes at system startup, and used by the spool file recognition means A spool file identifier deciding means for allocating a spool file identifier suitable for the purpose of use to a file recognized as possible, a job identifier allocating means for allocating a job identifier to a submitted job, and a job identifier allocated by the job identifier allocating means Spool file identifier assigning means for determining the spool file identifier of each spool file for each purpose of use, which is assigned to the submitted job, and each job stream of the submitted job determined by the spool file identifier assigning means. A job stream storing means for storing the spool file corresponding to the spool file identifier for storing the job stream in the spool file identifier for the purpose of use, and the spool file identifier assigning means when executing the input job. Job stream reading means for reading the job stream from the spool file corresponding to the determined job stream identifier for storing the job stream, and the purpose of use determined by the spool file identifier assigning means for the execution result of the input job. Of the spool file identifiers, the storage means stores the spool file corresponding to the spool file identifier for storing the job execution result, and the spool file identifier assigning means when outputting the execution result of the input job. A spool file distribution method comprising: a job execution result reading unit that reads a job execution result from a spool file corresponding to the spool file identifier for storing the job execution result determined by the above, and outputs the job execution result to an output device.
JP6274889A 1989-03-15 1989-03-15 Spool file distribution method Expired - Lifetime JP2513303B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6274889A JP2513303B2 (en) 1989-03-15 1989-03-15 Spool file distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6274889A JP2513303B2 (en) 1989-03-15 1989-03-15 Spool file distribution method

Publications (2)

Publication Number Publication Date
JPH02242329A JPH02242329A (en) 1990-09-26
JP2513303B2 true JP2513303B2 (en) 1996-07-03

Family

ID=13209333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6274889A Expired - Lifetime JP2513303B2 (en) 1989-03-15 1989-03-15 Spool file distribution method

Country Status (1)

Country Link
JP (1) JP2513303B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2871872B2 (en) * 1991-02-20 1999-03-17 日本電気株式会社 Sys out spool control method

Also Published As

Publication number Publication date
JPH02242329A (en) 1990-09-26

Similar Documents

Publication Publication Date Title
US4727487A (en) Resource allocation method in a computer system
JPH064405A (en) Computer with extended virtual storage
KR980010840A (en) Computer-implemented methods, computer readable media, and computer systems for resource management
JPH113269A (en) System and method for assisting accurate garbage collection by separating contents of stack into sub-stacks
JPH05189281A (en) File assigning system for storage device
US20030079084A1 (en) Storage control system
JPS6367685B2 (en)
JP2513303B2 (en) Spool file distribution method
US7650456B2 (en) Employment method of virtual tape volume
JPH10289066A (en) Image processor and its method
JPH0887433A (en) Block management system of file system
JP2924725B2 (en) Buffer allocation control system
JP3046887B2 (en) Output file generation method in OCR data entry system
JP3084812B2 (en) Program list output efficiency method
JPH11338719A (en) Computer system
JPH0784840A (en) File allocation system
JPH02304615A (en) Allocating system for parallel disk control buffer
JPS61228538A (en) File control system
JP2565129B2 (en) Volume division management method
JP2969776B2 (en) Data identification method
JPH0793193A (en) Method and device for managing filing system
JPH09160815A (en) File alloting system
JPH07149006A (en) Printer control device
JPH09274546A (en) Printer, data processing method for the same and storage medium storing program readable for computer
JP2871872B2 (en) Sys out spool control method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20080430

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090430

Year of fee payment: 13

EXPY Cancellation because of completion of term