JPH0495120A - Data storage device assigning system - Google Patents

Data storage device assigning system

Info

Publication number
JPH0495120A
JPH0495120A JP20973390A JP20973390A JPH0495120A JP H0495120 A JPH0495120 A JP H0495120A JP 20973390 A JP20973390 A JP 20973390A JP 20973390 A JP20973390 A JP 20973390A JP H0495120 A JPH0495120 A JP H0495120A
Authority
JP
Japan
Prior art keywords
data storage
storage device
loaded
storage medium
medium
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
JP20973390A
Other languages
Japanese (ja)
Inventor
Takeshi Mochizuki
望月 猛
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 JP20973390A priority Critical patent/JPH0495120A/en
Publication of JPH0495120A publication Critical patent/JPH0495120A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the burden of an operator by preferentially assigning a data storage device for which a storage medium is not loaded, to an assignment requiring source in the case of the presense of this data storage device. CONSTITUTION:When an assignment requirement including medium names of storage mediums 1a to 1f issued, a device reserving means 7 refers to a device management table 5 to discriminate whether the storage devices (2-1) - (2-N) where storage media 1a to 1f are not loaded are present thereon or not. If the data storage device 2-1, etc., where the storage medium is not loaded is present thereon, a message is outputted which indicates not only assignment of this data storage device 2-1 to the requiring source but also loading of the storage medium of the medium name, which is included in the assignment request, to the data storage device 2-1 assigned to the requiring source. Thus, the burden of the operator is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数のデータ記憶装置を有するコンピュータシ
ステムに関し、特にデータ記憶装置を割り当て要求の要
求元に割り当てるデータ記憶装置割り当て方式に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a computer system having a plurality of data storage devices, and more particularly to a data storage device allocation method for allocating a data storage device to a requester of an allocation request.

〔従来の技術〕[Conventional technology]

従来、複数のデータ記憶装置を有するコンピュータシス
テムに於いては、記憶媒体の媒体名を含むデータ記憶装
置の割り当て要求があった場合、各データ記憶装置が割
り当て済みか否かを示す情報を管理している装置管理テ
ーブルを予め決められている順序で検索し、最初に見つ
けた割り当ての済んでいないデータ記憶装置を要求元に
割り当てると共に、要求元に割り当てたデータ記憶装置
の装置名と割り当て要求中の媒体名とを含むメツセージ
を出力するようにしている。
Conventionally, in a computer system having multiple data storage devices, when there is a request to allocate a data storage device including the name of the storage medium, information indicating whether each data storage device has been allocated or not is managed. The device management table that is currently assigned is searched in a predetermined order, the first unallocated data storage device found is allocated to the requester, and the device name of the data storage device allocated to the requester and the allocation request being requested. The message containing the media name is output.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように、従来は、最初に見つけた割り当ての済
んでいないデータ記憶装置を要求元に割り当てているた
め、他に記憶媒体の装填されていないデータ記憶装置が
あるにもかかわらず、割り当ては行なわれていないが、
オペレータが記憶媒体を未だ取り外していないデータ記
憶装置が割り当てられてしまう場合があり、このような
場合、オペレータは既に装填されている記憶媒体を取り
外してから割り当“て要求によって要求された記憶媒体
を装填しなければならず、オペレータの負担が大きくな
るという問題がある。また、装置管理テーブルを予め定
められた順序で検索し、最初に見つけた割り当ての済ん
でいないデータ記憶装置を要求元に割り当てるようにし
ているため、検索順序が先のデータ記憶装置はど使用回
数が多くなるという問題もある。
As mentioned above, conventionally, the first unallocated data storage device found is allocated to the requester, so even if there are other unallocated data storage devices loaded with storage media, the allocation is not completed. Although it has not been done,
A data storage device may be allocated for which the operator has not yet removed the storage medium, in which case the operator must remove the already loaded storage medium before allocating the storage medium requested by the request. There is a problem in that the operator has to load the data storage device, which increases the burden on the operator.Also, the device management table is searched in a predetermined order, and the first unallocated data storage device found is sent to the request source. Since data storage devices are allocated first, there is also the problem that data storage devices that are located earlier in the search order are used more times.

本発明の目的はオペレータの負担を軽減させると共に、
各データ記憶装置の使用回数を均等にするようにするこ
とにある。
The purpose of the present invention is to reduce the burden on the operator, and
The purpose is to equalize the number of times each data storage device is used.

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

本発明はオペレータの負担を軽減するため、記憶媒体が
装填される複数のデータ記憶装置を備えたコンピュータ
システムに於いて、前記各データ記憶装置に記憶媒体が
装填されているか否かを示す情報及び前記各データ記憶
装置が割り当て済みであるか否かを示す情報を管理する
装置管理テーブルと、 記憶媒体の媒体名を含む割り当て要求に応答して前記装
置管理テーブルを参照し、記憶媒体が装填されていない
データ記憶装置が存在する場合はその内の1つを要求元
に割り当てると共に要求元に割り当てたデータ記憶装置
に前記割り当て要求に含まれている媒体名の記憶媒体を
装填することを指示するメツセージを出力し、記憶媒体
が装填されていないデータ記憶装置が存在しない場合は
割り当ての済んでいないデータ記憶装置の内の1つを要
求元に割り当てると共に要求元に割り当てたデータ記憶
装置に前記割り当て要求に含まれている媒体名の記憶媒
体を装填することを指示するメッセージを出力する装置
確保手段とを設けたものである。
In order to reduce the burden on the operator, the present invention provides a computer system equipped with a plurality of data storage devices each loaded with a storage medium. a device management table that manages information indicating whether each data storage device has been allocated; and a device management table that manages information indicating whether or not each data storage device has been allocated; If there are data storage devices that have not been assigned, allocate one of them to the request source and instruct the request source to load the storage medium with the media name included in the allocation request into the assigned data storage device. If a message is output and there is no data storage device with no storage medium loaded, one of the unallocated data storage devices is assigned to the requester, and the said assignment is made to the data storage device assigned to the requester. The device securing means outputs a message instructing loading of the storage medium having the medium name included in the request.

また、本発明はオペレータの負担を軽減させると共に、
各データ記憶装置の使用回数を均等にするため、 記憶媒体が装填される複数のデータ記憶装置を備えたコ
ンピュータシステムに於いて、前記各データ記憶装置に
記憶媒体が装填されているか否かを示す情報、前記各デ
ータ記憶装置が割り当て済みであるか否かを示す情報及
び前記各データ記憶装置が解放された順番を示す情報を
管理する装置管理テーブルと、 記憶媒体の媒体名を含む割り当て要求に応答して前記装
置管理テーブルを参照し、記憶媒体が装填されていない
データ記憶装置が存在する場合はその内の1つを要求元
に割り当てると共に要求元に割り当てたデータ記憶装置
に前記割り当て要求に含まれている媒体名の記憶媒体を
装填することを指示するメッセージを出力し、記憶媒体
が装填されていないデータ記憶装置が存在しない場合は
割り当ての済んでいないデータ記憶装置の内の最初に解
放されているデータ記憶装置を要求元に割り当てると共
に要求元に割り当てたデータ記憶装置に前記割り当て要
求に含まれている媒体名の記憶媒体を装填することを指
示するメッセージを出力する装置確保手段とを設けたも
のである。
In addition, the present invention reduces the burden on the operator, and
In order to equalize the number of times each data storage device is used, in a computer system equipped with a plurality of data storage devices loaded with storage media, an indication of whether or not each data storage device is loaded with a storage medium. information, a device management table for managing information indicating whether each of the data storage devices has been allocated or not, and information indicating the order in which each of the data storage devices has been released; In response, the device management table is referred to, and if there is a data storage device in which no storage medium is loaded, one of them is assigned to the request source, and the data storage device assigned to the request source is assigned to the allocation request. Outputs a message instructing to load the storage medium with the included media name, and if there is no data storage device with no storage medium loaded, releases the first unallocated data storage device. device securing means for allocating the data storage device assigned to the request source to the request source and outputting a message instructing to load a storage medium having a media name included in the allocation request into the data storage device allocated to the request source; It was established.

〔作 用〕[For production]

記憶媒体の媒体名を含む割り当て要求があると、装置確
保手段は装置管理テーブルを参照して記憶媒体が装填さ
れていないデータ記憶装置が存在するか否かを判定する
。そして、記憶媒体が装填されていないデータ記憶装置
が存在する場合は、その内の1つを要求元に割り当てる
と共に要求元に割り当てたデータ記憶装置に割り当て要
求に含まれている媒体名の記憶媒体を装填することを指
示するメツセージを出力する。また、記憶媒体が装填さ
れていないデータ記憶装置が存在しない場合は割り当て
の済んでいないデータ記憶装置の内の1つを要求元に割
り当てると共に要求元に割り当てたデータ記憶装置に前
記割り当て要求に含まれている媒体名の記憶媒体を装填
することを指示するメツセージを出力する。
When an allocation request including the media name of a storage medium is received, the device securing means refers to the device management table and determines whether there is a data storage device in which no storage medium is loaded. If there are data storage devices with no storage media loaded, one of them is assigned to the requester, and the storage device with the media name included in the request is assigned to the data storage device assigned to the requester. Outputs a message instructing to load. In addition, if there is no data storage device in which a storage medium is loaded, one of the unallocated data storage devices is allocated to the request source, and the data storage device allocated to the request source is included in the allocation request. Outputs a message instructing to load the storage medium with the specified media name.

記憶媒体の媒体名を含む割り当て要求があると、装置確
保手段は装置管理テーブルを参照して記憶媒体が装填さ
れていないデータ記憶装置が存在するか否かを判定する
。そして、記憶装置が装填されていないデータ記憶装置
が存在する場合は、その内の1つを要求元に割り当てる
と共に、要求元に割り当てたデータ記憶装置に割り当て
要求に含まれている媒体名の記憶媒体を装填することを
指示するメッセージを出力する。また、記憶媒体の装填
されていないデータ記憶装置が存在しない場合は、割り
当ての済んでいないデータ記憶装置の内の最初に解放さ
れているデータ記憶装置を要求元に割り当てると共に要
求元に割り当てたデータ記憶装置に前記割り当て要求に
含まれている媒体名の記憶媒体を装填することを指示す
るメツセージを出力する。
When an allocation request including the media name of a storage medium is received, the device securing means refers to the device management table and determines whether there is a data storage device in which no storage medium is loaded. If there is a data storage device that is not loaded with a storage device, one of them is assigned to the requester, and the media name included in the allocation request is stored in the data storage device assigned to the requester. Outputs a message instructing you to load the media. In addition, if there is no data storage device with no storage media loaded, the first free data storage device among the unallocated data storage devices is allocated to the requester, and the data allocated to the requester is A message is output instructing the storage device to load the storage medium with the medium name included in the allocation request.

〔実施例〕〔Example〕

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

第1図は本発明の実施例のブロック図であり、記憶媒体
群1と、データ記憶装置群2と、メツセージ出力装置3
と、処理装置4とから構成されている。
FIG. 1 is a block diagram of an embodiment of the present invention, which includes a storage medium group 1, a data storage device group 2, and a message output device 3.
and a processing device 4.

記憶媒体群1はオペレータによってデータ記憶装置に装
填されることによりデータの入出力が可能となる可動磁
気ディスク、磁気テープ等の記憶媒体1−a、  1−
b、・・・の集まりであり、各々の記憶媒体L−a、 
 1−b、・・・には固をの媒体名が付けられている。
The storage medium group 1 includes storage media 1-a, 1- such as movable magnetic disks and magnetic tapes that can be loaded into a data storage device by an operator to input and output data.
b,..., and each storage medium L-a,
1-b, . . . are given specific media names.

データ記憶装置群2は装填された記憶媒体に対してデー
タの入出力を行なうデータ記憶装置2−1〜2−Nの集
まりである。メツセージ出力装置3は装填する記憶媒体
の媒体名と上記記憶媒体を装填するデータ記憶装置の装
置名とを含む装填指示メツセージを表示する装置である
The data storage device group 2 is a collection of data storage devices 2-1 to 2-N that input and output data to and from loaded storage media. The message output device 3 is a device that displays a loading instruction message including the name of the storage medium to be loaded and the device name of the data storage device into which the storage medium is loaded.

処理装置4は装置管理テーブル5と、ジョブ6と、装置
確保手段7と、装置解放手段8と、装填確認手段9とを
含んでいる。
The processing device 4 includes a device management table 5, a job 6, device securing means 7, device releasing means 8, and loading confirmation means 9.

装置管理テーブル5は第2図に示すように、各データ記
憶装置2−1〜2−Nと対応したエントリE1〜ENを
有している。各エントリE1〜ENのフィールド51に
は各データ記憶語!2−1〜2−Hの装置名が、フィー
ルド52には各データ記憶装置2−1〜2−Nに装填さ
れている記憶媒体の媒体名が、フィールド53には各デ
ータ記憶装置2−1〜2−Nに記憶媒体が装填されてい
るか否かを示す装填フラグ(本実施例ではオンの場合、
装填されているとする)が、フィールド54には各デー
タ記憶装置2−1〜2−Nが解放された順番を示す解放
番号が、フィールド55には各データ記憶装置2−1〜
2−Nが要求元に割り当てられているか否かを示す割り
当てフラグ(本実施例ではオンの場合、割り当てが済ん
でいるとする)が格納されている。
As shown in FIG. 2, the device management table 5 has entries E1 to EN corresponding to each data storage device 2-1 to 2-N. Each data storage word is in the field 51 of each entry E1 to EN! The field 52 contains the names of the storage media loaded in each data storage device 2-1 to 2-N, and the field 53 contains the device name of each data storage device 2-1 to 2-H. A loading flag indicating whether a storage medium is loaded in ~2-N (in this example, if it is on,
field 54 contains a release number indicating the order in which each data storage device 2-1 to 2-N was released, and field 55 contains a release number indicating the order in which each data storage device 2-1 to 2-N was released
An allocation flag indicating whether or not 2-N has been allocated to the request source (in this embodiment, if it is on, it is assumed that the allocation has been completed) is stored.

ジョブ6は記憶媒体1−a、  l−b、・・・に対し
て入出力を行なうプログラムであり、入出力を開始する
際、入出力を行なう記憶媒体の媒体名を含む割り当て要
求を装置確保手段7に出力し、入出力が終了することに
より解放するデータ記憶装置の装置名を含む解放要求を
装置解放手段8に出力する。装置確保手段7は割り当て
要求が加えられることにより装置管理テーブル5を参照
して要求元に割り当てるデータ記憶装置2−iを決定し
、データ記憶装置2−iの装置名と割り当て要求に含ま
れている媒体名とを含む装填指示メツセージをメツセー
ジ出力装置3に出力すると共に、装置管理テーブル5の
データ記憶装置2−iと対応するエントリEiのフィー
ルド55中の割り当てフラグをオンとする。装置解放手
段8はジョブ6から解放要求が加えられることにより、
装置管理テーブル5の解放要求に含まれている装置名と
対応するエントリEjのフィールド55中の割り当てフ
ラグをオフにして上記装置名対応のデータ記憶袋W2−
jを解放すると共に、エントリEjのフィールド54中
の解放番号を装置解放手段8内部で持っている解放番号
(データ記憶装置を解放する毎に+1される番号)で置
換える。装填確認手段9は各データ記憶装置2−1〜2
−Nに記憶媒体が装填されることにより、例えば、それ
らから構成される装填、取り外し状態信号に従って装置
管理テーブル5の各エントリE1〜ENのフィールド5
3中の装填フラグをオンにし、取り外されることにより
対応する装填フラグをオフにする。
Job 6 is a program that performs input/output to storage media 1-a, l-b, etc. When starting input/output, it secures an allocation request including the media name of the storage medium to be input/output. A release request including the device name of the data storage device to be released upon completion of input/output is output to the device release means 8. When an allocation request is added, the device securing means 7 refers to the device management table 5 to determine the data storage device 2-i to be allocated to the request source, and determines the device name of the data storage device 2-i and the information contained in the allocation request. A loading instruction message including the name of the medium being stored is output to the message output device 3, and the allocation flag in the field 55 of the entry Ei corresponding to the data storage device 2-i of the device management table 5 is turned on. When the device release means 8 receives a release request from the job 6,
The allocation flag in the field 55 of the entry Ej corresponding to the device name included in the release request in the device management table 5 is turned off, and the data storage bag W2- corresponding to the device name is
At the same time, the release number in the field 54 of entry Ej is replaced with the release number held within the device release means 8 (a number that is incremented by 1 each time the data storage device is released). The loading confirmation means 9 is connected to each data storage device 2-1 to 2-2.
-N is loaded with a storage medium, the fields 5 of each entry E1 to EN of the device management table 5 are
The loading flag in No. 3 is turned on, and when it is removed, the corresponding loading flag is turned off.

第3図は装置確保手段7の処理例を示す流れ図であり、
以下各図を参照して本実施例の動作を説明する。
FIG. 3 is a flowchart showing an example of processing by the device securing means 7,
The operation of this embodiment will be explained below with reference to each figure.

ジョブ6は記憶媒体に対する入出力を開始する際、入出
力を行なう記憶媒体の媒体名を含む割り当て要求を装置
確保手段7に加える。
When the job 6 starts input/output to a storage medium, it sends an allocation request to the device securing means 7 including the name of the storage medium to which the input/output is to be performed.

これにより、装置確保手段7は第3図の流れ図に示す処
理を開始し、先ず、解放番号最小値MINに解放番号が
とることができる最大値を設定すると共に、装置管理テ
ーブル5の最初のエントリE1をポイントする(ステッ
プSl)。次に、対象エントリE1のフィールド53.
55中の装填フラグ、割り当てフラグが共にオフである
か否かを、即ちエントリE1対応のデータ記憶装置21
が記憶媒体の装填されていない空きデータ記憶装置(割
り当ての済んでいないデータ記憶装置)であるか否かを
判断する(ステ・7プS2)。
As a result, the device securing means 7 starts the process shown in the flowchart of FIG. Point E1 (step Sl). Next, field 53. of target entry E1.
55 are both off, that is, the data storage device 21 corresponding to entry E1.
It is determined whether or not is an empty data storage device (unallocated data storage device) in which no storage medium is loaded (Step 7 S2).

そして、ステップS2で対象エントリE1対応のデータ
記憶装置2−1が記憶媒体の装填されていない空きデー
タ記憶装置であると判断した場合は、対象エントリE1
のフィールド55中の割り当てフラグをオンにしくステ
ップ512)、次いで対象エントリE1のフィールド5
1中の装填媒体名を割り当て要求に含まれている媒体名
に変更しくステ・7プ513)、その後、対象エントリ
E1中の装置名及び割り当て要求中の媒体名を含む装填
指示メッセージをメツセージ出力装置3に出力する(ス
テップ514)。
If it is determined in step S2 that the data storage device 2-1 corresponding to the target entry E1 is an empty data storage device in which no storage medium is loaded, the target entry E1
512), and then field 5 of the target entry E1.
Change the loaded media name in E1 to the media name included in the allocation request (Step 7, step 513), and then output a loading instruction message including the device name in the target entry E1 and the media name in the allocation request. Output to device 3 (step 514).

また、ステップS2の判断結果がNoの場合は対象エン
トリE1のフィールド53.55中の装填フラグ、割り
当てフラグが共にオンであるか否か、即ち対象エントリ
E1対応のデータ記憶装置2−1が記憶媒体の装填され
ている割り当て済みのデータ記憶装置であるか否かを判
断する(ステップS3)、そして、ステップS3で装填
フラグ割り当てフラグが共にオンであると判断した場合
は装置管理テーブル5の全てのエントリを検索したか否
かを判断しくステップS7)、全てのエントリを検索し
ていないと判断した場合は次のエントリE2をポイント
してステップS2の処理に戻る。また、ステップS3の
判断結果がNoの場合は、データ記憶装置に記憶媒体が
装填されていない状態でその割り当Iが行なわれている
ことはあり得ないので、対象エントリEl対応のデータ
記憶装置2−1が空きデータ記憶装置であり、且つ記憶
媒体が装填されている場合となる。そこで、対象エント
リE1のフィールド52に格納されている装填媒体名と
割り当て要求に含まれている媒体名とが一致するか否か
を判断する(ステップS4)。
If the determination result in step S2 is No, it is determined whether the loading flag and the allocation flag in the field 53.55 of the target entry E1 are both on, that is, whether the data storage device 2-1 corresponding to the target entry E1 is stored. It is determined whether the device is an allocated data storage device loaded with a medium (step S3), and if it is determined in step S3 that both the loading flag and assignment flag are on, all of the device management table 5 is If it is determined that not all entries have been searched, the next entry E2 is pointed to and the process returns to step S2. Further, if the determination result in step S3 is No, it is impossible that the allocation I is performed in a state where no storage medium is loaded in the data storage device, so the data storage device corresponding to the target entry El This is the case where 2-1 is an empty data storage device and a storage medium is loaded. Therefore, it is determined whether the loaded medium name stored in the field 52 of the target entry E1 matches the medium name included in the allocation request (step S4).

そして、ステップS4で両者が一致すると判断した場合
は対象エントリE1のフィールド55の割り当てフラグ
をオンにしてジョブ6にデータ記憶装置2−1を割り当
て(ステップS6)、その処理を終了する。また、ステ
ップS4で一致しないと判断した場合は対象エントリE
1のフィールド54中の解放番号と解放番号最小値MI
Nとを比較し、解放番号の方が小さい場合は解放番号を
新たな解放番号最小値MINにすると共に、対象エント
リE1のエントリ番号を装置確保手段7の内部に設けら
れているエントリ番号記憶部に上書きする (ステップ
S5)。その後、全てのエントリの検索が終了したか否
かを判断しくステップS7)、終了していないと判断し
た場合は次のエントリE2をポイントしくステップS8
)、終了したと判断した場合は空きデータ記憶装置が存
在するか否かを判断する (ステップS9)。ここで、
空きデータ記憶装置が存在するか否かは解放番号最小値
MINが初期値のままであるか否かに基づいて判断する
ものである。
If it is determined in step S4 that the two match, the allocation flag in the field 55 of the target entry E1 is turned on to allocate the data storage device 2-1 to job 6 (step S6), and the process ends. In addition, if it is determined in step S4 that there is no match, the target entry E
Release number in field 54 of 1 and release number minimum value MI
N and if the release number is smaller, the release number is set to the new minimum release number MIN, and the entry number of the target entry E1 is stored in the entry number storage section provided inside the device securing means 7. (Step S5). After that, it is determined whether or not the search for all entries has been completed (step S7). If it is determined that the search has not been completed, the next entry E2 is pointed to in step S8).
), and if it is determined that the process has ended, it is determined whether or not there is a free data storage device (step S9). here,
Whether or not a free data storage device exists is determined based on whether or not the minimum release number MIN remains at its initial value.

そして、ステップS9で空きデータ記憶装置が存在しな
いと判断した場合は要求元のジョブ6に割り当て失敗を
通知しくステップ5IO)、空きデータ記憶装置が存在
すると判断した場合は装置確保手段7内のエントリ番号
記憶部に格納されているエントリ番号対応のエントリを
対象エントリとした後(ステップ511)、ステップ3
12〜S14の処理を行なう。ここで、エントリ番号記
憶部に格納されているエントリ番号は、装置管理テーブ
ル5の各エントリE1〜ENの内の最も小さな解放番号
が格納されているエントリのエントリ番号であり、その
エントリ対応のデータ記憶装置は空きデータ記憶装置の
中で最初に解放されたデータ記憶装置である。従って、
ステップSllでエントリ番号記憶部に格納されている
エントリ番号対応のエントリを対象エントリとし、その
後ステップ812〜S14の処理を行なうことにより、
空きデータ記憶装置の内の最初に解放されたデータ記憶
装置をジョブ6に割り当てることができ、各データ記憶
装置2−1〜2−Nを均等に使用することが可能になる
If it is determined in step S9 that there is no free data storage device, the requesting job 6 is notified of the allocation failure (step 5IO), and if it is determined that there is a free data storage device, an entry in the device securing means 7 is sent. After setting the entry corresponding to the entry number stored in the number storage unit as the target entry (step 511), step 3
12 to S14 are performed. Here, the entry number stored in the entry number storage section is the entry number of the entry in which the smallest release number is stored among the entries E1 to EN of the device management table 5, and the data corresponding to the entry is The storage device is the first freed data storage device among the free data storage devices. Therefore,
By setting the entry corresponding to the entry number stored in the entry number storage unit in step Sll as the target entry, and then performing the processing in steps 812 to S14,
The first freed data storage device among the free data storage devices can be assigned to the job 6, and each of the data storage devices 2-1 to 2-N can be used equally.

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

以上説明したように、本発明は、記憶媒体の装填されて
いないデータ記憶装置が存在する場合はこれを優先的に
割り当て要求元に割り当てるようにしているので、従来
例に比較して装填されている記憶媒体を取り外す回数が
少なくなり、オペレータの負担を低減させることができ
る効果がある。
As explained above, in the present invention, if there is a data storage device in which a storage medium is not loaded, it is assigned preferentially to the allocation request source, so compared to the conventional example, if there is a data storage device in which a storage medium is not loaded, the data storage device is This has the effect of reducing the number of times the storage medium is removed, which reduces the burden on the operator.

また、更に、本発明は、各データ記憶装置が解放された
順番を管理しておき、記憶媒体の装填されていないデー
タ記憶装置が存在しない場合、割り当ての済んでいない
データ記憶装置の内の最初に解放されたデータ記憶装置
を割り当て要求元に割り当てるようにしているので、各
データ記憶装置を均等に使用することができる効果もあ
る。
Furthermore, the present invention manages the order in which each data storage device is released, and when there is no data storage device with no storage medium loaded, the first one of the unallocated data storage devices is Since the data storage devices released are allocated to the allocation requester, each data storage device can be used equally.

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

第1図は本発明の実施例のブロック図、第2図は装置管
理テーブルの構成例を示す図及び、 第3図は装置確保手段の処理例を示す流れ図である。 図に於いて、 1;記憶媒体群 1−a、  l−b、・・・;記憶媒体2;データ記憶
装置群 2−1〜2−N;データ記憶装置 3;メツセージ出力装置 4;処理装置 5;装置管理テーブル 6;ジョブ 7;装置確保手段 8;装置解放手段 9;装填確認手段
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of the configuration of a device management table, and FIG. 3 is a flowchart showing an example of processing by the device securing means. In the figure, 1; storage medium group 1-a, l-b, ...; storage medium 2; data storage device group 2-1 to 2-N; data storage device 3; message output device 4; processing device 5; Device management table 6; Job 7; Device securing means 8; Device release means 9; Loading confirmation means

Claims (2)

【特許請求の範囲】[Claims] (1)記憶媒体が装填される複数のデータ記憶装置を備
えたコンピュータシステムに於いて、前記各データ記憶
装置に記憶媒体が装填されているか否かを示す情報及び
前記各データ記憶装置が割り当て済みであるか否かを示
す情報を管理する装置管理テーブルと、 記憶媒体の媒体名を含む割り当て要求に応答して前記装
置管理テーブルを参照し、記憶媒体が装填されていない
データ記憶装置が存在する場合はその内の1つを要求元
に割り当てると共に要求元に割り当てたデータ記憶装置
に前記割り当て要求に含まれている媒体名の記憶媒体を
装填することを指示するメッセージを出力し、記憶媒体
が装填されていないデータ記憶装置が存在しない場合は
割り当ての済んでいないデータ記憶装置の内の1つを要
求元に割り当てると共に要求元に割り当てたデータ記憶
装置に前記割り当て要求に含まれている媒体名の記憶媒
体を装填することを指示するメッセージを出力する装置
確保手段とを含むことを特徴とするデータ記憶装置割り
当て方式。
(1) In a computer system equipped with a plurality of data storage devices loaded with storage media, information indicating whether a storage medium is loaded in each of the data storage devices and whether each of the data storage devices has been allocated. a device management table for managing information indicating whether or not a storage medium is loaded; and a device management table that manages information indicating whether or not a storage medium is loaded; If so, it allocates one of them to the request source and outputs a message instructing the request source to load the storage medium with the media name included in the allocation request into the data storage device allocated to the request source. If there is no unloaded data storage device, one of the unallocated data storage devices is assigned to the requester, and the media name included in the allocation request is assigned to the data storage device assigned to the requester. A data storage device allocation method comprising: device securing means for outputting a message instructing loading of a storage medium.
(2)記憶媒体が装填される複数のデータ記憶装置を備
えたコンピュータシステムに於いて、前記各データ記憶
装置に記憶媒体が装填されているか否かを示す情報、前
記各データ記憶装置が割り当て済みであるか否かを示す
情報及び前記各データ記憶装置が解放された順番を示す
情報を管理する装置管理テーブルと、 記憶媒体の媒体名を含む割り当て要求に応答して前記装
置管理テーブルを参照し、記憶媒体が装填されていない
データ記憶装置が存在する場合はその内の1つを要求元
に割り当てると共に要求元に割り当てたデータ記憶装置
に前記割り当て要求に含まれている媒体名の記憶媒体を
装填することを指示するメッセージを出力し、記憶媒体
が装填されていないデータ記憶装置が存在しない場合は
割り当ての済んでいないデータ記憶装置の内の最初に解
放されているデータ記憶装置を要求元に割り当てると共
に要求元に割り当てたデータ記憶装置に前記割り当て要
求に含まれている媒体名の記憶媒体を装填することを指
示するメッセージを出力する装置確保手段とを含むこと
を特徴とするデータ記憶装置割り当て方式。
(2) In a computer system equipped with a plurality of data storage devices loaded with storage media, information indicating whether a storage medium is loaded in each of the data storage devices, and whether each of the data storage devices has been allocated. a device management table that manages information indicating whether or not the data storage devices are released and information indicating the order in which each of the data storage devices is released; If there are data storage devices with no storage media loaded, one of them is assigned to the request source, and the storage medium with the media name included in the allocation request is assigned to the data storage device assigned to the request source. Outputs a message instructing the user to load the storage medium, and if there is no data storage device with no storage medium loaded, the requester selects the first free data storage device among the unallocated data storage devices. Data storage device allocation characterized by comprising: device securing means for allocating and outputting a message instructing the data storage device allocated to the request source to be loaded with a storage medium having a medium name included in the allocation request. method.
JP20973390A 1990-08-08 1990-08-08 Data storage device assigning system Pending JPH0495120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20973390A JPH0495120A (en) 1990-08-08 1990-08-08 Data storage device assigning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20973390A JPH0495120A (en) 1990-08-08 1990-08-08 Data storage device assigning system

Publications (1)

Publication Number Publication Date
JPH0495120A true JPH0495120A (en) 1992-03-27

Family

ID=16577739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20973390A Pending JPH0495120A (en) 1990-08-08 1990-08-08 Data storage device assigning system

Country Status (1)

Country Link
JP (1) JPH0495120A (en)

Similar Documents

Publication Publication Date Title
US5991793A (en) Resource allocation method in computer system
US7770177B2 (en) System for memory reclamation based on thread entry and release request times
JPH0495120A (en) Data storage device assigning system
EP0294499B1 (en) Control scheme for segmented buffers based on a shared reference count
JPS58164080A (en) System for managing and processing area
JPH01191221A (en) Dynamic assignment managing system for magnetic disk area
JPH02156348A (en) Overflow area control method for plural hash tables
JP3311781B2 (en) Map DB management device
JPH0348950A (en) Memory control system
JPS63292456A (en) Control system for medium assignment of plural medium containing type data recorder
JPS61228538A (en) File control system
JPH0644185A (en) Method for managing variable of catalog in interactive processing system
JPH0417057A (en) Job scheduling system for composite type system
JPH01191968A (en) Unitarization system for job identification number of each host of multiplex host system
JPS61109160A (en) Area control system for inter-system share volume
JPH08249225A (en) Memory management device
JPS59157754A (en) System for outputting simultaneously plural members to source program library
JPH04107640A (en) Computer system
JPS62247430A (en) Selecting system for transaction processing task
JPS63279327A (en) Control system for allocation of resources designated by job control sentence
JPH0675705A (en) Block assignment control method for auxiliary storage
JPH02193231A (en) File space free area management system
JPH02217921A (en) Spool volume space control system
JPH09305479A (en) Dynamic storage area managing device for storage device
JPH11175358A (en) Automatic allocation device for storage device