JPH05342074A - Information storage device - Google Patents

Information storage device

Info

Publication number
JPH05342074A
JPH05342074A JP4153804A JP15380492A JPH05342074A JP H05342074 A JPH05342074 A JP H05342074A JP 4153804 A JP4153804 A JP 4153804A JP 15380492 A JP15380492 A JP 15380492A JP H05342074 A JPH05342074 A JP H05342074A
Authority
JP
Japan
Prior art keywords
file
catalog
information
disk volume
file storage
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
JP4153804A
Other languages
Japanese (ja)
Inventor
Shigeru Hatakeyama
畠山繁
Nobuyuki Matsuura
信行 松浦
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.)
OKAYAMA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Okayama Ltd
Original Assignee
OKAYAMA NIPPON DENKI SOFTWARE KK
NEC Corp
NEC Software Okayama Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OKAYAMA NIPPON DENKI SOFTWARE KK, NEC Corp, NEC Software Okayama Ltd filed Critical OKAYAMA NIPPON DENKI SOFTWARE KK
Priority to JP4153804A priority Critical patent/JPH05342074A/en
Publication of JPH05342074A publication Critical patent/JPH05342074A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically perform the batch update of a catalog file by collating file storage information in a disk volume with file storage destination information in the catalog file. CONSTITUTION:When the file is moved from the other disk volume to a disk volume 1, a working means 4 extracts the file storage information of the disk volume 1 designated by a disk instructing means 3 as one record per file. Next, catalog information is extracted from a catalog file 2 with that file name as a key. When there is any relevant catalog information, the registered disk volume information is collated between these two kinds of information and when the information is not coincident, it is worked into a file updating instruction. When there is no relevant catalog information, it is worked into a catalog file registering instruction and written in a change instruction preservation file 5. A change instruction executing means 6 reads a catalog file changing instruction from the change instruction preservation file 5 and executes it.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ファイルをディスクボ
リューム毎に他ディスクボリュームへ移行したときのフ
ァイルカタログ一括変更手段に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to means for collectively changing a file catalog when a file is transferred to another disk volume for each disk volume.

【0002】[0002]

【従来の技術】従来例では、ファイルの他ディスクボリ
ュームへの移行直後に移行先情報を管理し、手作業で移
行したファイル毎にカタログファイル変更指示を作成し
ていた。
2. Description of the Related Art In the conventional example, the transfer destination information is managed immediately after the file is transferred to another disk volume, and a catalog file change instruction is created for each manually transferred file.

【0003】[0003]

【発明が解決しようとする課題】このような従来例で
は、カタログ情報を逐次更新するので、ディスクボリュ
ーム全体の他ディスクボリュームへの移行時に必要にな
るカタログファイル一括更新に際して、更新漏れが発生
したり、管理が煩雑になる欠点があった。
In such a conventional example, since the catalog information is updated one after another, an update omission may occur at the time of batch update of the catalog file which is necessary when the entire disk volume is transferred to another disk volume. However, there was a drawback that management became complicated.

【0004】本発明は、このような欠点を除去するもの
で、カタログファイルの一括更新が自動的に行える情報
蓄積装置を提供することを目的とする。
The present invention eliminates such drawbacks, and an object of the present invention is to provide an information storage device capable of automatically updating a batch of catalog files.

【0005】[0005]

【課題を解決するための手段】本発明は、ファイルを格
納しそのファイル格納情報をもつディスクボリュームの
複数個と、ひとつのディスクボリュームから他のディス
クボリュームへのファイルの移行時に更新されるファイ
ル格納先情報をもつカタログファイルとを備えた情報蓄
積装置において、指定されたディスクボリューム上のフ
ァイル格納情報を1ファイルにつき1レコードとして抽
出し、次にそのファイル名をキーにして上記カタログフ
ァイル上のファイル格納先情報を検索し、上記カタログ
ファイル上にファイル格納先情報が存在する場合には上
記ディスクボリューム上のファイル格納情報と上記カタ
ログファイル上のファイル格納先情報を照合し、この二
つの情報が一致しないときに上記ディスクボリュームか
ら抽出したファイル格納情報にコマンドを付加してカタ
ログ更新指示を生成し、一方、上記カタログファイル上
にファイル格納先情報が存在しない場合には上記ディス
クボリュームから抽出したファイル格納情報にコマンド
を付加してカタログファイル登録指示を生成する加工手
段と、この加工手段で生成されたカタログ更新指示およ
びカタログ登録指示とに基づいて上記カタログファイル
上のファイル格納先情報を更新する更新手段とを備えた
ことを特徴とする。
SUMMARY OF THE INVENTION The present invention is directed to a plurality of disk volumes that store files and have file storage information, and file storage that is updated when files are migrated from one disk volume to another disk volume. In an information storage device provided with a catalog file having prior information, the file storage information on the designated disk volume is extracted as one record for each file, and then the file on the above catalog file is used with that file name as a key. The storage location information is searched, and if there is file storage location information in the catalog file, the file storage information on the disk volume is compared with the file storage location information on the catalog file, and these two pieces of information match. The file extracted from the above disk volume when not A command is added to the stored information to generate a catalog update instruction. On the other hand, if there is no file storage destination information in the catalog file, a command is added to the file storage information extracted from the disk volume to register the catalog file. It is characterized by comprising a processing means for generating an instruction and an updating means for updating the file storage destination information on the catalog file based on the catalog update instruction and the catalog registration instruction generated by the processing means.

【0006】[0006]

【作用】ディスクボリューム内のファイル格納情報とカ
タログファイル内のファイル格納先情報とを照合して一
括更新および新規登録を行う。指示されたディスクボリ
ュームからファイル格納情報を、またカタログファイル
からファイル格納先情報を読み込み、カタログファイル
変更指示を生成する。このカタログファイル変更指示に
従ってカタログファイル2のファイル格納先情報を更新
する。
Operation: The file storage information in the disk volume and the file storage destination information in the catalog file are collated to collectively update and newly register. The file storage information is read from the instructed disk volume and the file storage destination information is read from the catalog file, and a catalog file change instruction is generated. The file storage destination information of the catalog file 2 is updated according to this catalog file change instruction.

【0007】[0007]

【実施例】以下、本発明の一実施例について図面を参照
して説明する。図1はこの実施例の構成図である。この
実施例は、各種ファイルを格納するディスクボリューム
1と、ファイル格納先情報を有するカタログファイル2
と、対象ディスクボリュームを指示するディスク指示手
段3と、ディスク指示手段3からの指示に基づきディス
クボリューム1からファイル格納情報をまたカタログフ
ァイル2からファイル格納先情報を読み込んでカタログ
ファイル変更指示に加工する加工手段4と、カタログフ
ァイル変更指示を保存する変更指示保存ファイル5およ
びカタログファイル変更指示に従ってカタログファイル
2を更新する変更指示実行手段6を含む更新手段10と
から構成される。すなわち、この実施例は、図1に示す
ように、ファイルを格納しそのファイル格納情報をもつ
ディスクボリューム1の複数個と、ひとつのディスクボ
リュームから他のディスクボリュームへのファイルの移
行時に更新されるファイル格納先情報をもつカタログフ
ァイル2とを備え、さらに、本発明の特徴とする手段と
して、ディスク指示手段3で指定されたディスクボリュ
ーム1上のファイル格納情報を1ファイルにつき1レコ
ードとして抽出し、次にそのファイル名をキーにしてカ
タログファイル2上のファイル格納先情報を検索し、カ
タログファイル2上にファイル格納先情報が存在する場
合にはディスクボリューム1上のファイル格納情報とカ
タログファイル2上のファイル格納先情報を照合し、こ
の二つの情報が一致しないときにディスクボリューム1
から抽出したファイル格納情報にコマンドを付加してカ
タログ更新指示を生成し、一方、カタログファイル2上
にファイル格納先情報が存在しない場合にはディスクボ
リューム1から抽出したファイル格納情報にコマンドを
付加してカタログファイル登録指示を生成する加工手段
4と、この加工手段4で生成されたカタログ更新指示お
よびカタログ登録指示とに基づいて上記カタログファイ
ル2上のファイル格納先情報を更新する更新手段10と
を備える。ここで、更新手段10は、カタログ更新指示
およびカタログ登録指示を格納する変更指示保存ファイ
ル5とこの変更指示保存ファイル5の内容を読み出して
カタログファイル2に書き込む変更指示実行手段6とを
含む。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of this embodiment. In this embodiment, a disk volume 1 for storing various files and a catalog file 2 having file storage destination information.
Then, the disk instructing means 3 for instructing the target disk volume, and the file storing information from the disk volume 1 and the file storing destination information from the catalog file 2 are read based on the instruction from the disk instructing means 3 and processed into a catalog file change instruction. The processing unit 4 and the update unit 10 include a change instruction storage file 5 for storing the catalog file change instruction and a change instruction executing unit 6 for updating the catalog file 2 according to the catalog file change instruction. That is, as shown in FIG. 1, this embodiment is updated when a plurality of disk volumes 1 storing files and having the file storage information and files are migrated from one disk volume to another disk volume. A catalog file 2 having file storage destination information is further provided. Further, as a feature of the present invention, the file storage information on the disk volume 1 designated by the disk designating means 3 is extracted as one record for each file, Next, using the file name as a key, the file storage destination information in the catalog file 2 is searched. If the file storage destination information exists in the catalog file 2, the file storage information in the disk volume 1 and the catalog file 2 are searched. The file storage destination information of is compared, and if these two information do not match, the Disk volume 1
A command is added to the file storage information extracted from to generate a catalog update instruction. On the other hand, if no file storage destination information exists in the catalog file 2, the command is added to the file storage information extracted from the disk volume 1. And a updating means 10 for updating the file storage destination information on the catalog file 2 based on the catalog update instruction and the catalog registration instruction generated by the processing means 4. Prepare Here, the update means 10 includes a change instruction storage file 5 for storing a catalog update instruction and a catalog registration instruction, and a change instruction execution means 6 for reading the contents of the change instruction storage file 5 and writing it in the catalog file 2.

【0008】次に、この実施例の更新動作を説明する。
他ディスクボリュームからディスクボリューム1へファ
イルを移行したときに、加工手段4に制御を移す。加工
手段4では、ディスク指示手段3で指定されたディスク
ボリューム1のファイル格納情報を1ファイルにつき1
レコードとして抽出し、次にそのファイル名をキーにし
てカタログファイル2からカタログ情報を抽出する。該
当するカタログ情報があった場合に、この二つの情報の
中にある登録ディスクボリューム情報を照らし合わせ、
一致しなければディスクボリューム1から抽出した情報
にコマンドを付加してカタログファイル更新指示になる
ように加工し、一致すれば何もしない。該当するカタロ
グ情報がない場合に、ディスクボリューム1から抽出し
た情報にコマンドを付加してカタログファイル登録指示
となるように加工する。そして加工結果である更新また
は新規登録指示を変更指示保存ファイル5に書き出す。
最後に、変更指示実行手段6は変更指示保存ファイル5
からカタログファイル変更指示を読み込み実行する。こ
れによりディスクボリューム1のファイル格納情報とカ
タログファイル2のファイル格納先情報との同期をとる
ことができる。
Next, the updating operation of this embodiment will be described.
When the file is transferred from another disk volume to the disk volume 1, the control is transferred to the processing means 4. In the processing means 4, the file storage information of the disk volume 1 designated by the disk designating means 3 is set to 1 for each file.
It is extracted as a record, and then the catalog information is extracted from the catalog file 2 using the file name as a key. If there is corresponding catalog information, check the registered disk volume information in these two information,
If they do not match, a command is added to the information extracted from the disk volume 1 and processed so as to give an instruction to update the catalog file. If they match, nothing is done. If there is no corresponding catalog information, a command is added to the information extracted from the disk volume 1 to process it so as to give a catalog file registration instruction. Then, the update or new registration instruction as the processing result is written in the change instruction saving file 5.
Finally, the change instruction execution means 6 uses the change instruction save file 5
Read the catalog file change instruction from and execute. Thereby, the file storage information of the disk volume 1 and the file storage destination information of the catalog file 2 can be synchronized.

【0009】[0009]

【発明の効果】本発明は、以上説明したように、ディス
クボリューム内のファイル格納情報とカタログファイル
のファイル格納先情報と照らし合わせた上でカタログフ
ァイルのファイル格納情報を一括して更新または新規登
録することができるので、カタログファイルのファイル
格納情報の変更漏れや登録漏れを減少させる効果があ
る。また、カタログファイルの更新を自動的に行うこと
ができるので、カタログファイルの管理の煩雑さを軽減
する効果もある。
As described above, according to the present invention, the file storage information of the catalog file is collectively updated or newly registered after checking the file storage information in the disk volume and the file storage destination information of the catalog file. Therefore, there is an effect of reducing omission of modification and omission of registration of the file storage information of the catalog file. Further, since the catalog file can be updated automatically, there is an effect that the complexity of managing the catalog file is reduced.

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

【図1】本発明実施例の構成を示すブロック構成図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

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

1 ディスクボリューム 2 カタログファイル 3 ディスク指示手段 4 加工手段 5 変更指示保存ファイル 6 変更指示実行手段 10 更新手段 1 Disk Volume 2 Catalog File 3 Disk Instruction Means 4 Processing Means 5 Change Instruction Save File 6 Change Instruction Execution Means 10 Update Means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ファイルを格納しそのファイル格納情報
をもつディスクボリュームの複数個と、ひとつのディス
クボリュームから他のディスクボリュームへのファイル
の移行時に更新されるファイル格納先情報をもつカタロ
グファイルとを備えた情報蓄積装置において、 指定されたディスクボリューム上のファイル格納情報を
1ファイルにつき1レコードとして抽出し、次にそのフ
ァイル名をキーにして上記カタログファイル上のファイ
ル格納先情報を検索し、上記カタログファイル上にファ
イル格納先情報が存在する場合には上記ディスクボリュ
ーム上のファイル格納情報と上記カタログファイル上の
ファイル格納先情報を照合し、この二つの情報が一致し
ないときに上記ディスクボリュームから抽出したファイ
ル格納情報にコマンドを付加してカタログ更新指示を生
成し、一方、上記カタログファイル上にファイル格納先
情報が存在しない場合には上記ディスクボリュームから
抽出したファイル格納情報にコマンドを付加してカタロ
グファイル登録指示を生成する加工手段と、 この加工手段で生成されたカタログ更新指示およびカタ
ログ登録指示とに基づいて上記カタログファイル上のフ
ァイル格納先情報を更新する更新手段とを備えたことを
特徴とする情報蓄積装置。
1. A plurality of disk volumes that store files and have the file storage information, and a catalog file that has file storage destination information that is updated when files are migrated from one disk volume to another disk volume. In the provided information storage device, the file storage information on the specified disk volume is extracted as one record for each file, and then the file storage destination information on the catalog file is searched using the file name as a key, and When the file storage destination information exists in the catalog file, the file storage information on the disk volume is collated with the file storage destination information on the catalog file, and when the two information do not match, it is extracted from the disk volume. Command to the stored file information To generate a catalog update instruction, and when the file storage destination information does not exist in the catalog file, adds a command to the file storage information extracted from the disk volume to generate a catalog file registration instruction. And an updating means for updating the file storage destination information on the catalog file based on the catalog update instruction and the catalog registration instruction generated by the processing means.
JP4153804A 1992-06-12 1992-06-12 Information storage device Pending JPH05342074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4153804A JPH05342074A (en) 1992-06-12 1992-06-12 Information storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4153804A JPH05342074A (en) 1992-06-12 1992-06-12 Information storage device

Publications (1)

Publication Number Publication Date
JPH05342074A true JPH05342074A (en) 1993-12-24

Family

ID=15570489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4153804A Pending JPH05342074A (en) 1992-06-12 1992-06-12 Information storage device

Country Status (1)

Country Link
JP (1) JPH05342074A (en)

Similar Documents

Publication Publication Date Title
JPH05342074A (en) Information storage device
JP4836545B2 (en) Screen creation device and program
JP3595925B2 (en) Editing support method using database and recording medium storing the program
JPS63288357A (en) Data editing system
JPS6398029A (en) Application system for automatic patch selection
JPH09218809A (en) File information confirmation device and method therefor
JPH0756779A (en) Electronic filing device
JPS63245723A (en) System command registering system
JPH03248223A (en) Slip printing system
JPS6319052A (en) High speed label accessing system
JPH0816448A (en) Data deleting method for data group
JPS61120238A (en) File access system
JPH03172929A (en) Automatic patch number picking system
JPH03226829A (en) Information processor
JPH04137035A (en) Software design structure storage device
JPH0823867B2 (en) Adjacency search method using aggregate files
JPH03278144A (en) Managing system for file in magnetic tape
JPH03138726A (en) Job control language analysis device
JPH0387960A (en) Display message deciding system
JP2000123017A (en) Method and device for outputting data and storage medium storing program therefor
JPH01204140A (en) Source program control system
JPS63150724A (en) Data access processing system
JPH04266121A (en) Program managing system
JPS6312044A (en) Data managing system for electronic computer system
JPH04123226A (en) Method for exchanging data