JPH07104807B2 - Control method for data with multiple names - Google Patents
Control method for data with multiple namesInfo
- Publication number
- JPH07104807B2 JPH07104807B2 JP62114584A JP11458487A JPH07104807B2 JP H07104807 B2 JPH07104807 B2 JP H07104807B2 JP 62114584 A JP62114584 A JP 62114584A JP 11458487 A JP11458487 A JP 11458487A JP H07104807 B2 JPH07104807 B2 JP H07104807B2
- Authority
- JP
- Japan
- Prior art keywords
- directory entry
- alias
- data set
- name
- real 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.)
- Expired - Lifetime
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、メンバ部とディレクトリ部とで構成されるデ
ータセットにおいて、該データセット内の一つのメンバ
に対して複数の名称が与えられているシステムにおける
データセットのコピーに好適なデータの格納方式に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] In the present invention, in a data set composed of a member section and a directory section, 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 a data set in an existing system.
従来、メンバ部とディレクトリ部とで構成されるデータ
セットのメンバが別名を持った場合には、例えば次のよ
うな方式が用いられている。Conventionally, when a member of a data set composed of a member section and a directory section has an alias, the following method is used, for example.
(1)本名、別名の対応付け情報を持たない方式一つの
メンバに対して本名Tと別名A,B,Cが存在する場合、第
2図に示すようにTのディレクトリエントリはTという
名称とメンバの位置情報m1を持っており、またA,B,Cの
ディレクトリも夫々A,B,Cという名称とメンバの位置情
報m1を持っている。ただしこれらのディレクトリエント
リは、各ディレクトリエントリ間の対応関係に関する情
報を持っていない。従って、本名と別名の対応関係は、
各ディレクトリエントリが持ったメンバの位置情報が等
しいか否かでだけ知ることができる。(1) Method without correspondence information between real name and alias If a real name T and aliases A, B, and C exist for one member, the directory entry of T is named T as shown in FIG. It has the member position information m1, and the directories A, B, and C also have the names A, B, and C and the member position information m1. However, these directory entries do not have information about the correspondence between the directory entries. Therefore, the correspondence between real name and alias is
It can be known only by whether or not the position information of the members held by each directory entry is the same.
(2)本名、別名の位置情報チェインによる対応付け方
式 一つのメンバに対して本名Tと別名A,B,Cが存在する場
合、第3図に示すようにTのディレクトリエントリだけ
メンバの位置情報m1を持っており、また三つある別名の
ディレクトリエントリのうちAのディレクトリエントリ
の位置情報d2だけ持っている。A,B,Cのディレクトリエ
ントリはTのディレクトリエントリの位置情報d1及び他
の別名のディレクトリエントリの位置情報を持ち、A,B,
Cの順に位置情報による連鎖状態にある。従って、本名
と別名の対応関係は、本名のディレクトリエントリから
別名のディレクトリエントリのチェインをたどっていく
ことにより知ることができる。(2) Correspondence method using the real name / alias position information chain When the real name T and the aliases A, B, and C exist for one member, only the directory entry of T as shown in FIG. It has m1 and has only the position information d2 of the directory entry of A among the directory entries of the three aliases. The directory entries A, B, and C have the location information d1 of the directory entry of T and the location information of the directory entries of other aliases.
They are in a chained state by position information in the order of C. Therefore, the correspondence between the real name and the alias can be known by tracing the chain of the directory entry of the alias from the directory entry of the real name.
公知の文献には「プログラムプロダクトVOS3/ES管理解
説」マニュアル60.12(株)日立製作所発行がある。The publicly known document is "Program Product VOS3 / ES Management Explanation" Manual 60.12 published by Hitachi, Ltd.
従来の二つの方式には次のような問題がある。 The two conventional methods have the following problems.
(1)本名、別名の対応付け情報を持たない方式別名を
持つメンバを移動、参照する場合は、該メンバの本名と
全別名の対応を知る必要がある。移動、参照時、外部か
ら本名が与えられると、本名と別名の対応付け情報がな
いので、別名を求めるためデータセット内の全メンバに
対応するディレクトリエントリを読み込み、各ディレク
トリエントリ内のメンバ位置情報が本名と同じ場合は該
メンバの別名と判断する処理を行う。このため性能上、
処理上の負荷が非常に大きい。(1) When a member having a system alias that does not have real name / alias correspondence information is moved or referred to, it is necessary to know the correspondence between the real name of the member and all aliases. When a real name is given from the outside when moving or referencing, since there is no correspondence information between the real name and the alias, the directory entry corresponding to all the members in the dataset is read to find the alias, and the member position information in each directory entry is read. If is the same as the real name, it is determined to be an alias of the member. Therefore, in terms of performance,
The processing load is very large.
(2)本名、別名の位置情報チェインによる対応付け方
式 (1)と同様に別名を持つメンバを移動、参照する場
合、該メンバの本名と別名のディレクトリエントリのチ
ェインをたどる処理により別名を求める。この処理で
は、該メンバの名称の数に等しいだけディレクトリエン
トリの読み込み回数が必要となる。この方式は、(1)
より改善されているが、別名の数が多い場合、性能が低
下する。(1)(2)共に性能上問題があり、この性能
を向上させることが本発明の目的である。(2) Correspondence method by location information chain of real name and alias When moving or referring to a member having an alias as in (1), the alias is obtained by processing the chain of the real name of the member and the directory entry of the alias. In this process, the number of times the directory entry is read is equal to the number of member names. This method is (1)
Better, but with a large number of aliases, performance is degraded. Both (1) and (2) have performance problems, and it is an object of the present invention to improve this performance.
上記目的は、本名のディレクトリエントリに別名格納部
を設けることにより、達成される。The above object is achieved by providing an alias storage unit in the directory entry of the real name.
本名のディレクトリエントリに設けた別名格納部は、当
該メンバの全別名を格納する。それによって、本名のデ
ィレクトリエントリを読み込んだだけで当該メンバの全
ての別名が求められるので、別名のディレクトリエント
リを読み込む必要がなくなる。The alias storage unit provided in the directory entry of the real name stores all aliases of the member. As a result, all the aliases of the relevant member are obtained just by reading the directory entry of the real name, so there is no need to read the directory entry of the alias.
〔実施例〕 本発明の一実施例を第1図、第4図及び第5図により説
明する。[Embodiment] An embodiment of the present invention will be described with reference to FIGS. 1, 4, and 5.
第1図は、本実施例におけるメンバ部とディレクトリ部
とで構成されるデータセットを示している。このデータ
セットにTという名称を持つメンバがA,B,Cという別名
を与えられて作成されると、該メンバはメンバ部のn1、
該メンバのT,A,B,Cのディレクトリエントリはディレク
トリ部のd1,d2,d3,d4に格納される。Tのディレクトリ
エントリには、Tという名称、メンバの位置情報m1及び
A,B,Cという名称が格納され、各別名のディレクトリエ
ントリには、夫々の名称とメンバの位置情報m1が格納さ
れる。FIG. 1 shows a data set composed of a member section and a directory section in this embodiment. When a member having the name T is created in this data set with aliases A, B, and C, the member is n1 of the member section,
The T, A, B and C directory entries of the member are stored in d1, d2, d3 and d4 of the directory section. The directory entry of T has a name of T, member position information m1 and
The names A, B, and C are stored, and the directory entry of each alias stores the name and member position information m1.
第4図及び第5図は第1図のデータセットをコピーして
もう一つのデータセットを作る処理を説明するためのも
のである。詳しくは、第4図は、第1図で示すようなデ
ータセットのメンバを他の同様なデータセットに別名付
きでコピーする処理のフローチャートであり、第5図
は、その際コピー元データセットをデータセット1、コ
ピー先データセットをデータセット2として場合の構成
図である。FIG. 4 and FIG. 5 are for explaining the process of copying the data set of FIG. 1 to make another data set. Specifically, FIG. 4 is a flowchart of a process for copying a member of a data set as shown in FIG. 1 to another similar data set with an alias, and FIG. 5 shows a copy source data set at that time. It is a block diagram in case data set 1 and copy destination data set are data set 2.
データセットの本名Tを指示したコピー指令があると第
4図の処理が開始される。まず、データセット1のディ
レクトリ部の該メンバの本名ディレクトリエントリを処
理装置内の主記憶上に入力する(a)。次に入力された
本名ディレクトリエントリ内にあるメンバの位置情報に
よって、データセット1のメンバ部から該メンバが主記
憶上に入力する(b)。そして、データセット2のメン
バ部へ該メンバを出力する(c)。次に(a)で主記憶
上に入力された本名ディレクトリエントリのメンバの位
置情報をデータセット2のメンバ部の該メンバの位置情
報に更新し、データセット2のディレクトリ部へ本名デ
ィレクトリエントリを出力する(d)。さらに(e)
(a)で入力された本名ディレクトリエントリの別名を
もとに、主記憶上に、一つの別名及びデータセット2上
の該メンバの位置情報を格納した別名ディレクトリエン
トリを、一つの別名に付き一つ作成し、データセット2
のディレクトリ部へ夫々出力する(e)。これにより、
(b)と(c)の間にあった別名を求めるための各別名
ディレクトリエントリの入力処理がなくコピーができ
る。When there is a copy command designating the real name T of the data set, the process of FIG. 4 is started. First, the real name directory entry of the member of the directory portion of the data set 1 is input to the main memory in the processing device (a). Next, according to the position information of the member in the input real name directory entry, the member is input to the main memory from the member section of the data set 1 (b). Then, the member is output to the member section of the data set 2 (c). Next, in (a), the positional information of the member of the real name directory entry input in the main memory is updated to the positional information of the member of the member part of the data set 2, and the real name directory entry is output to the directory part of the data set 2. (D). Furthermore (e)
Based on the alias of the real name directory entry input in (a), one alias and an alias directory entry storing the position information of the member on the data set 2 are stored in the main memory for each alias. Create two and data set 2
(E). This allows
Copying is possible without the input processing of each alias directory entry for obtaining an alias between (b) and (c).
本発明によれば、本名のディレクトリエントリを一回読
み込むだけで当該メンバの位置情報及び全ての別名がわ
かるので、従来の方式に比べ飛躍的に性能向上できる。According to the present invention, since the position information of the member and all aliases can be known by reading the directory entry of the real name only once, the performance can be dramatically improved as compared with the conventional method.
第1図は、本発明の一実施例を示す概略図、第2図は、
従来方式の本名、別名の対応付け情報なし方式の模式
図、第3図は、従来方式の本名、別名の位置情報チェイ
ンによる対応付け方式の模式図、第4図は本発明を適用
したデータセットのコピーのフローチャート、第5図は
本発明を適用したデータセットのコピーの構成図であ
る。 d1〜d4……ディレクトリエントリ、T……メンバの本
名、A,B,C……メンバの別名、m1……メンバFIG. 1 is a schematic view showing an embodiment of the present invention, and FIG.
Fig. 3 is a schematic diagram of a conventional system without real name / alias correspondence information. Fig. 3 is a schematic diagram of a conventional system real name / aliasing position information chain correspondence system. Fig. 4 is a data set to which the present invention is applied. FIG. 5 is a flow chart of copying, and FIG. 5 is a configuration diagram of copying of a data set to which the present invention is applied. d 1 to d 4 …… Directory entry, T …… Member's real name, A, B, C …… Member alias, m 1 …… Member
Claims (1)
バとする)を格納するメンバ部とメンバ夫々の名称及び
格納位置に関する情報(以下ディレクトリエントリとす
る)を格納するディレクトリ部とで構成されかつ、前記
メンバは複数の名称をもち、各名称毎に名称及び該メン
バの格納位置情報をもつディレクトリエントリが設けら
れている、データセットを有するデータ処理システムに
おいて、ある代表的名称のディレクトリエントリ中に他
の名称を記憶せしめ、該代表的名称のディレクトリエン
トリ中の他の名称をもとに、他の名称のディレクトリエ
ントリを検索し読み出すことを特徴とする複数の名称を
持つデータの制御方式。1. A member section for storing a plurality of independent data groups (hereinafter referred to as members) and a directory section for storing information (hereinafter referred to as a directory entry) regarding the name and storage position of each member. In the data processing system having a data set, the member has a plurality of names, and a directory entry having a name and the storage location information of the member is provided for each name. A method of controlling data having a plurality of names, characterized in that another name is stored and a directory entry having another name is searched for and read based on the other name in the directory entry having the representative name.
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 JPS63280328A (en) | 1988-11-17 |
| JPH07104807B2 true 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) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5813046A (en) * | 1993-11-09 | 1998-09-22 | GMD--Forschungszentrum Informationstechnik GmbH | Virtually indexable cache memory supporting synonyms |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60129852A (en) * | 1983-12-16 | 1985-07-11 | Matsushita Electric Ind Co Ltd | File management method |
-
1987
- 1987-05-13 JP JP62114584A patent/JPH07104807B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 発明協会公開技報公技番号85−9332江崎潤朗「オペレーティング・システムへの構造的アプローチ(中)」(1995)日本コンピュータ協会P.405−408 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63280328A (en) | 1988-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH06318168A (en) | Hierarchical data storage management device, method and its network | |
| JPS63273961A (en) | Management system for plural versions | |
| JPH07104807B2 (en) | Control method for data with multiple names | |
| JP3169596B2 (en) | Database management device | |
| JPS6254369A (en) | Document file retrieving system | |
| JPH08320817A (en) | File system management method | |
| JPS62287350A (en) | Index integrally updating system | |
| JPH0283639A (en) | File creation control method | |
| JP2817911B2 (en) | Access control method for keyed files | |
| JPH0397067A (en) | Information filing device | |
| JP2507399B2 (en) | Database equipment | |
| JPS62279422A (en) | File input/output system | |
| JP3398672B2 (en) | Intermediate data storage device | |
| JP2573579B2 (en) | File operating device for multiple file / volume type magnetic tape | |
| JPH02178743A (en) | File update processor | |
| JPH04359373A (en) | Electronic filing device | |
| JPH03280136A (en) | Record positioning system for sequentially programmed file | |
| JPH0432964A (en) | Filing system | |
| JPS62145441A (en) | Updating processing system for key-sequenced data set | |
| JPS61276040A (en) | File access system | |
| JPH04156626A (en) | File entry generating system for vtoc | |
| JPH0612306A (en) | File system | |
| JPS6358556A (en) | File system | |
| JPH0581104A (en) | Data set backup and recovery method | |
| JPH01286053A (en) | Data control system over plural types of computers |