JPH06202925A - Catalog file shifting device - Google Patents

Catalog file shifting device

Info

Publication number
JPH06202925A
JPH06202925A JP4360620A JP36062092A JPH06202925A JP H06202925 A JPH06202925 A JP H06202925A JP 4360620 A JP4360620 A JP 4360620A JP 36062092 A JP36062092 A JP 36062092A JP H06202925 A JPH06202925 A JP H06202925A
Authority
JP
Japan
Prior art keywords
file
migration
chain
name
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
JP4360620A
Other languages
Japanese (ja)
Inventor
Masanori Tsuda
正紀 津田
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 JP4360620A priority Critical patent/JPH06202925A/en
Publication of JPH06202925A publication Critical patent/JPH06202925A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To have a correct access to a file to be shifted based on the catalog information stored in a catalog file even right after the interruption of a shifting job. CONSTITUTION:A shifted side file creating means 32 creates a shifted side file having a name different from a shifting side file and other same attributes on a shifted side medium 23. A catalog information chain relinking means 35 relinks the chain of the catalog information. So that a chain is formed between an entry part 11 served as the entry part of the shifting side file and a volume part 22 having the name of the medium 23 together with a chain formed between an entry part 21 served as the entry part of the shifted side file and the name of a shifting side medium 13. Under such conditions, the proper control is carried out so that the chain is not cut between the entry part having the name of the file to be shifted and the volume part having the name of the medium which stores the data on the file to be shifted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ある媒体(外部記憶装
置に装填される媒体。磁気ディスク等)上に存在するカ
タログ化ファイルを他の媒体に移行するカタログ化ファ
イル移行装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cataloged file migration device for migrating a cataloged file existing on a medium (a medium loaded in an external storage device, such as a magnetic disk) to another medium.

【0002】[0002]

【従来の技術】計算機システムにおいては、複数の媒体
に格納されている複数のファイルの効率的な管理のため
に、カタログ管理が採用されることがある(カタログ管
理に関しては各種の技術が発表されている(例えば、特
開昭63−296150(カタログ管理方式)に係る特
許出願))。そして、媒体の増設等に起因して、このよ
うなカタログ管理の対象のファイルであるカタログ化フ
ァイルを媒体間で移行する必要が生じることがある。
2. Description of the Related Art In computer systems, catalog management may be adopted for efficient management of a plurality of files stored in a plurality of media (various technologies have been announced regarding catalog management. (For example, a patent application relating to JP-A-63-296150 (catalog management method)). Then, due to the addition of media and the like, it may be necessary to migrate a cataloged file, which is a file of such catalog management, between media.

【0003】従来、この種の移行作業を行うカタログ化
ファイル移行装置は、次のような処理を行っていた。な
お、以下の説明では、移行作業の対象となるカタログ化
ファイルを「移行対象ファイル」といい、移行元の媒体
を「移行元媒体」といい、移行先の媒体を「移行先媒
体」といい、移行元媒体内の移行対象ファイルを「移行
元ファイル」といい、移行先媒体内の移行対象ファイル
を「移行先ファイル」ということとする(移行元ファイ
ルおよび移行先ファイルがファイル名等に関して移行対
象ファイルと一致しない時点も存在する)。
Conventionally, a cataloged file migration device for performing this kind of migration work has performed the following processing. In the following description, the cataloged file that is the target of the migration work is called the "migration target file", the migration source medium is called the "migration source medium", and the migration destination medium is called the "migration destination medium". , The migration target file in the migration source medium is called the "migration source file", and the migration target file in the migration destination medium is called the "migration destination file" (the migration source file and the migration destination file are migrated in terms of file name etc. There are times when the target file does not match).

【0004】 移行元ファイルとファイル名以外の属
性(ファイル形式,ファイル容量,ブロック長およびレ
コード長等)が同一でありファイル名のみが異なる移行
先ファイルを移行先媒体上に作成し、その移行先ファイ
ルのカタログ情報(移行先ファイルのファイル名を記録
するエントリ部と移行先ファイルが存在する媒体の媒体
名を記録するボリューム部とからなる情報)をカタログ
ファイル内に作成する。
A migration destination file having the same attributes (file format, file capacity, block length, record length, etc.) other than the file name as the migration source file and different file names only is created on the migration destination medium, and the migration destination file is created. File catalog information (information consisting of an entry part for recording the file name of the migration destination file and a volume part for recording the medium name of the medium in which the migration destination file exists) is created in the catalog file.

【0005】 移行元ファイルから移行先ファイルに
データを複写する。
Data is copied from the migration source file to the migration destination file.

【0006】 におけるデータの複写後に、移行元
ファイルと移行元ファイルのカタログ情報とを削除す
る。
After copying the data in (1), the migration source file and the catalog information of the migration source file are deleted.

【0007】 最後に、移行先ファイルのファイルラ
ベルおよびカタログ情報の両方において、移行先ファイ
ルのファイル名を移行元ファイルのファイル名に変更す
る。
Finally, the file name of the migration destination file is changed to the file name of the migration source file in both the file label and the catalog information of the migration destination file.

【0008】[0008]

【発明が解決しようとする課題】上述した従来のカタロ
グ化ファイル移行装置では、移行元ファイルの削除後か
ら移行先ファイルのファイル名の変更までのフェーズに
おいて(上述の説明におけるの処理との処理との間
において)、当該カタログ化ファイル移行装置が適用さ
れる計算機システムのシステムダウン等によって移行作
業が中断した場合に、移行対象ファイルのファイル名を
有するエントリ部と移行対象ファイルのデータを格納す
る媒体の媒体名を有するボリューム部とのチェーンが一
時的に当該計算機システム上に存在しない状態が発生し
てしまうという欠点があった。すなわち、そのような状
態の発生により、移行対象ファイルをアクセスすること
ができなくなり、移行対象ファイルが当該計算機システ
ム上に存在しないとみなされたり、移行対象ファイルが
使用不能の状態になったりすることがあるという欠点が
あった。
In the conventional cataloged file migration device described above, in the phase from the deletion of the migration source file to the change of the file name of the migration destination file (the process of the process described above and the process of Medium), the entry part having the file name of the file to be migrated and the data of the file to be migrated when the migration work is interrupted due to a system down of the computer system to which the cataloged file migration device is applied. However, there is a drawback in that the chain with the volume part having the medium name is temporarily not present in the computer system. In other words, due to such a situation, the migration target file cannot be accessed, it is considered that the migration target file does not exist on the computer system, or the migration target file becomes unusable. There was a drawback that there is.

【0009】本発明の目的は、上述の点に鑑み、移行対
象ファイルの移行作業中のいかなるフェーズにおいて
も、移行対象ファイルのファイル名を有するエントリ部
と移行対象ファイルのデータを格納する媒体の媒体名を
有するボリューム部とのチェーンの存在を確保し、移行
作業中におけるシステムダウン等の障害に対する対策を
強化することができる(移行作業の中断の直後でもカタ
ログ情報によって移行対象ファイルに正しくアクセスす
ることを可能にする)カタログ化ファイル移行装置を提
供することにある。
In view of the above points, an object of the present invention is to provide a medium of a medium for storing the entry part having the file name of the migration target file and the data of the migration target file in any phase during the migration work of the migration target file. It is possible to secure the existence of a chain with the volume part that has the name, and to strengthen the countermeasures against failures such as system down during the migration work (It is necessary to correctly access the migration target file by the catalog information even immediately after the migration work is interrupted. It is possible to provide a cataloged file transfer device.

【0010】[0010]

【課題を解決するための手段】本発明のカタログ化ファ
イル移行装置は、移行元ファイルとファイル名以外の属
性が同一でありファイル名のみが異なる移行先ファイル
を移行先媒体上に作成し当該移行先ファイルのカタログ
情報を作成する移行先ファイル作成手段と、この移行先
ファイル作成手段により作成された移行先ファイルに移
行元ファイルからデータを複写するデータ複写手段と、
移行先ファイルのファイルラベル上のファイル名を移行
元ファイルのファイル名に変更するファイル名変更手段
と、移行元ファイルに対するエントリ部であったエント
リ部と移行先媒体の媒体名を有するボリューム部とのチ
ェーンおよび移行先ファイルに対するエントリ部であっ
たエントリ部と移行元媒体の媒体名を有するボリューム
部とのチェーンを形成するようにカタログ情報における
チェーンの繋ぎ換えを行いその際に移行対象ファイルの
ファイル名を有するエントリ部と移行対象ファイルのデ
ータを格納する媒体の媒体名を有するボリューム部との
チェーンの切断が生じないように制御するカタログ情報
チェーン繋ぎ換え手段と、このカタログ情報チェーン繋
ぎ換え手段によるチェーンの繋ぎ換えの後に移行元ファ
イルのカタログ情報を削除するカタログ情報削除手段
と、前記カタログ情報チェーン繋ぎ換え手段によるチェ
ーンの繋ぎ換えの後に移行元ファイルのファイルラベル
を削除するファイルラベル削除手段とを有する。
The cataloged file migration apparatus of the present invention creates a migration destination file on the migration destination medium that has the same attributes as the migration source file except for the file name and differs only in the file name. A migration destination file creating means for creating catalog information of the destination file, and a data copying means for copying data from the migration source file to the migration destination file created by the migration destination file creating means,
File name changing means for changing the file name on the file label of the migration destination file to the file name of the migration source file, and an entry section that was an entry section for the migration source file and a volume section having the medium name of the migration destination medium The file name of the file to be migrated at the time of linking the chains in the catalog information so as to form a chain of the entry part that was the entry part for the chain and the migration destination file and the volume part having the medium name of the migration source medium Catalog information chain reconnecting means for controlling so as not to break the chain between the entry part having the name and the volume part having the medium name of the medium storing the data of the transfer target file, and this catalog information chain reconnecting means After reconnecting the chain with the It has a catalog information deleting means for deleting, and a file label deleting means for deleting the file label of the source file after the reconnecting of the chain by the catalog information chain reconnecting means.

【0011】[0011]

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

【0012】図1は、本発明のカタログ化ファイル移行
装置の一実施例の構成等を示すブロック図である。
FIG. 1 is a block diagram showing the construction of an embodiment of the cataloged file migration device of the present invention.

【0013】本実施例のカタログ化ファイル移行装置
は、ファイル移行制御手段31と、移行先ファイル作成
手段32と、データ複写手段33と、ファイル名変更手
段34と、カタログ情報チェーン繋ぎ換え手段35と、
カタログ情報削除手段36と、ファイルラベル削除手段
37とを含んで構成されている。また、本実施例のカタ
ログ化ファイル移行装置は、カタログファイル10によ
ってカタログ情報(エントリ部11およびボリューム部
12ならびにエントリ部21およびボリューム部22)
が管理されている移行元媒体13内の移行元ファイルお
よび移行先媒体23内の移行先ファイルを移行対象ファ
イルとしている。
The cataloged file migration device of this embodiment comprises a file migration control means 31, a migration destination file creation means 32, a data copying means 33, a file name changing means 34, and a catalog information chain linking means 35. ,
The catalog information deleting means 36 and the file label deleting means 37 are included. Further, the cataloged file migration apparatus of the present embodiment uses the catalog file 10 to create catalog information (entry section 11 and volume section 12 and entry section 21 and volume section 22).
The migration source file in the migration source medium 13 and the migration destination file in the migration destination medium 23, which are managed by, are set as the migration target files.

【0014】図2および図3は、本実施例のカタログ化
ファイル移行装置の動作を説明するための図である。
2 and 3 are diagrams for explaining the operation of the cataloged file migration device of this embodiment.

【0015】図4(a)および(b)は、本実施例のカ
タログ化ファイル移行装置により実施される移行作業の
前後の環境(カタログファイル10と移行元媒体13お
よび移行先媒体23との状態)の具体例を示す図であ
る。
4 (a) and 4 (b) show the environment before and after the migration work performed by the cataloged file migration apparatus of this embodiment (states of the catalog file 10, the migration source medium 13 and the migration destination medium 23). ) Is a diagram showing a specific example of FIG.

【0016】図5(a)〜(c)は、カタログ情報チェ
ーン繋ぎ換え手段35の処理を詳細に説明するための図
である。
FIGS. 5A to 5C are diagrams for explaining the processing of the catalog information chain reconnecting means 35 in detail.

【0017】次に、このように構成された本実施例のカ
タログ化ファイル移行装置の動作について説明する。
Next, the operation of the cataloged file migration apparatus of this embodiment having the above-mentioned configuration will be described.

【0018】図4(a)に示すように、移行作業が行わ
れる前の移行対象ファイルである移行元ファイル(ファ
イル名は「F1」であるとする。この「F1」が移行対
象ファイルのファイル名である)は、移行元媒体13上
に存在する。移行元ファイルのカタログ情報は、移行元
ファイルのファイル名(F1)を記録しているエントリ
部11と、移行元ファイルが存在している媒体(移行元
媒体13)の媒体名を記録しているボリューム部12と
からなる。なお、エントリ部11は、ボリューム部12
のアドレスを示すポインタ値を持っている(このポイン
タ値の存在によってエントリ部11とボリューム部12
との間のチェーンが実現されている)。このカタログ情
報は、カタログファイル10内に記録されている。
As shown in FIG. 4A, a migration source file (a file name is "F1", which is a migration target file before the migration work is performed. This "F1" is a migration target file). Exists) on the migration source medium 13. The catalog information of the migration source file records the entry part 11 recording the file name (F1) of the migration source file and the medium name of the medium in which the migration source file exists (migration source medium 13). And a volume section 12. It should be noted that the entry section 11 has a volume section 12
Has a pointer value indicating the address of the entry section 11 and the volume section 12 depending on the presence of this pointer value.
A chain between and has been realized). This catalog information is recorded in the catalog file 10.

【0019】以下に、このような移行対象ファイルを移
行元媒体13から移行先媒体23に移行する場合(図4
(a)の状態を図4(b)の状態に変更する場合)を例
にあげて、本実施例のカタログ化ファイル移行装置の動
作を説明する。
In the following, such a migration target file is migrated from the migration source medium 13 to the migration destination medium 23 (see FIG. 4).
The operation of the cataloged file migration device of this embodiment will be described by taking the case of changing the state of (a) to the state of FIG. 4 (b) as an example.

【0020】第1に、移行先ファイル作成手段32およ
びデータ複写手段33の処理について説明する(図2参
照)。
First, the processing of the migration destination file creating means 32 and the data copying means 33 will be described (see FIG. 2).

【0021】本実施例のカタログ化ファイル移行装置の
統括的な制御を行うファイル移行制御手段31は、ま
ず、移行先ファイル作成手段32を呼び出す。
The file migration control means 31 for performing overall control of the cataloged file migration device of this embodiment first calls the migration destination file creation means 32.

【0022】移行先ファイル作成手段32は、次のよう
な処理を行う。
The migration destination file creating means 32 performs the following processing.

【0023】 移行元ファイルのファイルラベルとカ
タログ情報とを取得する。
The file label and catalog information of the migration source file are acquired.

【0024】 それらの情報に基づいて、移行元ファ
イルとファイル名以外の属性(ファイル形式,ファイル
容量,ブロック長およびレコード長等)が同一であり、
ファイル名のみが異なる移行先ファイル(ファイル名は
「F2」であるとする)を移行先媒体23上に作成す
る。
Based on these pieces of information, the attributes (file format, file capacity, block length, record length, etc.) other than the migration source file and the file name are the same,
A migration destination file having a different file name (the file name is assumed to be “F2”) is created on the migration destination medium 23.

【0025】 その移行先ファイルのカタログ情報と
して、エントリ部21(移行先ファイルのファイル名
(F2)を記録しており、ボリューム部22のアドレス
を示すポインタ値を持っているエントリ部)とボリュー
ム部22(移行先ファイルが存在している媒体(移行先
媒体23)の媒体名を記録しているボリューム部)とを
作成する。
As the catalog information of the migration destination file, an entry portion 21 (an entry portion that records the file name (F2) of the migration destination file and has a pointer value indicating the address of the volume portion 22) and a volume portion 22 (volume part in which the medium name of the medium in which the migration destination file exists (migration destination medium 23) is recorded).

【0026】次に、ファイル移行制御手段31は、デー
タ複写手段33を呼び出す。
Next, the file migration control means 31 calls the data copying means 33.

【0027】データ複写手段33は、移行元ファイルか
ら移行先ファイルにデータを複写する。
The data copying means 33 copies data from the migration source file to the migration destination file.

【0028】第2に、ファイル名変更手段34,カタロ
グ情報チェーン繋ぎ換え手段35,カタログ情報削除手
段36およびファイルラベル削除手段37の処理につい
て説明する(図3参照)。
Secondly, the processing of the file name changing means 34, the catalog information chain connecting means 35, the catalog information deleting means 36 and the file label deleting means 37 will be described (see FIG. 3).

【0029】ファイル移行制御手段31は、ファイル名
変更手段34を呼び出す。
The file migration control means 31 calls the file name changing means 34.

【0030】ファイル名変更手段34は、移行先媒体2
3上の移行先ファイルのファイルラベルにおけるファイ
ル名(それまでは「F2」であったファイル名)を移行
元ファイルのファイル名(移行対象ファイルのファイル
名である「F1」)に変更する。
The file name changing means 34 is the transfer destination medium 2
The file name in the file label of the migration destination file on 3 (file name that was “F2” until then) is changed to the file name of the migration source file (“F1” that is the file name of the migration target file).

【0031】続いて、ファイル移行制御手段31は、カ
タログ情報チェーン繋ぎ換え手段35を呼び出す。
Subsequently, the file migration control means 31 calls the catalog information chain connection changing means 35.

【0032】カタログ情報チェーン繋ぎ換え手段35
は、カタログファイル10内の移行元ファイルおよび移
行先ファイルのカタログ情報に関して、エントリ部11
とボリューム部12とのチェーンおよびエントリ部21
とボリューム部22とのチェーンを、エントリ部11と
ボリューム部22とのチェーンおよびエントリ部21と
ボリューム部12とのチェーンに繋ぎ換える。すなわ
ち、移行元ファイルに対するエントリ部であったエント
リ部11と移行先媒体23の媒体名を有するボリューム
部22とのチェーンおよび移行先ファイルに対するエン
トリ部であったエントリ部21と移行元媒体13の媒体
名を有するボリューム部12とのチェーンを形成するよ
うにカタログ情報におけるチェーンの繋ぎ換えを行う。
カタログ情報チェーン繋ぎ換え手段35は、その際に、
移行対象ファイルのファイル名(F1)を有するエント
リ部(ここでは、エントリ部11)と移行対象ファイル
のデータ(移行対象ファイルのファイル名を有するファ
イルラベルを含む)を格納する媒体(そのようなデータ
を有するファイルを格納する媒体。ここでは、移行元媒
体13および移行先媒体23)の媒体名を有するボリュ
ーム部(ここでは、ボリューム部12およびボリューム
部22)とのチェーンの切断が生じないように制御す
る。
Catalog information chain reconnection means 35
Is the entry part 11 regarding the catalog information of the migration source file and the migration destination file in the catalog file 10.
And the chain of the volume unit 12 and the entry unit 21
The chain of the volume unit 22 and the volume unit 22 is reconnected to the chain of the entry unit 11 and the volume unit 22 and the chain of the entry unit 21 and the volume unit 12. That is, the chain of the entry part 11 that was the entry part for the migration source file and the volume part 22 having the medium name of the migration destination medium 23, and the entry part 21 that was the entry part for the migration destination file and the medium of the migration source medium 13 The chains in the catalog information are reconnected so as to form a chain with the volume unit 12 having the name.
At this time, the catalog information chain connecting means 35
A medium storing such an entry part (here, the entry part 11) having the file name (F1) of the migration target file and data of the migration target file (including the file label having the file name of the migration target file) A medium for storing a file that has a file name of the migration source medium 13 and the migration destination medium 23 here, so that the chain with the volume parts having the medium names (here, the volume part 12 and the volume part 22) is not broken. Control.

【0033】さらに、ファイル移行制御手段31は、カ
タログ情報削除手段36を呼び出す。
Further, the file migration control means 31 calls the catalog information deletion means 36.

【0034】カタログ情報削除手段36は、上述のチェ
ーンの繋ぎ換えによって移行元ファイルのカタログ情報
となったエントリ部21およびボリューム部12(エン
トリ部21内のポインタ値によって指示されるボリュー
ム部)をチェーンで辿ることにより、この時点における
移行元ファイルのカタログ情報を削除する。
The catalog information deleting means 36 chains the entry part 21 and the volume part 12 (the volume part indicated by the pointer value in the entry part 21) which has become the catalog information of the migration source file by the above-mentioned chain reconnection. The catalog information of the migration source file at this point is deleted by tracing with.

【0035】最後に、ファイル移行制御手段31は、フ
ァイルラベル削除手段37を呼び出す。
Finally, the file migration control means 31 calls the file label deletion means 37.

【0036】ファイルラベル削除手段37は、移行元媒
体13上の移行元ファイルのファイルラベルを削除す
る。
The file label deleting means 37 deletes the file label of the transfer source file on the transfer source medium 13.

【0037】以上のような移行作業が終了した後には、
移行対象ファイルである移行先ファイルのカタログ情報
(エントリ部11およびボリューム部22)と移行先媒
体23上の移行先ファイルとの状態は、図4(b)に示
すようになる。
After the above migration work is completed,
The state of the catalog information (entry section 11 and volume section 22) of the migration destination file that is the migration target file and the migration destination file on the migration destination medium 23 is as shown in FIG. 4B.

【0038】次に、図5(a)〜(c)を参照して、カ
タログ情報チェーン繋ぎ換え手段35の処理(移行元フ
ァイルおよび移行先ファイルのカタログ情報におけるチ
ェーンの繋ぎ換えを行う処理)について詳細に説明す
る。
Next, with reference to FIGS. 5A to 5C, regarding the processing of the catalog information chain reconnecting means 35 (the processing of reconnecting the chains in the catalog information of the transfer source file and the transfer destination file) The details will be described.

【0039】カタログ情報チェーン繋ぎ換え手段35の
処理の過程で、カタログファイル10内のカタログ情報
の状態は図5(a)〜(c)に示すように変化する。以
下に、各状態について説明する。
During the process of the catalog information chain reconnecting means 35, the state of the catalog information in the catalog file 10 changes as shown in FIGS. Each state will be described below.

【0040】 状態1(図5(a)参照):カタログ
情報チェーン繋ぎ換え手段35による処理の開始前の状
態である。この状態においては、エントリ部11内のポ
インタ値はボリューム部12(移行元媒体13の媒体名
を有するボリューム部)のアドレスを示す値となってお
り、エントリ部21内のポインタ値はボリューム部22
(移行先媒体23の媒体名を有するボリューム部)のア
ドレスを示す値となっている。すなわち、エントリ部1
1(移行対象ファイルのファイル名である「F1」を有
するエントリ部)およびボリューム部12によって移行
元ファイルのカタログ情報が形成されており、エントリ
部21およびボリューム部22によって移行先ファイル
のカタログ情報が形成されている。
State 1 (see FIG. 5A): A state before the start of processing by the catalog information chain linking unit 35. In this state, the pointer value in the entry part 11 is a value indicating the address of the volume part 12 (the volume part having the medium name of the migration source medium 13), and the pointer value in the entry part 21 is the volume part 22.
It is a value indicating the address of (the volume part having the medium name of the migration destination medium 23). That is, the entry part 1
1 (entry portion having the file name “F1” of the migration target file) and the volume portion 12 form the catalog information of the migration source file, and the entry portion 21 and the volume portion 22 form the catalog information of the migration destination file. Has been formed.

【0041】 状態2(図5(b)参照):カタログ
情報チェーン繋ぎ換え手段35による処理の途中の状態
である。カタログ情報チェーン繋ぎ換え手段35は、エ
ントリ部11内のポインタ値をボリューム部22のアド
レスを示す値に変更する。これにより、エントリ部11
とボリューム部12との間のチェーンは切断され、新た
にエントリ部11とボリューム部22との間にチェーン
が形成されたことになる。
State 2 (see FIG. 5B): This is a state in the middle of processing by the catalog information chain reconnecting means 35. The catalog information chain reconnection means 35 changes the pointer value in the entry section 11 to a value indicating the address of the volume section 22. As a result, the entry unit 11
The chain between the volume section 12 and the volume section 12 is cut, and a new chain is formed between the entry section 11 and the volume section 22.

【0042】 状態3(図5(c)参照):カタログ
情報チェーン繋ぎ換え手段35による処理の終了後の状
態である。カタログ情報チェーン繋ぎ換え手段35は、
図5(b)における処理と同様に、エントリ部21内の
ポインタ値をボリューム部12のアドレスを示す値に変
更する。これにより、エントリ部21とボリューム部2
2との間のチェーンは切断され、新たにエントリ部21
とボリューム部12との間にチェーンが形成されたこと
になる。すなわち、エントリ部21およびボリューム部
12によって移行元ファイルのカタログ情報が形成さ
れ、エントリ部11(移行対象ファイルのファイル名で
ある「F1」を有するエントリ部)およびボリューム部
22によって移行先ファイルのカタログ情報が形成され
ることになる。
State 3 (see FIG. 5C): This is a state after the processing by the catalog information chain reconnecting means 35 is completed. The catalog information chain connecting means 35 is
Similar to the process in FIG. 5B, the pointer value in the entry part 21 is changed to a value indicating the address of the volume part 12. As a result, the entry unit 21 and the volume unit 2
The chain between 2 and 2 is cut, and the entry section 21 is newly added.
A chain is formed between the volume section 12 and the volume section 12. That is, the entry part 21 and the volume part 12 form the catalog information of the migration source file, and the entry part 11 (the entry part having the file name “F1” of the migration target file) and the volume part 22 catalog the migration destination file. Information will be formed.

【0043】以上のようなカタログ情報チェーン繋ぎ換
え手段35によるチェーンの繋ぎ換えにより、「移行対
象ファイルのファイル名(F1)を有するエントリ部と
移行対象ファイルのデータを格納する媒体の媒体名を有
するボリューム部とのチェーンの切断」を発生させるこ
となしに、チェーンの繋ぎ換えを行うことが可能にな
る。
By changing the chain by the catalog information chain changing means 35 as described above, "the entry part having the file name (F1) of the migration target file and the medium name of the medium for storing the data of the migration target file are provided. It is possible to connect the chains without causing "breaking of the chain with the volume part".

【0044】[0044]

【発明の効果】以上説明したように本発明は、移行対象
ファイルの移行作業中のいかなるフェーズにおいても移
行対象ファイルのファイル名を有するエントリ部と移行
対象ファイルのデータを格納する媒体の媒体名を有する
ボリューム部とのチェーンの存在を確保することによ
り、システムダウン等による移行作業の中断の直後でも
移行対象ファイルをカタログ経由で(カタログ情報によ
って)正しくアクセスすることが可能になり、移行作業
中の障害に対する対策を強化することができるという効
果がある。
As described above, according to the present invention, the entry part having the file name of the migration target file and the medium name of the medium storing the data of the migration target file are set at any phase during the migration work of the migration target file. By ensuring the existence of a chain with the volume section that it has, it becomes possible to correctly access the migration target file via the catalog (via the catalog information) even immediately after the migration work is interrupted due to a system down, etc. This has the effect of strengthening measures against disabilities.

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

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

【図2】図1中の移行先ファイル作成手段およびデータ
複写手段の処理を説明するための図である。
FIG. 2 is a diagram for explaining the processing of a migration destination file creating means and a data copying means in FIG.

【図3】図1中のファイル名変更手段,カタログ情報チ
ェーン繋ぎ換え手段,カタログ情報削除手段およびファ
イルラベル削除手段の処理を説明するための図である。
FIG. 3 is a diagram for explaining processing of a file name changing means, a catalog information chain connecting means, a catalog information deleting means, and a file label deleting means in FIG.

【図4】(a)は図1に示すカタログ化ファイル移行装
置により実施される移行作業前の環境の一例を示す図で
あり、(b)は図1に示すカタログ化ファイル移行装置
により実施される移行作業後の環境の一例を示す図であ
る。
4A is a diagram showing an example of an environment before the migration work carried out by the cataloged file migration device shown in FIG. 1, and FIG. 4B is carried out by the cataloged file migration device shown in FIG. It is a figure which shows an example of the environment after the transition work which is.

【図5】図1中のカタログ情報チェーン繋ぎ換え手段の
処理を詳細に説明するための図である。
FIG. 5 is a diagram for explaining in detail the processing of the catalog information chain reconnection means in FIG.

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

10 カタログファイル 11,21 エントリ部 12,22 ボリューム部 13 移行元媒体 23 移行先媒体 31 ファイル移行制御手段 32 移行先ファイル作成手段 33 データ複写手段 34 ファイル名変更手段 35 カタログ情報チェーン繋ぎ換え手段 36 カタログ情報削除手段 37 ファイルラベル削除手段 10 Catalog File 11, 21 Entry Section 12, 22 Volume Section 13 Migration Source Medium 23 Migration Destination Medium 31 File Migration Control Means 32 Migration Destination File Creating Means 33 Data Copying Means 34 File Name Changing Means 35 Catalog Information Chain Linking Means 36 Catalogs Information deleting means 37 File label deleting means

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 移行元ファイルとファイル名以外の属性
が同一でありファイル名のみが異なる移行先ファイルを
移行先媒体上に作成し、当該移行先ファイルのカタログ
情報を作成する移行先ファイル作成手段と、 この移行先ファイル作成手段により作成された移行先フ
ァイルに移行元ファイルからデータを複写するデータ複
写手段と、 移行先ファイルのファイルラベル上のファイル名を移行
元ファイルのファイル名に変更するファイル名変更手段
と、 移行元ファイルに対するエントリ部であったエントリ部
と移行先媒体の媒体名を有するボリューム部とのチェー
ンおよび移行先ファイルに対するエントリ部であったエ
ントリ部と移行元媒体の媒体名を有するボリューム部と
のチェーンを形成するようにカタログ情報におけるチェ
ーンの繋ぎ換えを行い、その際に移行対象ファイルのフ
ァイル名を有するエントリ部と移行対象ファイルのデー
タを格納する媒体の媒体名を有するボリューム部とのチ
ェーンの切断が生じないように制御するカタログ情報チ
ェーン繋ぎ換え手段と、 このカタログ情報チェーン繋ぎ換え手段によるチェーン
の繋ぎ換えの後に移行元ファイルのカタログ情報を削除
するカタログ情報削除手段と、 前記カタログ情報チェーン繋ぎ換え手段によるチェーン
の繋ぎ換えの後に移行元ファイルのファイルラベルを削
除するファイルラベル削除手段とを有することを特徴と
するカタログ化ファイル移行装置。
1. A migration destination file creating means for creating a migration destination file having the same attributes as the migration source file other than the file name and different only in the file name on the migration destination medium, and creating catalog information of the migration destination file. And a data copying means for copying data from the migration source file to the migration destination file created by this migration destination file creation means, and a file for changing the file name on the file label of the migration destination file to the file name of the migration source file The name changing means, the chain of the entry part that was the entry part for the migration source file and the volume part that has the medium name of the migration destination medium, and the entry part that was the entry part for the migration destination file and the medium name of the migration source medium Linking the chain in the catalog information so as to form a chain with the volume section that has The catalog information chain connection that controls so as not to break the chain between the entry part having the file name of the migration target file and the volume part having the medium name of the medium storing the data of the migration target file at that time. Switching means, catalog information deleting means for deleting the catalog information of the migration source file after the chain information is changed by the catalog information chain changing means, and the transfer source file is changed after the chain information is changed by the catalog information chain changing means. And a file label deleting unit that deletes the file label.
【請求項2】 移行元ファイルに対するエントリ部であ
ったエントリ部内のポインタ値を移行先ファイルに対す
るボリューム部のアドレスを示す値に変更し、その後に
移行先ファイルに対するエントリ部であったエントリ部
内のポインタ値を移行元ファイルに対するボリューム部
のアドレスを示す値に変更することによって、チェーン
の繋ぎ換えを実現する前記カタログ情報チェーン繋ぎ換
え手段を有することを特徴とする請求項1記載のカタロ
グ化ファイル移行装置。
2. The pointer value in the entry part which was the entry part for the migration source file is changed to a value indicating the address of the volume part for the migration destination file, and then the pointer in the entry part which was the entry part for the migration destination file. 2. The catalog file transfer device according to claim 1, further comprising the catalog information chain reconnecting means for reconnecting a chain by changing a value to a value indicating an address of a volume part for a transfer source file. .
JP4360620A 1992-12-28 1992-12-28 Catalog file shifting device Pending JPH06202925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4360620A JPH06202925A (en) 1992-12-28 1992-12-28 Catalog file shifting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4360620A JPH06202925A (en) 1992-12-28 1992-12-28 Catalog file shifting device

Publications (1)

Publication Number Publication Date
JPH06202925A true JPH06202925A (en) 1994-07-22

Family

ID=18470196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4360620A Pending JPH06202925A (en) 1992-12-28 1992-12-28 Catalog file shifting device

Country Status (1)

Country Link
JP (1) JPH06202925A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6128148A (en) * 1984-07-19 1986-02-07 Nec Corp Text data storage device
JPH0375845A (en) * 1989-08-18 1991-03-29 Nec Corp File rearrangement system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6128148A (en) * 1984-07-19 1986-02-07 Nec Corp Text data storage device
JPH0375845A (en) * 1989-08-18 1991-03-29 Nec Corp File rearrangement system

Similar Documents

Publication Publication Date Title
US5778389A (en) Method and system for synchronizing computer file directories
JP2000138692A (en) Mac address management system, mac address management method and storage medium
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
US7395283B1 (en) Method and apparatus for making independent data copies in a data processing system
JP4512386B2 (en) Backup system and method
JPH07141231A (en) Device and method for moving processing of virtual storage resource between disk devices
JPH11272426A (en) Data copying/restoring system and recording medium
JPH06202925A (en) Catalog file shifting device
JP2903831B2 (en) Execution environment reproduction method
US5630115A (en) Method of rewriting information on a record medium by rewriting only changed portions
JPH0218635A (en) Decentralized process file control system
JPH0713817A (en) File management system
JP2000207264A (en) Backup method and restoring method
JPH08320817A (en) File system managing method
JPH05313973A (en) Backup system for external memory device
JPH04367041A (en) File copy protection system
JPH0385650A (en) Disk volume restoration system
JPH03171242A (en) File backup method
JPS58223858A (en) Integrated backup restorage processing system
JPH08263349A (en) Data management system
JPS62137646A (en) Back-up file preparing system
JPH11120056A (en) Saving and restoring method for project data
JPH06231016A (en) File coupling/dividing method
JP2004005524A (en) Data recorder, data recording method, program for implementing the method and program recording medium
JPH0273436A (en) File control system