JPS63280328A - Control system for data having plural names - Google Patents

Control system for data having plural names

Info

Publication number
JPS63280328A
JPS63280328A JP62114584A JP11458487A JPS63280328A JP S63280328 A JPS63280328 A JP S63280328A JP 62114584 A JP62114584 A JP 62114584A JP 11458487 A JP11458487 A JP 11458487A JP S63280328 A JPS63280328 A JP S63280328A
Authority
JP
Japan
Prior art keywords
alias
directory entry
name
directory
aliases
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
JP62114584A
Other languages
Japanese (ja)
Other versions
JPH07104807B2 (en
Inventor
Hitoshi Kanedaki
金滝 仁志
Kazuo Imai
今居 和男
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP62114584A priority Critical patent/JPH07104807B2/en
Publication of JPS63280328A publication Critical patent/JPS63280328A/en
Publication of JPH07104807B2 publication Critical patent/JPH07104807B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To immediately obtain an alias without reading in the directory entry of the alias by providing each directory entry with an alias storage part and storing position information of a member and all aliases. CONSTITUTION:A data set consists of a member part and a directory part. When aliases A, B, and C are given to a member having a name T and this member is formed, the member is stored in a position m1 and directory entries are stored in positions d1, d2, d3 and d4. The name T position information m1 of the member, and aliases A, B, and C are stored in the directory entry of the member T. Respective aliases and position information m1 of the member are stored in entries of respective aliases. By this constitution, it is unnecessary to perform the input processing of each alias directory entry for the purpose of obtaining the alias.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、メンバ部とディレクトリ部とで構成されるデ
ータセットにおいて、該データセット内の一つのメンバ
に対して複数の名称が与えられているシステムにおける
データセットのコピーに好適なデータの格納方式に関す
るものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a data set consisting of a member section and a directory section, in which a plurality of names are given to one member in the data set. The present invention relates to a data storage method suitable for copying data sets in a system.

〔従来の技術〕[Conventional technology]

従来、メンバ部とディレクトリ部とで構成されるデータ
セットのメンバが別名を持った場合には、例えば次のよ
うな方式が用いられている。
Conventionally, when a member of a dataset consisting of a member section and a directory section has an alias, the following method has been used, for example.

(1)本名、別名の対応付は情報を持たない方式一つの
メンバに対して本名Tと別名A、B。
(1) Correspondence between real name and alias is a method that does not have information For one member, real name T and aliases A and B are used.

Cが存在する場合、第2図に示すようにTのディレクト
リエントリはTという名称とメンバの位置情報m1を持
っており、またA、B。
If C exists, the directory entry of T has the name T and member location information m1, as shown in FIG. 2, and A, B.

Cのディレクトリも夫々A、B、Cという名称とメンバ
の位置情報rn 1を持っている。ただしこれらのディ
レクトリエントリは、各ディレクトリエントリ間の対応
関係に関する情報を持っていない。従って、本名と別名
の対応関係は、各ディレクトリエントリが持ったメンバ
の位置情報が等しいか否かでだけ知ることができる。
Directory C also has names A, B, and C, respectively, and member location information rn1. However, these directory entries do not have information regarding the correspondence between each directory entry. Therefore, the correspondence between a real name and an alias can be known only by whether the member position information held by each directory entry is the same.

(2)本名、別名の位置情報チェインによる対応付は方
式 一つのメンバに対して本名Tと別名A、B。
(2) The mapping of real names and aliases using a location information chain is a method for one member: real name T and aliases A and B.

Cが存在する場合、第3図に示すようにTのディレクト
リエントリだけメンバの位置情報m1を持っており、ま
た三つある別名のディレクトリエントリのうちAのディ
レクトリエントリの位置情報d2だけ持っている。A。
If C exists, as shown in Figure 3, only T's directory entry has member location information m1, and among the three alias directory entries, only A's directory entry has location information d2. . A.

B、CのディレクトリエントリはTのディレ゛ クトリ
エントリの位置情報d1及び他の別名のディレクトリエ
ントリの位置情報を持ち、A、B、Cの順に位置情報に
よる連鎖状態にある。従って、本名と別名の対応関係は
、本名のディレクトリエントリから別名のディレクトリ
エントリのチェインをたどっていくことにより知ること
ができる。
Directory entries B and C have location information d1 of directory entry T and location information of directory entries with other aliases, and A, B, and C are in a chained state based on the location information in that order. Therefore, the correspondence between a real name and an alias can be known by tracing the chain from the directory entry of the real name to the directory entry of the alias.

公知の文献には「プログラムプロダクト■O83/ES
管理解説」マニュアル60.12 (株)日立製作所発
行がある。
In the known literature, “Program product ■O83/ES
"Management Explanation" Manual 60.12 Published by Hitachi, Ltd.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の二つの方式には次のような問題がある。 The two conventional methods have the following problems.

(1)本名、別名の対応付は情報を持たない方式別名を
持つメンバを移動、参照する場合は。
(1) The correspondence between real name and alias does not have any information. When moving or referencing a member with an alias.

該メンバの本名と全別名の対応を知る必要がある。移動
、参照時、外部から本名が与えられると、本名と別名の
対応付は情報がないので、別名を求めるためにデータセ
ット内の全メンバに対応するディレクトリエントリを読
み込み、各ディレクトリエントリ内のメンバ位置情報が
本名と同じ場合は該メンバの別名と判断する処理を行う
。このため性能上、処理上の負荷が非常に大きい。
It is necessary to know the correspondence between the member's real name and all aliases. When moving or referencing, when a real name is given from outside, there is no information about the correspondence between the real name and the alias, so in order to find the alias, the directory entries corresponding to all members in the dataset are read, and the members in each directory entry are If the location information is the same as the real name, processing is performed to determine that it is an alias of the member. Therefore, the load on performance and processing is extremely large.

(2)本名、別名の位置情報チェインによる対応付は方
式 (1)と同様に別名を持つメンバを移動、参照する場合
、該メンバの本名と別名のディレクトリエントリのチェ
インをたどる処理により別名を求める。この処理では、
該メンバの名称の数に等しいだけディレクトリエントリ
の読み込み回数が必要となる。この方式は、(1)より
改善されているが、別名の数が多い場合、性能が低下す
る。(1)(2)共に性能上問題があり、この性能を向
上させることが本発明の目的である。
(2) Associating real names and aliases using a location information chain is the same as method (1). When moving or referencing a member with an alias, the alias is obtained by tracing the chain of directory entries for the member's real name and alias. . In this process,
The number of times the directory entry is read is required to be equal to the number of names of the member. Although this method is improved over (1), performance deteriorates when the number of aliases is large. Both (1) and (2) have performance problems, and it is an object of the present invention to improve this performance.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は1本名のディレクトリエントリに別名格納部
を設けることにより、達成される。
The above object is achieved by providing an alias storage section for a directory entry of one real name.

〔作用〕[Effect]

本名のディレクトリエントリに設けた別名格納部は、当
該メンバの全別名を格納する。それによって、本名のデ
ィレクトリエントリを読み込んだだけで当該メンバの全
ての別名が求められるので。
The alias storage section provided in the directory entry for the real name stores all aliases of the member. This allows you to find all aliases for a member just by reading the directory entry for the real name.

別名のディレクトリエン1〜りを読み込む必要がなくな
る。
There is no need to read the alias directory entries.

〔実施例〕〔Example〕

本発明の一実施例を第1図、第4図及び第5図により説
明する。
An embodiment of the present invention will be described with reference to FIGS. 1, 4, and 5.

第1図は、本実施例におけるメンバ部とディレクトリ部
とで構成されるデータセットを示している。このデータ
セットにTという名称を持っメンバがA、B、Cという
別名を与えられて作成されると、該メンバはメンバ部の
nl、該メンバのT。
FIG. 1 shows a data set composed of a member section and a directory section in this embodiment. When a member with the name T is created in this data set and given aliases A, B, and C, the member is nl in the member section and T in the member section.

A、B、Cのディレクトリエントリはディレクトり部の
di、d2.d3.d4に格納される。Tのディレクト
リエントリには、Tという名称、メンバの位置情報m1
及びA、B、Cという名称が格納され、各別名のディレ
クトリエントリには、夫々の名称とメンバの位置情報m
1が格納される。
The directory entries for A, B, and C are di, d2. d3. It is stored in d4. The directory entry for T includes the name T and member location information m1.
and the names A, B, and C are stored, and the directory entry for each alias contains the respective name and member location information m.
1 is stored.

第4図及び第5図は第1図のデータセットをコピーして
もう一つのデータセットを作る処理を説明するためのも
のである。詳しくは、第4図は、第1図で示すようなデ
ータセットのメンバを他の同様なデータセットに別名付
きでコピーする処理のフローチャートであり、第5図は
、その際コピー元データセットをデータセット1.コピ
ー先データセットをデータセット2として場合の構成図
である。
FIGS. 4 and 5 are for explaining the process of copying the data set shown in FIG. 1 to create another data set. In detail, FIG. 4 is a flowchart of the process of copying the members of a dataset as shown in FIG. 1 to another similar dataset with a different name, and FIG. Dataset 1. FIG. 3 is a configuration diagram when the copy destination data set is data set 2;

データセットの本名Tを指示したコピー指令があると第
4図の処理が開始される。まず、データセット1のディ
レクトリ部の該メンバの本名ディレクトリエントリを処
理装置内の主記憶上に入力する(、)。次に入力された
本名ディレクトリエンI〜り内にあるメンバの位置情報
によって、データセット1のメンバ部から該メンバが主
記憶上に入力する(b)。そして、データセット2のメ
ンバ部へ該メンバを出力する(c)。次に(a)で主記
憶上に入力された本名ディレクトリエントリのメンバの
位置情報をデータセット2のメンバ部の該メンバの位置
情報に更新し、データセット2のディレクトリ部へ本名
ディレクトリエントリを出力する(d)。さらに(e)
(a)で入力された本名ディレクトリエントリの別名を
もとに、主記憶上に、一つの別名及びデータセット2上
の該メンバの位置情報を格納した別名ディレクトリエン
トリを、一つの別名に付き一つ作成し、データセット2
のディレクトリ部へ夫々出力する(e)。
When there is a copy command specifying the real name T of the data set, the process shown in FIG. 4 is started. First, the real name directory entry of the member in the directory section of data set 1 is input into the main memory of the processing device (,). Next, based on the input location information of the member in the real name directory entry I, the member is input into the main memory from the member section of data set 1 (b). Then, the member is output to the member section of data set 2 (c). Next, in (a), update the location information of the member of the real name directory entry input into the main memory to the location information of the member in the member section of dataset 2, and output the real name directory entry to the directory section of dataset 2. (d). Furthermore (e)
Based on the alias of the real name directory entry entered in (a), an alias directory entry containing one alias and the location information of the member on dataset 2 is created in the main memory, one alias for each alias. Create one and dataset 2
(e).

これにより、(b)と(c)の間にあった別名を求める
ための各別名ディレクトリエントリの入力処理がなくコ
ピーができる。
As a result, copying can be performed without input processing of each alias directory entry to obtain the alias between (b) and (c).

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

本発明によれば、本名のディレクトリエントリを一回読
み込むだけで当該メンバの位置情報及び全ての別名がわ
かるので、従来の方式に比べ飛躍的に性能向上できる。
According to the present invention, the location information and all aliases of the member can be known by just reading the directory entry of the real name once, so the performance can be dramatically improved compared to the conventional method.

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

第1図は、本発明の一実施例を示す概略図、第2図は、
従来方式の本名、別名の対応付は情報なし方式の模式図
、第3図は、従来方式の本名、別名の位置情報チェイン
による対応付は方式の模式図、第4図は本発明を適用し
たデータセットのコピーのフローチャート、第5図は本
発明を適用したデータセットのコピーの構成図である。 dよ〜d4・・・ディレクトリエントリ T・・・メン
バの本名 A、B、C・・・メンバの別名 m工・・・
メンバ第 2 ロ 躬 3の 第 4固
FIG. 1 is a schematic diagram showing an embodiment of the present invention, and FIG. 2 is a schematic diagram showing an embodiment of the present invention.
The conventional method of mapping real names and aliases is a schematic diagram of the information-free method. Figure 3 is a schematic diagram of the conventional method of mapping real names and aliases using a location information chain. Figure 4 is a diagram of the method to which the present invention is applied. Flow chart of data set copying FIG. 5 is a configuration diagram of data set copying to which the present invention is applied. dyo~d4...Directory entry T...Member's real name A, B, C...Member's alias m-work...
Member No. 2, No. 3, No. 4,

Claims (1)

【特許請求の範囲】[Claims] 互いに独立した複数のデータ群(以下メンバとする)を
格納するメンバ部とメンバ夫々の名称及び格納位置に関
する情報(以下ディレクトリエントリとする)を格納す
るディレクトリ部とで構成されかつ、前記メンバは複数
の名称をもち、各名称毎に名称及び該メンバの格納位置
情報をもつディレクトリエントリが設けられている、デ
ータセットを有するデータ処理システムにおいて、ある
代表的名称のディレクトリエントリ中に他の名称を記憶
せしめ、該代表的名称のディレクトリエントリ中の他の
名称をもとに、他の名称のディレクトリエントリを検索
し読み出すことを特徴とする複数の名称を持つデータの
制御方式。
It is composed of a member section that stores a plurality of mutually independent data groups (hereinafter referred to as members) and a directory section that stores information regarding the name and storage location of each member (hereinafter referred to as a directory entry), and the said members are multiple. In a data processing system having a data set, in which each name has a directory entry with the name and storage location information of the member, other names are stored in the directory entry of one representative name. 1. A control method for data having a plurality of names, characterized in that a directory entry with another name is searched and read based on the other name in the directory entry with the representative name.
JP62114584A 1987-05-13 1987-05-13 Control method for data with multiple names Expired - Lifetime JPH07104807B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62114584A JPH07104807B2 (en) 1987-05-13 1987-05-13 Control method for data with multiple names

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62114584A JPH07104807B2 (en) 1987-05-13 1987-05-13 Control method for data with multiple names

Publications (2)

Publication Number Publication Date
JPS63280328A true JPS63280328A (en) 1988-11-17
JPH07104807B2 JPH07104807B2 (en) 1995-11-13

Family

ID=14641507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62114584A Expired - Lifetime JPH07104807B2 (en) 1987-05-13 1987-05-13 Control method for data with multiple names

Country Status (1)

Country Link
JP (1) JPH07104807B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995013584A1 (en) * 1993-11-09 1995-05-18 Gmd - Forschungszentrum Informationstechnik Gmbh Virtual indexing cache memory

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60129852A (en) * 1983-12-16 1985-07-11 Matsushita Electric Ind Co Ltd File managing method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60129852A (en) * 1983-12-16 1985-07-11 Matsushita Electric Ind Co Ltd File managing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995013584A1 (en) * 1993-11-09 1995-05-18 Gmd - Forschungszentrum Informationstechnik Gmbh Virtual indexing cache memory

Also Published As

Publication number Publication date
JPH07104807B2 (en) 1995-11-13

Similar Documents

Publication Publication Date Title
US5379407A (en) Error handling in a state-free system
US5519860A (en) Central processor index sort followed by direct record sort and write by an intelligent control unit
JPS63273961A (en) Management system for plural versions
JPS63280328A (en) Control system for data having plural names
JPS62287350A (en) Index integrally updating system
JP2507399B2 (en) Database equipment
JPH08320817A (en) File system managing method
JP2575936B2 (en) Content search device
JPH0283639A (en) File generation control method
JPH08101843A (en) Information retrieval device
JPS61279927A (en) Parts list control system
JPH0736755A (en) Input/output method for index file
JPH0367344A (en) File control processing system
JPS63253431A (en) Retrieving system for data base of inverted structure
JPH01112431A (en) Method for constituting hierarchical knowledge system
JPH01204140A (en) Source program control system
JPS6143357A (en) Data direct access method
JPH03157729A (en) Multiple succession control system
JPH0512079A (en) Media group name file assigning system
JPH02190949A (en) Relation control system using hierarchical structure
JPH11242678A (en) Data access method and medium recording program
JPH03168868A (en) Index word control device
JPS63136227A (en) System for retrieving program storing file
JPH0333978A (en) Retrieving device for filing system
JPH08194685A (en) Node information retrieving device for finite element method