JPH06175785A - Medium group management system in collective storage device - Google Patents

Medium group management system in collective storage device

Info

Publication number
JPH06175785A
JPH06175785A JP4351356A JP35135692A JPH06175785A JP H06175785 A JPH06175785 A JP H06175785A JP 4351356 A JP4351356 A JP 4351356A JP 35135692 A JP35135692 A JP 35135692A JP H06175785 A JPH06175785 A JP H06175785A
Authority
JP
Japan
Prior art keywords
medium
media
group
management information
name
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.)
Granted
Application number
JP4351356A
Other languages
Japanese (ja)
Other versions
JPH0743633B2 (en
Inventor
Yoichi Ueda
洋一 上田
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 JP4351356A priority Critical patent/JPH0743633B2/en
Publication of JPH06175785A publication Critical patent/JPH06175785A/en
Publication of JPH0743633B2 publication Critical patent/JPH0743633B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To preliminarily perform the addition processing and the release processing of a medium to and from a medium group without ejecting/throwing-in operation of the medium. CONSTITUTION:When a medium addition request is issued, a medium addition processing means 5 retrieves medium management information 21 from a medium management file 3 and changes a medium group name and a sequence number to a designated medium group name and a value obtained by adding one to a maximum sequence number respectively and sets a management information noncoincidence flag. When a medium release request is issued, a medium release processing means 6 retrieves medium management information 21 from the medium management file 3 and changes the medium group name and the sequence number to the same name as the medium name and one respectively to release a medium 10 from a medium group 111. When the medium 10 is moved to an input/output device 121, a data input/output processing means 4 checks the management information noncoincidence flag; and if it is set, the data input/output processing is performed after label information of the medium 10 is rewritten by medium management information 21.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は集合型記憶装置内の媒体
群管理方式に関し、特に媒体格納域内の媒体を入出力装
置に自動マウントしてデータ入出力を行う集合型記憶装
置と、媒体格納域内の媒体を論理的にいくつかの媒体群
にわけて識別/管理し、集合型記憶装置を用いたデータ
入出力処理の制御を行う集合型記憶装置管理プログラム
とを備えたデータ処理システムにおける集合型記憶装置
内の媒体群管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a medium group management system in a collective storage device, and more particularly to a collective storage device for automatically mounting a medium in a medium storage area on an input / output device for data input / output, and a medium storage device. A set in a data processing system provided with a set type storage device management program for logically identifying / managing the medium in the area by dividing into several medium groups and controlling data input / output processing using the set type storage device. Medium management system in a portable storage device.

【0002】[0002]

【従来の技術】従来、媒体格納域内の媒体をシステム運
用者の介入なしに入出力装置に移動してデータの入出力
を行う集合型記憶装置と、媒体格納域内の媒体を論理的
にいくつかの媒体群にわけて識別/管理し集合型記憶装
置を用いたデータ入出力処理の制御を行う集合型記憶装
置管理プログラムとを備えたデータ処理システムでは、
集合型記憶装置管理プログラムが媒体格納域内の媒体を
管理するために用い、補助記憶装置上の媒体管理ファイ
ルに書かれる媒体管理情報および媒体のラベル上に書か
れる媒体管理情報(以下、単にラベル情報という)が作
成/変更/削除されるのは、媒体投入時(媒体のラベル
情報または利用者指定に従って作成),媒体排出時(媒
体管理情報を削除)または入出力処理で媒体のラベル情
報と媒体管理情報とが不一致を検出した場合(両者を一
致させる場合)のみであった(例えば、特開平2−12
6464号公報等参照)。
2. Description of the Related Art Conventionally, a collective storage device that moves a medium in a medium storage area to an input / output device without the intervention of a system operator to input / output data, and a logical number of media in the medium storage area. In a data processing system including a collective storage device management program that identifies / manages each medium group and controls data input / output processing using the collective storage device,
Used by the collective storage device management program to manage the media in the media storage area, the media management information written in the media management file on the auxiliary storage device and the media management information written on the label of the media (hereinafter, simply label information Is created / changed / deleted when the medium is loaded (created according to the label information of the medium or specified by the user), when the medium is discharged (deleted the medium management information), or when the input / output process is performed. Only when a mismatch with the management information is detected (when they match each other) (for example, Japanese Patent Laid-Open No. 2-12).
(See Japanese Patent No. 6464).

【0003】 [0003]

【発明が解決しようとする課題】上述した従来の集合型
記憶装置内の媒体群管理方式では、ある媒体群に新しい
媒体を追加する場合、追加したい媒体を一旦排出して媒
体管理情報を削除した後にその媒体を媒体格納域に再度
投入して媒体管理情報を新しく作成し直すか、または入
出力処理中に実際に媒体が不足した場合にシステム管理
者の判断により追加する媒体を選択してその媒体の媒体
管理情報とラベル情報とを書き直すことにより媒体を媒
体群に登録しなければならなかった。
In the above-described conventional medium group management system in the collective storage device, when a new medium is added to a certain medium group, the medium to be added is once ejected and the medium management information is deleted. After that, insert the media into the media storage area again to create new media management information, or if the media actually runs short during I / O processing, select the media to add at the discretion of the system administrator. The medium had to be registered in the medium group by rewriting the medium management information and the label information of the medium.

【0004】同様に、ある媒体群から媒体を解放する場
合には、解放したい媒体を排出する必要があり、その媒
体を再度使用するには媒体格納域への再投入が必要であ
った。
Similarly, when releasing a medium from a certain medium group, it is necessary to eject the medium to be released, and it is necessary to re-enter the medium storage area to use the medium again.

【0005】本発明の目的は、上述の点に鑑み、集合型
記憶装置内の媒体群に出力するデータ量の増加が見込ま
れる場合に媒体群への媒体の追加処理を事前に(入出力
処理中に実際に媒体不足が発生する前に)、しかも媒体
の排出/投入の操作なしで行うことができるようにした
集合型記憶装置内の媒体群管理方式を提供することにあ
る。
In view of the above points, an object of the present invention is to add a medium to a medium group in advance (input / output processing when the amount of data to be output to the medium group in the collective storage device is expected to increase. It is an object of the present invention to provide a medium group management method in an aggregated storage device that can be performed before the medium shortage actually occurs) and without the operation of ejecting / inserting the medium.

【0006】また、本発明の他の目的は、データ量の減
少により不使用の媒体がある場合に、媒体の排出/投入
の操作なしで不使用の媒体の解放を行うことができるよ
うにした集合型記憶装置内の媒体群管理方式を提供する
ことにある。
Another object of the present invention is to enable the release of an unused medium without the operation of ejecting / inserting the medium when there is an unused medium due to a decrease in the amount of data. An object is to provide a medium group management system in a collective storage device.

【0007】さらに、本発明の別の目的は、集合型記憶
装置内の媒体群に出力するデータ量の増加が見込まれる
場合に媒体群への媒体の追加処理を事前に(入出力処理
中に実際に媒体不足が発生する前に)、しかも媒体の排
出/投入の操作なしで行うことができるとともに、デー
タ量の減少により不使用の媒体がある場合に、媒体の排
出/投入の操作なしで不使用の媒体の解放を行うことが
できるようにした集合型記憶装置内の媒体群管理方式を
提供することにある。
Still another object of the present invention is to add a medium to a medium group in advance (during input / output processing) when the amount of data to be output to the medium group in the collective storage device is expected to increase. This can be done before the actual medium shortage occurs) and without the operation of ejecting / inserting the medium, and when there is an unused medium due to the decrease in the amount of data, without the operation of ejecting / inserting the medium. An object of the present invention is to provide a medium group management system in an aggregated storage device capable of releasing an unused medium.

【0008】[0008]

【課題を解決するための手段】本発明の集合型記憶装置
内の媒体群管理方式は、媒体格納領域内の媒体を入出力
装置に自動マウントしてデータ入出力を行う集合型記憶
装置と、各媒体の媒体名,その媒体の属する媒体群を識
別するための媒体群名,媒体群内でデータの入出力処理
を行っていく順番を示す順序番号,および前記媒体格納
域内の位置を示す格納番号の各情報を含む媒体管理情報
を格納する媒体管理ファイルと、前記媒体格納域内の媒
体を論理的にいくつかの媒体群にわけて識別/管理し前
記集合型記憶装置を用いたデータ入出力処理の制御を行
う集合型記憶装置管理プログラムとを備えたデータ処理
システムにおいて、前記媒体管理情報に前記媒体管理フ
ァイル内の媒体管理情報と媒体のラベル情報とが不一致
であることを示すための管理情報不一致フラグを付加
し、前記集合型記憶装置管理プログラムは、媒体を前記
媒体格納域から前記入出力装置に移動してデータの入出
力を行うデータ入出力処理手段と、前記媒体格納域内の
媒体群に媒体を追加する媒体追加処理手段とを備え、前
記媒体追加処理手段は、媒体の追加を行う媒体群の媒体
群名と、その媒体群に追加したい媒体の媒体名とが指定
されると、前記媒体管理ファイル内の媒体管理情報か
ら、指定された媒体名の媒体の媒体管理情報を検索し、
検索した媒体管理情報の媒体群名と順序番号とを、指定
された媒体群名とその媒体群名の媒体群内での最大順序
番号に1を加えた値とにそれぞれ変更した後に前記管理
情報不一致フラグをセットし、前記データ入出力処理手
段は、媒体を前記入出力装置に移動した際に前記管理情
報不一致フラグをチェックし、前記管理情報不一致フラ
グがセットされていれば、媒体のラベル情報を前記媒体
管理ファイル内の媒体管理情報に書き換えた後にデータ
入出力処理を行うことを特徴とする。
A medium group management system in a collective storage device according to the present invention is a collective storage device for automatically mounting a medium in a medium storage area on an input / output device to input / output data. A medium name of each medium, a medium group name for identifying the medium group to which the medium belongs, a sequence number indicating the order in which data input / output processing is performed within the medium group, and a storage indicating the position in the medium storage area. A medium management file for storing medium management information including each number information, and a medium in the medium storage area are logically divided into several medium groups for identification / management and data input / output using the collective storage device. In a data processing system including a collective storage device management program for controlling processing, it is indicated that the medium management information in the medium management file does not match the label information of the medium in the medium management information. A management information inconsistency flag for storing the medium storage, and the collective storage device management program moves the medium from the medium storage area to the input / output device to input / output data, and the medium storage A medium addition processing means for adding a medium to a medium group in the area, wherein the medium addition processing means specifies the medium group name of the medium group to which the medium is added and the medium name of the medium desired to be added to the medium group. Then, the medium management information in the medium having the specified medium name is searched from the medium management information in the medium management file,
The management information is changed after changing the medium group name and the sequence number of the retrieved medium management information to the designated medium group name and the maximum sequence number of the medium group name plus 1 in the medium group, respectively. A mismatch flag is set, and the data input / output processing means checks the management information mismatch flag when the medium is moved to the input / output device. If the management information mismatch flag is set, the label information of the medium is set. Is rewritten to the medium management information in the medium management file, and then data input / output processing is performed.

【0009】また、本発明の集合型記憶装置内の媒体群
管理方式は、媒体格納領域内の媒体を入出力装置に自動
マウントしてデータ入出力を行う集合型記憶装置と、各
媒体の媒体名,その媒体の属する媒体群を識別するため
の媒体群名,媒体群内でデータの入出力処理を行ってい
く順番を示す順序番号,および前記媒体格納域内の位置
を示す格納番号の各情報を含む媒体管理情報を格納する
媒体管理ファイルと、前記媒体格納域内の媒体を論理的
にいくつかの媒体群にわけて識別/管理し前記集合型記
憶装置を用いたデータ入出力処理の制御を行う集合型記
憶装置管理プログラムとを備えたデータ処理システムに
おいて、前記媒体管理情報に前記媒体管理ファイル内の
媒体管理情報とラベル情報とが不一致であることを示す
ための管理情報不一致フラグを付加し、前記集合型記憶
装置管理プログラムは、媒体を前記媒体格納域から前記
入出力装置に移動してデータの入出力を行うデータ入出
力処理手段と、前記媒体格納域内の媒体群内の媒体の解
放処理を行う媒体解放処理手段とを備え、前記媒体解放
処理手段は、媒体の解放を行う媒体群の媒体群名と解放
を開始する順序番号とが指定されると、指定された媒体
群名と順序番号との対で前記媒体管理ファイル内の媒体
管理情報の検索を行い、検索した媒体管理情報の媒体群
名を媒体名と同一の名前に変更し、さらに順序番号を1
に変更することにより、媒体を媒体群から解放して単独
1媒体からなる媒体群に変更し、前記管理情報不一致フ
ラグをセットし、以下同様に、媒体管理情報の検索およ
び修正の処理を、指定された媒体群内の最大順序番号の
媒体まで繰り返し実行していき、前記データ入出力処理
手段は、媒体を入出力装置に移動した際に前記管理情報
不一致フラグをチェックし、前記管理情報不一致フラグ
がセットされていれば、媒体のラベル情報を前記媒体管
理ファイル内の媒体管理情報に書き換えた後にデータ入
出力処理を行うことを特徴とする。
The medium group management system in the collective storage device of the present invention is a collective storage device that automatically mounts a medium in a medium storage area on an input / output device to input / output data, and a medium of each medium. Name, medium group name for identifying the medium group to which the medium belongs, sequence number indicating the order in which data input / output processing is performed in the medium group, and storage number information indicating the position in the medium storage area And a medium management file for storing medium management information containing the medium, and a medium in the medium storage area are logically divided into several medium groups for identification / management, and control of data input / output processing using the collective storage device is performed. In a data processing system including a collective storage device management program to be executed, management information non-existence for indicating that the medium management information in the medium management file does not match the label information in the medium management information. A data input / output processing unit that adds a match flag and moves the medium from the medium storage area to the input / output device to input / output data, and a medium group in the medium storage area. Medium release processing means for performing release processing of the medium in the medium, and the medium release processing means is designated when the medium group name of the medium group for releasing the medium and the sequence number for starting the release are designated. The medium management information in the medium management file is searched with a pair of the medium group name and the sequence number, the medium group name of the retrieved medium management information is changed to the same name as the medium name, and the sequence number is set to 1
To release the medium from the medium group to a medium group consisting of a single medium, set the management information inconsistency flag, and similarly specify the processing and retrieval of the medium management information. The data input / output processing unit checks the management information inconsistency flag when the medium is moved to the input / output device, and executes the management information inconsistency flag. If is set, the data input / output process is performed after the label information of the medium is rewritten to the medium management information in the medium management file.

【0010】さらに、本発明の集合型記憶装置内の媒体
群管理方式は、媒体格納領域内の媒体を入出力装置に自
動マウントしてデータ入出力を行う集合型記憶装置と、
各媒体の媒体名,その媒体の属する媒体群を識別するた
めの媒体群名,媒体群内でデータの入出力処理を行って
いく順番を示す順序番号,および前記媒体格納域内の位
置を示す格納番号の各情報を含む媒体管理情報を格納す
る媒体管理ファイルと、前記媒体格納域内の媒体を論理
的にいくつかの媒体群にわけて識別/管理し前記集合型
記憶装置を用いたデータ入出力処理の制御を行う集合型
記憶装置管理プログラムとを備えたデータ処理システム
において、前記媒体管理情報に前記媒体管理ファイル内
の媒体管理情報と媒体のラベル情報とが不一致であるこ
とを示すための管理情報不一致フラグを付加し、前記集
合型記憶装置管理プログラムは、媒体を前記媒体格納域
から前記入出力装置に移動してデータの入出力を行うデ
ータ入出力処理手段と、前記媒体格納域内の媒体群に媒
体を追加する媒体追加処理手段と、前記媒体格納域内の
媒体群内の媒体の解放処理を行う媒体解放処理手段とを
備え、前記媒体追加処理手段は、媒体の追加を行う媒体
群の媒体群名と、その媒体群に追加したい媒体の媒体名
とが指定されると、前記媒体管理ファイル内の媒体管理
情報から、指定された媒体名の媒体の媒体管理情報を検
索し、検索した媒体管理情報の媒体群名と順序番号と
を、指定された媒体群名とその媒体群名の媒体群内での
最大順序番号に1を加えた値とにそれぞれ変更した後に
前記管理情報不一致フラグをセットし、前記媒体解放処
理手段は、媒体の解放を行う媒体群の媒体群名と解放を
開始する順序番号とが指定されると、指定された媒体群
名と順序番号との対で前記媒体管理ファイル内の媒体管
理情報の検索を行い、検索した媒体管理情報の媒体群名
を媒体名と同一の名前に変更し、さらに順序番号を1に
変更することにより、媒体を媒体群から解放して単独1
媒体からなる媒体群に変更し、前記管理情報不一致フラ
グをセットし、以下同様に、媒体管理情報の検索および
修正の処理を、指定された媒体群内の最大順序番号の媒
体まで繰り返し実行していき、前記データ入出力処理手
段は、媒体を前記入出力装置に移動した際に前記管理情
報不一致フラグをチェックし、前記管理情報不一致フラ
グがセットされていれば、媒体のラベル情報を前記媒体
管理ファイル内の媒体管理情報に書き換えた後にデータ
入出力処理を行うことを特徴とする。
Further, the medium group management system in the collective storage device of the present invention is a collective storage device which automatically mounts a medium in a medium storage area on an input / output device to input / output data.
A medium name of each medium, a medium group name for identifying the medium group to which the medium belongs, a sequence number indicating the order in which data input / output processing is performed within the medium group, and a storage indicating the position in the medium storage area. A medium management file for storing medium management information including each number information, and a medium in the medium storage area are logically divided into several medium groups for identification / management and data input / output using the collective storage device. In a data processing system including a collective storage device management program for controlling processing, management for indicating that the medium management information in the medium management file does not match the label information of the medium in the medium management information An information disagreement flag is added, and the collective storage device management program moves the medium from the medium storage area to the input / output device to input / output data. And a medium release processing means for adding a medium to the medium group in the medium storage area, and a medium release processing means for releasing the medium in the medium group in the medium storage area. When the medium group name of the medium group to which the medium is added and the medium name of the medium to be added to the medium group are designated, the medium of the medium having the designated medium name is determined from the medium management information in the medium management file. The management information is searched, and the medium group name and the sequence number of the searched medium management information are respectively set to the specified medium group name and the value obtained by adding 1 to the maximum sequence number of the medium group name in the medium group. After the change, the management information disagreement flag is set, and when the medium group name of the medium group for releasing the medium and the sequence number for starting the release are designated, the medium release processing means specifies the designated medium group name. And the sequence number as a pair, Release the medium from the medium group by searching the medium management information in the file, changing the medium group name of the retrieved medium management information to the same name as the medium name, and further changing the sequence number to 1. Alone 1
Change to a medium group consisting of media, set the management information inconsistency flag, and similarly, repeatedly perform the process of searching and correcting the medium management information up to the medium having the maximum sequence number in the specified medium group. The data input / output processing unit checks the management information mismatch flag when the medium is moved to the input / output device, and if the management information mismatch flag is set, the label information of the medium is managed by the medium management unit. The data input / output process is performed after the medium management information in the file is rewritten.

【0011】 [0011]

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

【0012】図1は、本発明の一実施例に係る集合型記
憶装置内の媒体群管理方式の構成を示すブロック図であ
る。本実施例の集合型記憶装置内の媒体群管理方式は、
媒体格納域11内の媒体10を入出力装置121に自動
マウントしてデータ入出力を行う集合型記憶装置1と、
集合型記憶装置1内の媒体10の管理を行う集合型記憶
装置管理プログラム2と、媒体管理情報21を格納する
ための補助記憶装置上の媒体管理ファイル3とから、そ
の主要部が構成されている。なお、図1中、符号7は、
データ入出力要求プログラムを示す。
FIG. 1 is a block diagram showing the configuration of a medium group management system in a collective storage device according to an embodiment of the present invention. The medium group management system in the collective storage device of this embodiment is
A collective storage device 1 that automatically mounts a medium 10 in a medium storage area 11 on an input / output device 121 to input / output data.
The main part is composed of an aggregate storage device management program 2 for managing the medium 10 in the aggregate storage device 1 and a medium management file 3 on the auxiliary storage device for storing the medium management information 21. There is. In addition, in FIG.
Indicates the data I / O request program.

【0013】集合型記憶装置1は、複数の媒体群111
を格納する媒体格納域11と、媒体10をマウントして
データの入出力を行う複数の入出力装置121とを含ん
で構成されている。
The collective storage device 1 includes a plurality of medium groups 111.
And a plurality of input / output devices 121 that mount the medium 10 and input / output data.

【0014】集合型記憶装置管理プログラム2は、媒体
格納域11から媒体10を入出力装置121に移動して
入出力処理を行うデータ入出力処理手段4と、媒体群1
11への媒体10の追加を行う媒体追加処理手段5と、
媒体群111内の媒体10の解放を行う媒体解放処理手
段6とを含んで構成されている。
The collective type storage device management program 2 moves the medium 10 from the medium storage area 11 to the input / output device 121 to perform input / output processing, and the medium group 1.
Medium addition processing means 5 for adding the medium 10 to the recording medium 11,
The media release processing means 6 for releasing the medium 10 in the medium group 111 is included.

【0015】図2は、媒体管理ファイル3内の媒体管理
情報21の内容を詳細に示す図である。媒体管理情報2
1は、媒体格納域11内の各媒体10毎に作成され、そ
の内容は、媒体10の属する媒体群111の媒体群名2
11,媒体10自身を識別するための媒体名212,媒
体群111の中でデータ入出力を行う順番を示す順序番
号213,媒体格納域11内の格納アドレスを示す格納
番号214,および媒体10のラベル情報と媒体管理情
報21との一致/不一致を示すための管理情報不一致フ
ラグ215の各情報から構成されている。
FIG. 2 is a diagram showing the details of the medium management information 21 in the medium management file 3. Medium management information 2
1 is created for each medium 10 in the medium storage area 11, and its contents are the medium group name 2 of the medium group 111 to which the medium 10 belongs.
11, a medium name 212 for identifying the medium 10 itself, a sequence number 213 indicating the order of data input / output in the medium group 111, a storage number 214 indicating a storage address in the medium storage area 11, and a medium 10 The label information and the medium management information 21 are made up of respective pieces of information of a management information mismatch flag 215 for indicating a match / mismatch.

【0016】図3を参照すると、データ入出力処理手段
4の入力処理は、媒体群名取得ステップ301と、順序
番号初期設定ステップ302と、媒体管理情報検索ステ
ップ303と、検索結果判定ステップ304と、格納番
号取得ステップ305と、媒体マウントステップ306
と、媒体管理情報/ラベル情報一致判定ステップ307
と、管理情報不一致フラグオンステップ308と、デー
タ入力ステップ309と、順序番号インクリメントステ
ップ310と、媒体管理情報検索ステップ311と、検
索結果判定ステップ312と、エラー通知ステップ31
3とからなる。
Referring to FIG. 3, the input processing of the data input / output processing means 4 includes a medium group name acquisition step 301, a sequence number initial setting step 302, a medium management information search step 303, and a search result determination step 304. , Storage number acquisition step 305 and medium mounting step 306
And medium management information / label information coincidence determination step 307
Management information mismatch flag on step 308, data input step 309, sequence number increment step 310, medium management information search step 311, search result determination step 312, and error notification step 31.
3 and 3.

【0017】図4を参照すると、データ入出力処理手段
4の出力処理は、媒体群名取得ステップ401と、順序
番号初期設定ステップ402と、媒体管理情報検索ステ
ップ403と、検索結果判定ステップ404と、格納番
号取得ステップ405と、媒体マウントステップ406
と、管理情報不一致フラグオン判定ステップ407と、
ラベル情報変更ステップ408と、管理情報不一致フラ
グオフステップ409と、データ出力ステップ410
と、出力データ残判定ステップ411と、順序番号イン
クリメントステップ412と、媒体管理情報検索ステッ
プ413と、検索結果判定ステップ414と、媒体名問
合せステップ415と、媒体追加ステップ416と、追
加結果判定ステップ417と、媒体名再問合せステップ
418とからなる。
Referring to FIG. 4, the output processing of the data input / output processing means 4 is a medium group name acquisition step 401, a sequence number initial setting step 402, a medium management information retrieval step 403, and a retrieval result determination step 404. , Storage number acquisition step 405 and medium mounting step 406
And a management information mismatch flag ON determination step 407,
Label information change step 408, management information mismatch flag off step 409, and data output step 410
Output data remaining determination step 411, sequence number increment step 412, medium management information search step 413, search result determination step 414, medium name inquiry step 415, medium addition step 416, addition result determination step 417 And a medium name re-inquiry step 418.

【0018】図5を参照すると、媒体追加処理手段5の
処理は、媒体群名取得ステップ501と、順序番号初期
設定ステップ502と、媒体管理情報検索ステップ50
3と、検索結果判定ステップ504と、順序番号インク
リメントステップ505と、媒体名取得ステップ506
と、追加媒体有無判定ステップ507と、媒体管理情報
検索ステップ508と、検索結果判定ステップ509
と、媒体管理情報書込みステップ510と、順序番号イ
ンクリメントステップ511と、エラー通知ステップ5
12とからなる。
Referring to FIG. 5, the processing of the medium addition processing means 5 includes a medium group name acquisition step 501, a sequence number initial setting step 502, and a medium management information retrieval step 50.
3, a search result determination step 504, a sequence number increment step 505, and a medium name acquisition step 506.
An additional medium presence / absence determining step 507, a medium management information searching step 508, and a search result determining step 509.
And medium management information writing step 510, sequence number increment step 511, and error notification step 5
It consists of 12.

【0019】図6を参照すると、媒体解放処理手段6の
処理は、媒体群名および順序番号取得ステップ601
と、媒体管理情報検索ステップ602と、検索結果判定
ステップ603と、媒体管理情報書込みステップ604
と、順序番号インクリメントステップ605とからな
る。
Referring to FIG. 6, the process of the medium release processing means 6 is a medium group name and sequence number acquisition step 601.
A medium management information search step 602, a search result determination step 603, and a medium management information write step 604
And a sequence number increment step 605.

【0020】なお、本実施例の集合型記憶装置内の媒体
群管理方式においては、媒体格納域11内の各媒体10
は、媒体群名と順序番号との対,または媒体名によって
一意に識別できるものと仮定する。また、各媒体群11
1内での順序番号213は1から始まり必ず連続してい
るものと仮定する。
In the medium group management system in the collective storage device of this embodiment, each medium 10 in the medium storage area 11 is
Is assumed to be uniquely identifiable by a pair of medium group name and sequence number or medium name. In addition, each medium group 11
It is assumed that the sequence number 213 within 1 starts from 1 and is always continuous.

【0021】また、集合型記憶装置管理プログラム2
は、媒体10の投入時に媒体10のラベル情報(媒体に
ラベルがない場合は利用者の指定)をもとに媒体管理フ
ァイル3に媒体管理情報21を作成し、媒体10の排出
時には媒体管理ファイル3から媒体管理情報21の削除
を行い、データ入出力要求プログラム7から指定された
媒体群名に対応する媒体群111内の最初の順序番号の
媒体10から順に、媒体管理ファイル3内の媒体管理情
報21の格納番号214を参照して、媒体10を入出力
装置121に移動し、データ入出力を行う処理をデータ
入出力処理手段4を用いて行っていく。
Also, the collective storage device management program 2
Creates the medium management information 21 in the medium management file 3 based on the label information of the medium 10 when the medium 10 is loaded (specified by the user when the medium has no label), and when the medium 10 is ejected 3, the medium management information 21 is deleted, and the medium management in the medium management file 3 is performed in order from the medium 10 having the first sequence number in the medium group 111 corresponding to the medium group name specified by the data input / output request program 7. By referring to the storage number 214 of the information 21, the medium 10 is moved to the input / output device 121, and the processing for inputting / outputting data is performed using the data input / output processing means 4.

【0022】 次に、このように構成された本実施例の集
合型記憶装置内の媒体群管理方式の動作について説明す
る。
[0022] Next, a collection of the present embodiment configured as described above.
The operation of the medium group management method in the combined storage device will be described.
It

【0023】(1) データの入力処理(図3参照) データ入出力要求プログラム7は、データを入力したい
集合型記憶装置1の媒体群名、例えば媒体群名GGGG
Gを指定して集合型記憶装置管理プログラム2にデータ
の入力処理を要求する。
(1) Data input processing (see FIG. 3) The data input / output request program 7 is a medium group name of the collective storage device 1 to which data is to be input, for example, medium group name GGGG.
Specify G to request the collective storage device management program 2 to input data.

【0024】集合型記憶装置管理プログラム2がデータ
の入力処理の要求を受け取ると、データ入出力処理手段
4は、まず入力処理を要求された媒体群111の媒体群
名GGGGGを得て(ステップ301)、順序番号Nを
1に初期設定する(ステップ302)。
When the collective storage device management program 2 receives a request for data input processing, the data input / output processing means 4 first obtains the medium group name GGGGGG of the medium group 111 for which the input processing is requested (step 301). ), The sequence number N is initialized to 1 (step 302).

【0025】次に、データ入出力処理手段4は、媒体群
名GGGGGと順序番号Nとの対をキーとして媒体群1
11の最初の媒体の媒体管理情報21を媒体管理ファイ
ル3から検索して(ステップ303)、検索結果を判定
する(ステップ304)。
Next, the data input / output processing means 4 uses the pair of medium group name GGGGGG and sequence number N as a key, and the medium group 1
The medium management information 21 of the first medium 11 is searched from the medium management file 3 (step 303), and the search result is determined (step 304).

【0026】ステップ304の判定の結果、媒体管理情
報21が検索できなかったならば、データ入出力処理手
段4は、存在していない媒体群名GGGGGの媒体群1
11が指定された旨をデータ入出力要求プログラム7に
通知し(ステップ313)、処理を終了する。
If the medium management information 21 cannot be retrieved as a result of the determination at step 304, the data input / output processing means 4 causes the medium group 1 with the medium group name GGGGGG which does not exist.
The data input / output request program 7 is notified that 11 has been designated (step 313), and the process ends.

【0027】ステップ304の判定の結果、媒体管理情
報21が検索できたならば、データ入出力処理手段4
は、媒体管理情報21内の格納番号214を得て(ステ
ップ305)、媒体格納域11内の格納番号214の位
置から媒体10を入出力装置121にマウントする(ス
テップ306)。なお、媒体10がマウントされる入出
力装置121は、オペレーティングシステム(図示せ
ず)によって決定される(以下同様)。
If the medium management information 21 can be retrieved as a result of the determination in step 304, the data input / output processing means 4
Obtains the storage number 214 in the medium management information 21 (step 305) and mounts the medium 10 on the input / output device 121 from the position of the storage number 214 in the medium storage area 11 (step 306). The input / output device 121 on which the medium 10 is mounted is determined by an operating system (not shown) (same below).

【0028】媒体10のマウントが完了した後、データ
入出力処理手段4は、媒体管理情報21(媒体群名21
1,媒体名212および順序番号213)と媒体10の
ラベル情報(媒体群名,媒体名および順序番号)とが一
致しているかどうかをチェックし(ステップ307)、
媒体管理情報21とラベル情報とが一致していない場合
は、媒体管理情報21内の管理情報不一致フラグ215
をオンに設定する(ステップ308)。媒体管理情報2
1と媒体10のラベル情報とが一致している場合には、
データ入出力処理手段4は、ステップ308をスキップ
する。
After the mounting of the medium 10 is completed, the data input / output processing means 4 controls the medium management information 21 (medium group name 21).
1, medium name 212 and sequence number 213) and the label information (medium group name, medium name and sequence number) of the medium 10 are checked (step 307),
If the medium management information 21 and the label information do not match, the management information mismatch flag 215 in the medium management information 21.
Is set to ON (step 308). Medium management information 2
1 and the label information of the medium 10 match,
The data input / output processing means 4 skips step 308.

【0029】次に、データ入出力処理手段4は、入出力
装置121にマウントされた媒体10からのデータの入
力処理を実行する(ステップ309)。
Next, the data input / output processing means 4 executes the input processing of data from the medium 10 mounted in the input / output device 121 (step 309).

【0030】マウントされた媒体10からのデータの入
力処理が終了すると、データ入出力処理手段4は、後続
の媒体10が存在するかどうかをチェックするために順
序番号Nを1増やし(ステップ310)、媒体群名GG
GGGと順序番号Nとの対をキーとして媒体管理情報2
1を媒体管理ファイル3から検索し(ステップ31
1)、検索結果を判定する(ステップ312)。
When the input processing of the data from the mounted medium 10 is completed, the data input / output processing means 4 increments the sequence number N by 1 to check whether the succeeding medium 10 exists (step 310). , Medium group name GG
Media management information 2 using the pair of GGG and sequence number N as a key
1 from the media management file 3 (step 31
1) The search result is determined (step 312).

【0031】媒体管理情報21が検索できたならば、デ
ータ入出力処理手段4は、ステップ305に戻って次の
媒体の入力処理を続行する。媒体管理情報21が検索で
きなかったならば、後続の媒体10は存在しないので、
データ入出力処理手段4は処理を終了する。
When the medium management information 21 can be retrieved, the data input / output processing means 4 returns to step 305 and continues the input processing of the next medium. If the medium management information 21 cannot be retrieved, the subsequent medium 10 does not exist.
The data input / output processing means 4 ends the processing.

【0032】(2) データの出力処理(図4参照) データ入出力要求プログラム7は、データを出力したい
集合型記憶装置1の媒体群名、例えば媒体群名GGGG
Gを指定して集合型記憶装置管理プログラム2にデータ
の出力処理を要求する。
(2) Data output processing (see FIG. 4) The data input / output request program 7 is a medium group name of the collective storage device 1 to which data is to be output, for example, medium group name GGGG.
Specify G to request the collective storage device management program 2 to output data.

【0033】集合型記憶装置管理プログラム2がデータ
の出力処理の要求を受け取ると、データ入出力処理手段
4は、まず出力処理を要求された媒体群111の媒体群
名GGGGGを得て(ステップ401)、順序番号Nを
1に初期設定する(ステップ402)。
When the collective storage device management program 2 receives a request for data output processing, the data input / output processing means 4 first obtains the medium group name GGGGGG of the medium group 111 for which output processing is requested (step 401). ), The sequence number N is initialized to 1 (step 402).

【0034】次に、データ入出力処理手段4は、媒体群
名GGGGGと順序番号Nとの対をキーとして媒体群1
11の最初の媒体の媒体管理情報21を媒体管理ファイ
ル3から検索して(ステップ403)、検索結果を判定
する(ステップ404)。
Next, the data input / output processing means 4 uses the pair of medium group name GGGGGG and sequence number N as a key, and the medium group 1
The medium management information 21 of the first medium 11 is searched from the medium management file 3 (step 403), and the search result is determined (step 404).

【0035】ステップ404の判定の結果、媒体管理情
報21が検索できなかったならば、データ入出力処理手
段4は、存在していない媒体群名GGGGGの媒体群1
11が指定された旨をデータ入出力要求プログラム7に
通知し(ステップ419)、処理を終了する。
If the medium management information 21 cannot be retrieved as a result of the determination in step 404, the data input / output processing means 4 determines the medium group 1 with the medium group name GGGGGG which does not exist.
The data input / output request program 7 is notified that 11 has been designated (step 419), and the processing ends.

【0036】ステップ404の判定の結果、媒体管理情
報21が検索できたならば、データ入出力処理手段4
は、媒体管理情報21内の格納番号214を得て(ステ
ップ405)、媒体格納域11内の格納番号214の位
置から媒体10を入出力装置121にマウントする(ス
テップ406)。
If the medium management information 21 can be retrieved as a result of the determination in step 404, the data input / output processing means 4
Obtains the storage number 214 in the medium management information 21 (step 405) and mounts the medium 10 on the input / output device 121 from the position of the storage number 214 in the medium storage area 11 (step 406).

【0037】媒体10のマウントが完了した後、データ
入出力処理手段4は、媒体管理情報21内の管理情報不
一致フラグ215をチェックし(ステップ407)、オ
ンならば媒体10のラベル情報(媒体群名,媒体名およ
び順序番号)を媒体管理情報21(媒体群名211,媒
体名212および順序番号213)に合わせて変更し
(ステップ408)、管理情報不一致フラグ215をオ
フにクリアする(ステップ409)。ステップ407で
管理情報不一致フラグ215がオフならば、データ入出
力処理手段4は、ステップ408および409をスキッ
プする。
After the mounting of the medium 10 is completed, the data input / output processing means 4 checks the management information mismatch flag 215 in the medium management information 21 (step 407). Name, medium name and sequence number) according to the medium management information 21 (medium group name 211, medium name 212 and sequence number 213) (step 408) and the management information mismatch flag 215 is cleared to off (step 409). ). If the management information mismatch flag 215 is off at step 407, the data input / output processing means 4 skips steps 408 and 409.

【0038】次に、データ入出力処理手段4は、入出力
装置121にマウントされた媒体10へのデータの出力
処理を実行する(ステップ410)。
Next, the data input / output processing means 4 executes the output processing of the data to the medium 10 mounted on the input / output device 121 (step 410).

【0039】マウントされた媒体10へのデータの出力
処理が終了すると、データ入出力処理手段4は、出力デ
ータがまだ残っているかどうかを判定し(ステップ41
1)、残っていなければ処理を終了する。出力データが
まだ残っていれば、データ入出力処理手段4は、後続の
媒体10が存在するかどうかをチェックするために順序
番号Nを1増やし(ステップ412)、媒体群名GGG
GGと順序番号Nとの対をキーとして媒体管理情報21
を媒体管理ファイル3から検索し(ステップ413)、
検索結果を判定する(ステップ414)。後続の媒体1
0が存在すれば、データ入出力処理手段4は、ステップ
405に戻って後続の媒体10へのデータの出力処理を
続行する。
When the output processing of the data to the mounted medium 10 is completed, the data input / output processing means 4 determines whether the output data still remains (step 41).
1) If not remaining, the process ends. If the output data still remains, the data input / output processing means 4 increments the sequence number N by 1 to check whether the succeeding medium 10 exists (step 412), and the medium group name GGG.
Media management information 21 using the pair of GG and sequence number N as a key
From the medium management file 3 (step 413),
The search result is judged (step 414). Subsequent medium 1
If 0 is present, the data input / output processing means 4 returns to step 405 and continues the output processing of the data to the subsequent medium 10.

【0040】ステップ414で後続の媒体10が存在し
ない場合は、データ入出力処理手段4は、媒体群名GG
GGGの媒体群111内の媒体10が尽きた旨をシステ
ム運用者(コンソール等)に通知してシステム運用者に
後続の媒体10に加える媒体10の媒体名RRRRRを
問い合わせ(ステップ415)、媒体追加処理手段5を
呼び出して媒体名RRRRRの媒体10を媒体群名GG
GGGの媒体群111に加える(ステップ416)。
If there is no subsequent medium 10 in step 414, the data input / output processing means 4 determines the medium group name GG.
The system operator (console, etc.) is notified that the medium 10 in the GGG medium group 111 is exhausted, and the system operator is inquired about the medium name RRRRR of the medium 10 to be added to the subsequent medium 10 (step 415), and the medium is added. The processing means 5 is called to call the medium 10 having the medium name RRRRR and the medium group name GG.
It is added to the GGG medium group 111 (step 416).

【0041】次に、データ入出力処理手段4は、媒体1
0の追加が成功したかどうかを判定し(ステップ41
7)、成功したならばステップ405に戻って後続の媒
体10へのデータの出力処理を続行する。媒体10の追
加が失敗したならば、データ入出力処理手段4は、ステ
ップ416に戻って追加する媒体名を再度問い合わせる
(ステップ418)。
Next, the data input / output processing means 4 uses the medium 1
It is determined whether the addition of 0 has succeeded (step 41
7) If successful, the process returns to step 405 to continue the data output process to the subsequent medium 10. If the addition of the medium 10 has failed, the data input / output processing means 4 returns to step 416 to inquire again about the medium name to be added (step 418).

【0042】(3) 媒体の追加処理(図5参照) ところで、本実施例の集合型記憶装置内の媒体群管理方
式では、データの出力処理において媒体群111内の媒
体10に全データが入り切らない場合は、システム運用
者に後続の媒体10の媒体名を問い合わせ、媒体追加処
理手段5を使って媒体10の追加処理を行っているが、
媒体追加処理手段5を使わない場合は後続の媒体10を
媒体格納域11に直接投入する必要がある。いずれにし
てもシステム運用者の介入が必要となるが、事前に媒体
群111の媒体10が不足することが予測される場合に
は、データ入出力要求プログラム7は、媒体追加処理手
段5を用いて媒体群111への媒体10の追加をシステ
ム運用者の介入なしで事前に行うことができる。
(3) Medium Addition Processing (See FIG. 5) By the way, in the medium group management system in the collective storage device of this embodiment, all the data is put into the medium 10 in the medium group 111 in the data output processing. If it is not cut off, the system operator is inquired about the medium name of the succeeding medium 10 and the medium addition processing means 5 is used to add the medium 10.
When the medium addition processing means 5 is not used, it is necessary to directly insert the subsequent medium 10 into the medium storage area 11. In any case, the intervention of the system operator is required, but when it is predicted that the medium 10 of the medium group 111 will run short in advance, the data input / output request program 7 uses the medium addition processing means 5. It is possible to add the medium 10 to the medium group 111 in advance without the intervention of the system operator.

【0043】 詳しくは、媒体追加処理手段5は、データ
入出力要求プログラム7から媒体追加要求を受け取る
と、まず媒体10を追加したい媒体群111の媒体群名
GGGGGを得て(ステップ501)、順序番号Nを1
に初期設定する(ステップ502)。
[0043] Specifically, the medium addition processing means 5 is
Receive media addition request from I / O request program 7
First, the medium group name of the medium group 111 to which the medium 10 is to be added
Obtain GGGGGG (step 501) and set the sequence number N to 1
(Step 502).

【0044】次に、媒体追加処理手段5は、媒体群名G
GGGGと順序番号Nとの対をキーとして媒体管理ファ
イル3内の媒体管理情報21を検索し(ステップ50
3)、媒体管理情報21を検索できたならば(ステップ
504でイエス)、順序番号Nを1増やし(ステップ5
05)、ステップ503に戻る。
Next, the medium addition processing means 5 determines the medium group name G.
The medium management information 21 in the medium management file 3 is searched using the pair of GGGG and the sequence number N as a key (step 50).
3) If the medium management information 21 can be retrieved (YES in step 504), the sequence number N is incremented by 1 (step 5).
05), and returns to step 503.

【0045】ステップ504で媒体管理情報21を検索
できなかった場合は、媒体追加処理手段5は、順序番号
Nが最大順序番号に1を加えた値(媒体10の追加を開
始すべき順序番号)になっているので、追加したい媒体
10の媒体名RRRRRを得て(ステップ506)、追
加すべき媒体10がもうないかどうかを判定する(ステ
ップ507)。追加すべき媒体10がなければ、媒体追
加処理手段5は、処理を終了する。
If the medium management information 21 cannot be retrieved in step 504, the medium addition processing means 5 sets the sequence number N to the maximum sequence number plus 1 (the sequence number at which the medium 10 addition should be started). Therefore, the medium name RRRRR of the medium 10 to be added is obtained (step 506), and it is determined whether or not there is any medium 10 to be added (step 507). If there is no medium 10 to be added, the medium addition processing means 5 ends the process.

【0046】ステップ507で追加すべき媒体10があ
れば、媒体追加処理手段5は、追加する媒体10の媒体
管理情報21を媒体名RRRRRをキーとして媒体管理
ファイル3から検索し(ステップ508)、検索結果を
判定する(ステップ509)。媒体管理情報21を検索
できなかったならば、媒体追加処理手段5は、存在しな
い媒体名RRRRRの媒体10が指定された旨をデータ
入出力要求プログラム7に通知して(ステップ51
2)、ステップ506に戻って次の媒体10の追加処理
を続行する。
If there is a medium 10 to be added in step 507, the medium addition processing means 5 retrieves the medium management information 21 of the medium 10 to be added from the medium management file 3 using the medium name RRRRRR as a key (step 508). The search result is judged (step 509). If the medium management information 21 cannot be retrieved, the medium addition processing means 5 notifies the data input / output request program 7 that the medium 10 having the medium name RRRRR that does not exist is designated (step 51).
2) The process returns to step 506 to continue the process of adding the next medium 10.

【0047】ステップ509で媒体管理情報21が検索
できたならば、媒体追加処理手段5は、媒体管理情報2
1内の媒体群名211を媒体群名GGGGGに、順序番
号213を順序番号Nにそれぞれ設定することによっ
て、媒体名RRRRRの媒体10を媒体群名GGGGG
の媒体群111に追加し(ステップ510)、順序番号
Nを1増やした後(ステップ511)、ステップ506
に戻って次の媒体10の追加処理を続行する。
When the medium management information 21 can be retrieved in step 509, the medium addition processing means 5 determines the medium management information 2
By setting the medium group name 211 in 1 to the medium group name GGGGG and the sequence number 213 to the sequence number N, the medium 10 with the medium name RRRRRR is set to the medium group name GGGGGG.
To the medium group 111 (step 510) and increment the sequence number N by 1 (step 511), and then step 506.
Then, the process of adding the next medium 10 is continued.

【0048】(4) 媒体の解放処理(図6参照) また、本実施例の集合型記憶装置内の媒体群管理方式で
は、データ入出力要求プログラム7は、媒体群111内
の不使用の媒体10の解放処理を媒体解放処理手段6を
用いてシステム運用者の介入なしで行うこともできる。
(4) Media release processing (see FIG. 6)  In addition, according to the medium group management method in the collective storage device of this embodiment,
Is the data input / output request program 7 in the medium group 111.
The release processing of the unused medium 10 is performed by the medium release processing means 6.
It can also be used without the intervention of the system operator.

【0049】詳しくは、媒体解放処理手段6は、データ
入出力要求プログラム7から媒体解放要求を受け取る
と、まず媒体10を解放したい媒体群111の媒体群名
GGGGGと解放を開始する順序番号Nとを得る(ステ
ップ601)。
More specifically, when the medium release processing means 6 receives a medium release request from the data input / output request program 7, first, the medium group name GGGGGG of the medium group 111 to release the medium 10 and the sequence number N for starting the release are given. Is obtained (step 601).

【0050】次に、媒体解放処理手段6は、媒体群名G
GGGGと順序番号Nとの対をキーとして媒体管理情報
21を媒体管理ファイル3から検索し(ステップ60
2)、検索結果を判定する(ステップ603)。
Next, the medium release processing means 6 determines the medium group name G.
The medium management information 21 is retrieved from the medium management file 3 using the pair of GGGG and the sequence number N as a key (step 60).
2) Determine the search result (step 603).

【0051】ステップ603で媒体管理情報21が検索
できた場合は、媒体解放処理手段6は、媒体管理情報2
1内の媒体群名211を媒体名212と同じ名前に変更
し、さらに順序番号213を1にそれぞれ変更すること
により、媒体10を単独1媒体からなる媒体群111と
して登録し(ステップ604)、順序番号Nに1を加え
た後(ステップ605)、ステップ602に戻って次の
媒体10の解放処理を続行する。
When the medium management information 21 can be retrieved in step 603, the medium release processing means 6 determines the medium management information 2
The medium group name 211 in 1 is changed to the same name as the medium name 212, and the sequence number 213 is changed to 1 to register the medium 10 as the medium group 111 consisting of one medium alone (step 604). After adding 1 to the sequence number N (step 605), the process returns to step 602 to continue the release processing of the next medium 10.

【0052】ステップ603で媒体管理情報21が検索
できなかった場合は、要求された媒体10の解放が全て
完了したことを意味するので、媒体解放処理手段6は処
理を終了する。
If the medium management information 21 cannot be retrieved in step 603, it means that the release of the requested medium 10 has been completed, and the medium release processing means 6 ends the process.

【0053】 [0053]

【発明の効果】以上説明したように本発明は、媒体追加
処理手段を設け、媒体の追加を行う媒体群名と、その媒
体群に追加したい媒体の媒体名とが指定されると、媒体
管理ファイル内の媒体管理情報から、指定された媒体名
の媒体の媒体管理情報を検索し、検索した媒体管理情報
の媒体群名と順序番号とを、指定された媒体群名とその
媒体群名の媒体群内での最大順序番号に1を加えた値と
にそれぞれ変更した後に管理情報不一致フラグをセット
し、媒体を入出力装置に移動した際にデータ入出力処理
手段により管理情報不一致フラグをチェックし、管理情
報不一致フラグがセットされていれば、媒体のラベル情
報を媒体管理ファイル内の媒体管理情報に書き換えた後
にデータ入出力処理を行うようにしたことにより、集合
型記憶装置内の媒体群に出力するデータ量の増加が見込
まれる場合に媒体群への媒体の追加処理を事前に(入出
力処理中に実際に媒体不足が発生する前に)、しかも媒
体の排出/投入の操作なしで行うことができ、集合型記
憶装置を用いた業務処理の運用性を向上させることがで
きるという効果がある。
As described above, according to the present invention, when the medium addition processing means is provided and the medium group name for adding a medium and the medium name of the medium to be added to the medium group are designated, medium management is performed. The medium management information of the medium having the specified medium name is searched from the medium management information in the file, and the medium group name and the sequence number of the searched medium management information are set to the specified medium group name and the medium group name. The management information mismatch flag is set after changing to the maximum sequence number in the medium group plus one, and the management information mismatch flag is checked by the data input / output processing means when the medium is moved to the input / output device. However, if the management information mismatch flag is set, the media input / output processing is performed after the label information of the medium is rewritten to the medium management information in the medium management file. When the amount of data to be output to the group is expected to increase, the process of adding the medium to the medium group is performed in advance (before the medium shortage actually occurs during input / output processing), and there is no operation of ejecting / inputting the medium. And the operability of business processing using the collective storage device can be improved.

【0054】また、媒体解放処理手段を設け、媒体の解
放を行う媒体群の媒体群名と解放を開始する順序番号と
が指定されると、指定された媒体群名と順序番号との対
で媒体管理ファイル内の媒体管理情報の検索を行い、検
索した媒体管理情報の媒体群名を媒体名と同一の名前に
変更し、さらに順序番号を1に変更することにより、媒
体を媒体群から解放して単独1媒体からなる媒体群に変
更し、管理情報不一致フラグをセットし、以下同様に、
媒体管理情報の検索および修正の処理を、指定された媒
体群内の最大順序番号の媒体まで繰り返し実行し、媒体
を入出力装置に移動した際にデータ入出力処理手段によ
り管理情報不一致フラグをチェックし、管理情報不一致
フラグがセットされていれば、媒体のラベル情報を媒体
管理ファイル内の媒体管理情報に書き換えた後にデータ
入出力処理を行うことにより、データ量の減少により不
使用の媒体がある場合、媒体の排出/投入の操作なしで
不使用の媒体の解放を行うことができ、集合型記憶装置
を用いた業務処理の運用性を向上させることができると
いう効果がある。
Further, when the medium release processing means is provided and the medium group name of the medium group for releasing the medium and the sequence number for starting the release are designated, the designated medium group name and sequence number are paired. The medium is released from the medium group by searching the medium management information in the medium management file, changing the medium group name of the retrieved medium management information to the same name as the medium name, and further changing the sequence number to 1. And change to a medium group consisting of one single medium, set the management information mismatch flag, and so on.
The process of retrieving and correcting the medium management information is repeatedly executed up to the medium having the maximum sequence number in the designated medium group, and when the medium is moved to the input / output device, the data input / output processing means checks the management information mismatch flag. However, if the management information mismatch flag is set, data input / output processing is performed after rewriting the label information of the medium to the medium management information in the medium management file, and there is an unused medium due to a reduction in the amount of data. In this case, the unused medium can be released without the operation of ejecting / inserting the medium, and the operability of business processing using the collective storage device can be improved.

【0055】さらに、媒体追加処理手段および媒体解放
処理手段を設け、媒体の追加を行う媒体群名と、その媒
体群に追加したい媒体の媒体名とが指定されると、媒体
管理ファイル内の媒体管理情報から、指定された媒体名
の媒体の媒体管理情報を検索し、検索した媒体管理情報
の媒体群名と順序番号とを、指定された媒体群名とその
媒体群名の媒体群内での最大順序番号に1を加えた値と
にそれぞれ変更した後に管理情報不一致フラグをセット
し、媒体の解放を行う媒体群の媒体群名と解放を開始す
る順序番号とが指定されると、指定された媒体群名と順
序番号との対で媒体管理ファイル内の媒体管理情報の検
索を行い、検索した媒体管理情報の媒体群名を媒体名と
同一の名前に変更し、さらに順序番号を1に変更するこ
とにより、媒体を媒体群から解放して単独1媒体からな
る媒体群に変更し、管理情報不一致フラグをセットし、
以下同様に、媒体管理情報の検索および修正の処理を、
指定された媒体群内の最大順序番号の媒体まで繰り返し
実行し、媒体を入出力装置に移動した際にデータ入出力
処理手段により管理情報不一致フラグをチェックし、管
理情報不一致フラグがセットされていれば、媒体のラベ
ル情報を媒体管理ファイル内の媒体管理情報に書き換え
た後にデータ入出力処理を行うようにしたことにより、
集合型記憶装置内の媒体群に出力するデータ量の増加が
見込まれる場合に媒体群への媒体の追加処理を事前に
(入出力処理中に実際に媒体不足が発生する前に)、し
かも媒体の排出/投入の操作なしで行うことができ、ま
たデータ量の減少により不使用の媒体がある場合、媒体
の排出/投入の操作なしで不使用の媒体の解放を行うこ
とができ、集合型記憶装置を用いた業務処理の運用性を
向上させることができるという効果がある。
Furthermore, when the medium addition processing means and the medium release processing means are provided and the name of the medium group to which the medium is added and the medium name of the medium to be added to the medium group are designated, the medium in the medium management file is designated. The medium management information of the medium having the specified medium name is searched from the management information, and the medium group name and the sequence number of the searched medium management information are searched in the specified medium group name and the medium group having the medium group name. When the management information inconsistency flag is set and the medium group name of the medium group for releasing the medium and the sequence number for starting the release are designated, The medium management information in the medium management file is searched for with the pair of the obtained medium group name and the sequence number, the medium group name of the retrieved medium management information is changed to the same name as the medium name, and the sequence number is set to 1 By changing to Change the medium group consisting solely 1 medium released from the body group, sets the management information mismatch flag,
Similarly, the process of searching and modifying the media management information
The management information mismatch flag is checked by the data input / output processing means when the medium is moved to the input / output device by repeating the execution up to the medium having the maximum sequence number in the specified medium group, and the management information mismatch flag is set. For example, by performing the data input / output processing after rewriting the label information of the medium to the medium management information in the medium management file,
When the amount of data to be output to the media group in the aggregate storage device is expected to increase, the process of adding the media to the media group is performed in advance (before the medium shortage actually occurs during the input / output process), and the medium Can be performed without the operation of ejecting / inputting the media, and if there is an unused medium due to the decrease in the amount of data, the unused media can be released without the operation of ejecting / inputting the media. There is an effect that the operability of business processing using the storage device can be improved.

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

【図1】本発明の一実施例に係る集合型記憶装置内の媒
体群管理方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a medium group management system in an aggregate storage device according to an embodiment of the present invention.

【図2】本実施例の集合型記憶装置内の媒体群管理方式
における媒体管理情報の内容を示す図である。
FIG. 2 is a diagram showing the contents of medium management information in the medium group management system in the collective storage device of this embodiment.

【図3】図1中のデータ入出力処理手段の入力処理を示
す流れ図である。
3 is a flow chart showing an input process of a data input / output processing means in FIG.

【図4】図1中のデータ入出力処理手段の出力処理を示
す流れ図である。
FIG. 4 is a flowchart showing an output process of a data input / output processing unit in FIG.

【図5】図1中の媒体追加処理手段の処理を示す流れ図
である。
5 is a flowchart showing the processing of the medium addition processing means in FIG. 1. FIG.

【図6】図1中の媒体解放処理手段の処理を示す流れ図
である。
FIG. 6 is a flowchart showing the processing of a medium release processing means in FIG.

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

1 集合型記憶装置 2 集合型記憶装置管理プログラム 3 媒体管理ファイル 4 データ入出力処理手段 5 媒体追加処理手段 6 媒体解放処理手段 7 データ入出力要求プログラム 10 媒体 11 媒体格納域 111 媒体群 121 入出力装置 211 媒体群名 212 媒体名 213 順序番号 214 格納番号 215 管理情報不一致フラグ1 Aggregate Storage Device 2 Aggregate Storage Device Management Program 3 Medium Management File 4 Data Input / Output Processing Means 5 Medium Addition Processing Means 6 Medium Release Processing Means 7 Data Input / Output Request Program 10 Medium 11 Medium Storage Area 111 Medium group 121 I / O device 211 Medium group name 212 Medium name 213 Sequence number 214 Storage number 215 Management information mismatch flag

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 媒体格納領域内の媒体を入出力装置に自
動マウントしてデータ入出力を行う集合型記憶装置と、
各媒体の媒体名,その媒体の属する媒体群を識別するた
めの媒体群名,媒体群内でデータの入出力処理を行って
いく順番を示す順序番号,および前記媒体格納域内の位
置を示す格納番号の各情報を含む媒体管理情報を格納す
る媒体管理ファイルと、前記媒体格納域内の媒体を論理
的にいくつかの媒体群にわけて識別/管理し前記集合型
記憶装置を用いたデータ入出力処理の制御を行う集合型
記憶装置管理プログラムとを備えたデータ処理システム
において、 前記媒体管理情報に前記媒体管理ファイル内の媒体管理
情報と媒体のラベル情報とが不一致であることを示すた
めの管理情報不一致フラグを付加し、 前記集合型記憶装置管理プログラムは、媒体を前記媒体
格納域から前記入出力装置に移動してデータの入出力を
行うデータ入出力処理手段と、前記媒体格納域内の媒体
群に媒体を追加する媒体追加処理手段とを備え、 前記媒体追加処理手段は、媒体の追加を行う媒体群の媒
体群名と、その媒体群に追加したい媒体の媒体名とが指
定されると、前記媒体管理ファイル内の媒体管理情報か
ら、指定された媒体名の媒体の媒体管理情報を検索し、
検索した媒体管理情報の媒体群名と順序番号とを、指定
された媒体群名とその媒体群名の媒体群内での最大順序
番号に1を加えた値とにそれぞれ変更した後に前記管理
情報不一致フラグをセットし、 前記データ入出力処理手段は、媒体を前記入出力装置に
移動した際に前記管理情報不一致フラグをチェックし、
前記管理情報不一致フラグがセットされていれば、媒体
のラベル情報を前記媒体管理ファイル内の媒体管理情報
に書き換えた後にデータ入出力処理を行うことを特徴と
する集合型記憶装置内の媒体群管理方式。
1. A medium in a medium storage area is automatically input to an input / output device.
A collective storage device that is dynamically mounted to perform data input / output,
The medium name of each medium and the medium group to which the medium belongs are identified.
Media group name for
Sequence number indicating the order in which to go, and position in the media storage area
Stores media management information including storage number information
The media management file and the media in the media storage area
The collective type is identified and managed by dividing it into several media groups
A collective type that controls data input / output processing using a storage device
Data processing system including storage device management program
In the medium management information, the medium management in the medium management file is performed.
Indicates that the information does not match the label information on the medium.
Management information disagreement flag for adding the medium to the medium
Move data from the storage area to the input / output device to input / output data.
Data input / output processing means and medium in the medium storage area
A medium addition processing means for adding a medium to the group,  The medium addition processing means is a medium of a medium group for adding a medium.
Specify the body group name and the medium name of the medium you want to add to the medium group.
If specified, the media management information in the media management file
The media management information of the media with the specified media name,
Specify the medium group name and sequence number of the retrieved medium management information
Media group name and maximum order of the media group name in the media group
The above management after changing to the value with 1 added to the number
An information disagreement flag is set, and the data input / output processing means transfers the medium to the input / output device.
Check the management information mismatch flag when moving,
If the management information mismatch flag is set, the medium
Label information of the medium management information in the medium management file
It is characterized by performing data input / output processing after rewriting to
A method for managing a medium group in a collective storage device.
【請求項2】 媒体格納領域内の媒体を入出力装置に自
動マウントしてデータ入出力を行う集合型記憶装置と、
各媒体の媒体名,その媒体の属する媒体群を識別するた
めの媒体群名,媒体群内でデータの入出力処理を行って
いく順番を示す順序番号,および前記媒体格納域内の位
置を示す格納番号の各情報を含む媒体管理情報を格納す
る媒体管理ファイルと、前記媒体格納域内の媒体を論理
的にいくつかの媒体群にわけて識別/管理し前記集合型
記憶装置を用いたデータ入出力処理の制御を行う集合型
記憶装置管理プログラムとを備えたデータ処理システム
において、 前記媒体管理情報に前記媒体管理ファイル内の媒体管理
情報とラベル情報とが不一致であることを示すための管
理情報不一致フラグを付加し、 前記集合型記憶装置管理プログラムは、媒体を前記媒体
格納域から前記入出力装置に移動してデータの入出力を
行うデータ入出力処理手段と、前記媒体格納域内の媒体
群内の媒体の解放処理を行う媒体解放処理手段とを備
え、 前記媒体解放処理手段は、媒体の解放を行う媒体群の媒
体群名と解放を開始する順序番号とが指定されると、指
定された媒体群名と順序番号との対で前記媒体管理ファ
イル内の媒体管理情報の検索を行い、検索した媒体管理
情報の媒体群名を媒体名と同一の名前に変更し、さらに
順序番号を1に変更することにより、媒体を媒体群から
解放して単独1媒体からなる媒体群に変更し、前記管理
情報不一致フラグをセットし、以下同様に、媒体管理情
報の検索および修正の処理を、指定された媒体群内の最
大順序番号の媒体まで繰り返し実行していき、 前記データ入出力処理手段は、媒体を入出力装置に移動
した際に前記管理情報不一致フラグをチェックし、前記
管理情報不一致フラグがセットされていれば、媒体のラ
ベル情報を前記媒体管理ファイル内の媒体管理情報に書
き換えた後にデータ入出力処理を行うことを特徴とする
集合型記憶装置内の媒体群管理方式。
2. A collective storage device for automatically mounting data in a medium storage area on an input / output device for data input / output,
A medium name of each medium, a medium group name for identifying the medium group to which the medium belongs, a sequence number indicating the order in which data input / output processing is performed within the medium group, and a storage indicating the position in the medium storage area. A medium management file for storing medium management information including each number information, and a medium in the medium storage area are logically divided into several medium groups for identification / management and data input / output using the collective storage device. In a data processing system including a collective storage device management program for controlling processing, management information mismatch for indicating that the medium management information in the medium management file and label information do not match the medium management information A flag is added, and the collective storage device management program includes data input / output processing means for moving a medium from the medium storage area to the input / output device to input / output data. And a medium release processing means for releasing the medium in the medium group in the medium storage area, wherein the medium release processing means has a medium group name of the medium group for releasing the medium and a sequence number for starting the release. When specified, the media management information in the media management file is searched for with the specified media group name and sequence number pair, and the media group name of the searched media management information is changed to the same name as the media name. Then, by further changing the sequence number to 1, the medium is released from the medium group to be changed to a medium group consisting of a single medium, the management information inconsistency flag is set, and so on. And the correction process are repeatedly executed up to the medium with the maximum sequence number in the designated medium group, and the data input / output processing unit checks the management information mismatch flag when the medium is moved to the input / output device. And before If the management information mismatch flag is set, the medium group management method in the collective storage device is characterized in that the label information of the medium is rewritten to the medium management information in the medium management file and then the data input / output processing is performed. .
【請求項3】 媒体格納領域内の媒体を入出力装置に自
動マウントしてデータ入出力を行う集合型記憶装置と、
各媒体の媒体名,その媒体の属する媒体群を識別するた
めの媒体群名,媒体群内でデータの入出力処理を行って
いく順番を示す順序番号,および前記媒体格納域内の位
置を示す格納番号の各情報を含む媒体管理情報を格納す
る媒体管理ファイルと、前記媒体格納域内の媒体を論理
的にいくつかの媒体群にわけて識別/管理し前記集合型
記憶装置を用いたデータ入出力処理の制御を行う集合型
記憶装置管理プログラムとを備えたデータ処理システム
において、 前記媒体管理情報に前記媒体管理ファイル内の媒体管理
情報と媒体のラベル情報とが不一致であることを示すた
めの管理情報不一致フラグを付加し、 前記集合型記憶装置管理プログラムは、媒体を前記媒体
格納域から前記入出力装置に移動してデータの入出力を
行うデータ入出力処理手段と、前記媒体格納域内の媒体
群に媒体を追加する媒体追加処理手段と、前記媒体格納
域内の媒体群内の媒体の解放処理を行う媒体解放処理手
段とを備え、 前記媒体追加処理手段は、媒体の追加を行う媒体群の媒
体群名と、その媒体群に追加したい媒体の媒体名とが指
定されると、前記媒体管理ファイル内の媒体管理情報か
ら、指定された媒体名の媒体の媒体管理情報を検索し、
検索した媒体管理情報の媒体群名と順序番号とを、指定
された媒体群名とその媒体群名の媒体群内での最大順序
番号に1を加えた値とにそれぞれ変更した後に前記管理
情報不一致フラグをセットし、 前記媒体解放処理手段は、媒体の解放を行う媒体群の媒
体群名と解放を開始する順序番号とが指定されると、指
定された媒体群名と順序番号との対で前記媒体管理ファ
イル内の媒体管理情報の検索を行い、検索した媒体管理
情報の媒体群名を媒体名と同一の名前に変更し、さらに
順序番号を1に変更することにより、媒体を媒体群から
解放して単独1媒体からなる媒体群に変更し、前記管理
情報不一致フラグをセットし、以下同様に、媒体管理情
報の検索および修正の処理を、指定された媒体群内の最
大順序番号の媒体まで繰り返し実行していき、 前記データ入出力処理手段は、媒体を前記入出力装置に
移動した際に前記管理情報不一致フラグをチェックし、
前記管理情報不一致フラグがセットされていれば、媒体
のラベル情報を前記媒体管理ファイル内の媒体管理情報
に書き換えた後にデータ入出力処理を行うことを特徴と
する集合型記憶装置内の媒体群管理方式。
3. The input / output device automatically stores the medium in the medium storage area.
A collective storage device that is dynamically mounted to perform data input / output,
The medium name of each medium and the medium group to which the medium belongs are identified.
Media group name for
Sequence number indicating the order in which to go, and position in the media storage area
Stores media management information including storage number information
The media management file and the media in the media storage area
The collective type is identified and managed by dividing it into several media groups
A collective type that controls data input / output processing using a storage device
Data processing system including storage device management program
In the medium management information, the medium management in the medium management file is performed.
Indicates that the information does not match the label information on the medium.
Management information disagreement flag for adding the medium to the medium
Move data from the storage area to the input / output device to input / output data.
Data input / output processing means and medium in the medium storage area
Medium addition processing means for adding a medium to a group, and said medium storage
The media release processor that releases the media in the media group in the area
With steps and  The medium addition processing means is a medium of a medium group for adding a medium.
Specify the body group name and the medium name of the medium you want to add to the medium group.
If specified, the media management information in the media management file
The media management information of the media with the specified media name,
Specify the medium group name and sequence number of the retrieved medium management information
Media group name and maximum order of the media group name in the media group
The above management after changing to the value with 1 added to the number
The information disagreement flag is set, and the medium release processing means is configured to release the medium.
If the group name and the sequence number to start the release are specified, the
The media management file is composed of a pair of a defined media group name and sequence number.
Media management information in the file
Change the medium group name of information to the same name as the medium name, and
By changing the sequence number to 1, the media is removed from the media group.
Release and change to a medium group consisting of one single medium, and manage the above
Set the information disagreement flag, and so on.
The process of searching and modifying information is the maximum in the specified media group.
The data input / output processing unit repeatedly executes the medium up to the medium having the large sequence number, and transfers the medium to the input / output device.
Check the management information mismatch flag when moving,
If the management information mismatch flag is set, the medium
Label information of the medium management information in the medium management file
It is characterized by performing data input / output processing after rewriting to
A method for managing a medium group in a collective storage device.
JP4351356A 1992-12-07 1992-12-07 Medium group management method in a collective storage device Expired - Fee Related JPH0743633B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4351356A JPH0743633B2 (en) 1992-12-07 1992-12-07 Medium group management method in a collective storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4351356A JPH0743633B2 (en) 1992-12-07 1992-12-07 Medium group management method in a collective storage device

Publications (2)

Publication Number Publication Date
JPH06175785A true JPH06175785A (en) 1994-06-24
JPH0743633B2 JPH0743633B2 (en) 1995-05-15

Family

ID=18416750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4351356A Expired - Fee Related JPH0743633B2 (en) 1992-12-07 1992-12-07 Medium group management method in a collective storage device

Country Status (1)

Country Link
JP (1) JPH0743633B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625789B2 (en) * 2000-04-14 2003-09-23 Hitachi, Ltd. Computer-readable medium for recording interface specifications

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6625789B2 (en) * 2000-04-14 2003-09-23 Hitachi, Ltd. Computer-readable medium for recording interface specifications

Also Published As

Publication number Publication date
JPH0743633B2 (en) 1995-05-15

Similar Documents

Publication Publication Date Title
US6651075B1 (en) Support for multiple temporal snapshots of same volume
CA2291000C (en) File system primitive providing native file system support for remote storage
JP3180038B2 (en) Method and system for mass storage device configuration management
US6842824B2 (en) Cache control program and computer for performing cache processes utilizing cache blocks ranked according to their order of reuse
JP2000259456A (en) File revision management system
JPH0793109A (en) Information storage device
JP2008009809A (en) Database synchronous processing program
JP2000122902A (en) Method for writing data in log structure storage destination, medium and data storage system
JPH06290099A (en) Method for storage management and subsystem therefor
US5794255A (en) Processing apparatus and method of moving virtual storage resources between disk units
JP2005190047A (en) Storage system with data sorting function
US7451279B2 (en) Storage system comprising a shared memory to access exclusively managed data
JPH06175785A (en) Medium group management system in collective storage device
JP2006039942A (en) File management device in hierarchical storage system, and its file management method
JP2828354B2 (en) Database management device
US11567671B2 (en) Method, electronic device, and computer program product for storage management
JPH1165895A (en) System and method for managing logging file
JP2901543B2 (en) Magnetic disk file relocation method
JPH0540582A (en) Filing processing device
JP2817911B2 (en) Access control method for keyed files
JP3022829B2 (en) Automatic storage device allocation device
JP2001056775A (en) Computer system and program recording medium
JP3557439B2 (en) Computer operation data search method and apparatus therefor
JPH04115332A (en) File managing device
JPS63104154A (en) File shift system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees