[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPS6349255B2 - - Google Patents

Info

Publication number
JPS6349255B2
JPS6349255B2 JP57045919A JP4591982A JPS6349255B2 JP S6349255 B2 JPS6349255 B2 JP S6349255B2 JP 57045919 A JP57045919 A JP 57045919A JP 4591982 A JP4591982 A JP 4591982A JP S6349255 B2 JPS6349255 B2 JP S6349255B2
Authority
JP
Japan
Prior art keywords
members
data set
partitioned
partitioned data
area
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
Application number
JP57045919A
Other languages
Japanese (ja)
Other versions
JPS58163054A (en
Inventor
Shiro Furuya
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57045919A priority Critical patent/JPS58163054A/en
Publication of JPS58163054A publication Critical patent/JPS58163054A/en
Publication of JPS6349255B2 publication Critical patent/JPS6349255B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 発明の技術分野 本発明は、区分データセツトのメンバ置換方式
に関し、特に余分な空き領域がなくともメンバの
置換を可能とするものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a member replacement method for a partitioned data set, and particularly allows member replacement even when there is no extra free space.

技術の背景 計算センタは幾つかのプログラムのライブラリ
を有している。これらはいずれも区分編成された
ものつまりメモリのデータ領域に区分して格納し
各区分(メンバ)のアドレスを該メモリのデイレ
クトリ部に記録して検索しやすいようにしたもの
で、この中にはメーカーが提供するオペレーシヨ
ンシステム(OS)やコンパイラの他にユーザー
独自の業務プログラムが含まれる。後者の業務プ
ログラムは数100本に及ぶ場合もある。データセ
ツトのメンバは古くなれば更新するが、通常数10
〜100本程度が1回の入れ換えの対象となる。入
れ換えはメモリの空き領域に新メンバを書込むと
いう方法で行なうが、その書込むための空き領域
がなくなると更新失敗であり、スペースを確保し
て最初からやり直さなければならない。この入れ
換え作業の中断は業務を停止させてしまうので極
力回避しなければならない。
Technical Background Computing centers have a library of several programs. All of these are partitioned and stored in the data area of memory, and the address of each partition (member) is recorded in the directory section of the memory to make it easier to search. This includes the operating system (OS) and compiler provided by the manufacturer, as well as the user's own business programs. The latter business programs may number in the hundreds. Data set members are updated when they become old, but usually there are 10 members.
Approximately 100 pieces will be replaced at one time. Replacement is performed by writing a new member into a free area of memory, but if there is no more free space for writing, the update will fail and you will have to allocate space and start over. Interruption of this replacement work must be avoided as much as possible, as it will halt business operations.

従来技術と問題点 従来は、上述した入れ換え作業の失敗を生じさ
せないために区分データセツトに予め充分な空き
領域を確保してから入れ換えを行なうようにして
いる。これを第1図で説明する。同図は1つの区
分データセツト10の説明図で、11はデイレク
トリ、12はデータ領域である。デイレクトリ1
1にはデータ領域12に格納されているメンバA
〜Cのメンバ名〜が登録され、各メンバ名に
は対応するメンバの開始アドレスが附属する。デ
ータ領域12に空き領域13があればそこへ他の
メンバを格納できる。例えばメンバD,E,F
(図示せず)を空き領域13に格納したらそのメ
ンバ名,,と当該メンバのバータ領域12
における開始アドレスをデイレクトリ11に登録
する。メンバの置換(更新)はデイレクトリ11
内の同じメンバ名を使用する点で、新規メンバの
格納とは異なる。従来方式によるメンバ置換を、
メンバAを例に説明すると、先ずメンバA′(新メ
ンバA)を空き領域13に格納し、デイレクトリ
11のメンバ名に附属するアドレスをデータ領
域12におけるメンバAのアドレスからA′のア
ドレスに切換え、これにより更新を完了する。更
新されて2度と読出されることのない旧メンバー
となつたメンバAはそのまま残存する。このよう
に従来方式ではデータセツトのメンバ更新に当つ
ては先ず新メンバをデータセツトに書込むという
方法をとるのでメンバA〜Cを同時に置換するに
は空き領域13がそれと同量以上確保されていな
ければならない。仮にメンバA〜Cがデータ領域
12の半分以上を占有していればそれらの入れ換
えは不可能である。こうして従来方式では全メン
バ更新を考えるとデータ領域12の半分以下しか
データを格納できないので、使用効率が著しく悪
い欠点がある。しかもメンバの中には更新されて
不要になつたものもあり、有効データで考えると
使用効率は更に低い。
Prior Art and Problems Conventionally, in order to prevent the above-mentioned replacement operation from failing, a sufficient free space is secured in advance in the partitioned data set before replacement is performed. This will be explained with reference to FIG. This figure is an explanatory diagram of one partitioned data set 10, where 11 is a directory and 12 is a data area. directory 1
1 contains member A stored in data area 12.
~Member names of C~ are registered, and each member name is accompanied by the start address of the corresponding member. If there is a free space 13 in the data area 12, other members can be stored there. For example, members D, E, F
(not shown) is stored in the free area 13, the member name, and the barter area 12 of the member are stored.
The start address of is registered in the directory 11. To replace (update) members, use directory 11.
This differs from storing a new member in that it uses the same member name within. Member replacement using the conventional method,
Taking member A as an example, first store member A' (new member A) in the free area 13, and switch the address attached to the member name in the directory 11 from the address of member A in the data area 12 to the address of A'. , this completes the update. Member A, which has been updated and has become an old member that will never be read again, remains as it is. In this way, in the conventional method, when updating a member of a dataset, a new member is first written to the dataset, so in order to replace members A to C at the same time, the same amount or more of free space 13 must be secured. There must be. If members A to C occupy more than half of the data area 12, it is impossible to replace them. In this way, in the conventional method, when all members are updated, data can be stored in less than half of the data area 12, which has the drawback of extremely low usage efficiency. Moreover, some members have been updated and are no longer needed, so the usage efficiency is even lower when considered in terms of effective data.

発明の目的 本発明はかゝる点を改善しようとするものであ
つて、メンバ更新に当つては、置換されるメンバ
を消去し、コンデンスすることによつて空き領域
を作り出し、該空き領域に新メンバを書き込むよ
うにして、余分な空き領域なしでメンバ更新を可
能にしようとするものである。
Purpose of the Invention The present invention aims to improve the above points, and when updating a member, an empty area is created by deleting and condensing the member to be replaced, and the empty area is filled with the empty area. By writing new members, it is possible to update members without using extra free space.

発明の構成 本発明は、データ領域に区分して複数のメンバ
を格納し、且つそれらのメンバ名とアドレスをデ
イレクトリに登録しておく区分データセツトのメ
ンバ置換方式において、複写するメンバを格納し
た第1の区分データセツト側のメンバ名と同一の
メンバ名有する第2の区分データセツトのメンバ
を消去する処理、該第2の区分データセツトに残
存するメンバをコンデンスする処理、該第1の区
分データセツトのメンバを該第2の区分データセ
ツトの空きデータ領域に複写する処理を順次行な
うことを特徴とするものであるが、以下図示の実
施例を参照しながらこれを詳細に説明する。
Structure of the Invention The present invention provides a member replacement method for a partitioned data set in which a plurality of members are partitioned into data areas and the names and addresses of these members are registered in a directory. A process of deleting members of a second partitioned data set having the same member name as a member name of the first partitioned data set, a process of condensing remaining members in the second partitioned data set, and a process of condensing members remaining in the first partitioned data set. This method is characterized in that the members of the set are sequentially copied into the free data area of the second partitioned data set, and this will be explained in detail below with reference to the illustrated embodiment.

発明の実施例 第2図は本発明の一実施例を示す説明図で、a
はメンバA′〜C′をそのデータ領域22に格納し
た区分データセツト20を示している。本例では
この区分データセツト20のメンバA′〜C′をb
の区分データセツト10に複写してそのメンバA
〜Cと置換する、つまり区分データセツト10の
メンバA,B,Cを区分データセツト20のメン
バA′,B′,C′で更新する。bの区分データセツ
ト10にはメンバA〜Cの他にメンバD〜Fも格
納されていて、空き領域13はメンバA′〜C′を
格納する程は残されていない。従つて従来方式で
は更新不可となるケースであるが、本発明では次
のようにしてこれが可能である。即ち、区分デー
タセツト20のデイレクトリ21に登録されてい
るメンバ名〓〓〜〓〓を順次読取つて(GETD
マクロ)、これで区分データセツト10に消去を
かける(STOWマクロ)。これはデイレクトリ2
1の終端まで行なう。cはメンバA〜Cが消去さ
れた区分データセツト10の状態図で、ここには
既存の空き領域13の他に消去による空き領域1
4が発生する。この空き領域14を空領域13に
つらねるためコンデンス処理をしてメンバD〜F
をデータ領域12の先頭からつめ直す
(JSECOPYプログラム)。こうして広い空き領域
を作つた状態で区分データセツト20のメンバ
A′〜C′を区分データセツト10の該空き領域に
複写する。(JSECOPYプログラム)。これがdの
状態である。なおコンデンスの機能は従来システ
ムでも有しており、これは区分データセツトに空
きがなくなつた、不要メンバはある、などのとき
に該不要メンバを除いて詰める操作に用いられて
いる。こゝではそのコンデンスの機能を利用す
る。
Embodiment of the invention FIG. 2 is an explanatory diagram showing an embodiment of the present invention.
shows a partitioned data set 20 in which members A' to C' are stored in its data area 22. In this example, members A' to C' of this partitioned data set 20 are
Copy it to the partitioned data set 10 of
. In addition to members A to C, members D to F are also stored in the segmented data set 10 of b, and there is not enough free space 13 left to store members A' to C'. Therefore, in the conventional method, updating is not possible, but in the present invention, this is possible in the following manner. That is, the member names 〓〓 to 〓〓 registered in the directory 21 of the partitioned data set 20 are sequentially read (GETD
(macro), this erases the partitioned data set 10 (STOW macro). This is directory 2
Continue until the end of 1. c is a state diagram of the partitioned data set 10 in which members A to C have been deleted, and in addition to the existing free area 13, there is also a free area 1 due to deletion.
4 occurs. In order to connect this empty area 14 to the empty area 13, condensation processing is performed to connect members D to F.
Repack from the beginning of data area 12 (JSECOPY program). With a large free area created in this way, the members of the partitioned data set 20 are
A' to C' are copied to the corresponding free area of the partitioned data set 10. (JSECOPY program). This is state d. The conventional system also has a condensation function, which is used to remove unnecessary members when there is no space left in a segmented data set or when there are unnecessary members. Here, we will use the condensation function.

上述したメンバ置換はメンバA′〜C′がメンバ
A〜Cと同量以下のデータ量であれば空き領域1
3がなくとも可能である。尚、区分データセツト
20側のメンバ名〓〓〜〓〓に対応するメンバ名
の一部、例えばが区分データセツト10側にな
ければ消去不能となるが、要求が区分データセツ
ト10内の既存メンバの更新のみであればこれは
無視しても差仕えなく、また該要求が区分データ
セツト10への区分データセツト20の書込みで
あれば、前記メンバA′は区分データセツト10
に新しく書込んでデイレクトリにそのメンバ名と
アドレスを新規登録すればよい。
In the member replacement described above, if members A' to C' have the same amount of data or less as members A to C, free space 1 will be used.
It is possible without 3. Note that if a part of the member name corresponding to the member names 〓〓~〓〓 on the partitioned dataset 20 side, for example, does not exist on the partitioned dataset 10 side, it cannot be deleted. This can be safely ignored if the request is only to update partitioned dataset 10, and if the request is to write partitioned dataset 20 to partitioned dataset 10, member A'
All you have to do is write a new file to the directory and register the member name and address in the directory.

発明の効果 以上述べたように本発明によれば、区分データ
セツトのメンバ置換を余分な空き領域なしに行な
うことができる利点を有する。
Effects of the Invention As described above, according to the present invention, there is an advantage that member replacement of a partitioned data set can be performed without using extra free space.

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

第1図は従来の区分データセツトのメンバ置換
方式の説明図、第2図は本発明の一実施例を示す
説明図である。 図中、10,20は区分データセツト、11,
21はデイレクトリ、12,22はデータ領域、
A〜Cは置換されるメンバ、〜はそのメンバ
名、A′〜C′は複写するメンバ、D〜Fは残存す
るメンバである。
FIG. 1 is an explanatory diagram of a conventional member replacement method for a partitioned data set, and FIG. 2 is an explanatory diagram showing an embodiment of the present invention. In the figure, 10 and 20 are partitioned datasets, 11,
21 is a directory, 12 and 22 are data areas,
A to C are members to be replaced, ~ is the member name, A' to C' are members to be copied, and D to F are remaining members.

Claims (1)

【特許請求の範囲】[Claims] 1 データ領域に区分して複数のメンバを格納
し、且つそれらのメンバ名とアドレスをデイレク
トリに登録しておく区分データセツトのメンバ置
換方式において、複写するメンバを格納した第1
の区分データセツト側のメンバ名と同一のメンバ
名を有する第2の区分データセツトのメンバを消
去する処理、該第2の区分データセツトに残存す
るメンバをコンデンスする処理、該第1の区分デ
ータセツトのメンバを該第2の区分データセツト
の空きデータ領域に複写する処理を順次行なうこ
とを特徴とする区分データセツトのメンバ置換方
式。
1 In the member replacement method for a partitioned data set in which multiple members are stored in data areas and their member names and addresses are registered in a directory, the first
A process of deleting a member of a second partitioned data set having the same member name as a member name of the partitioned data set of the first partitioned data set, a process of condensing the members remaining in the second partitioned data set, and a process of condensing the members remaining in the second partitioned data set. 1. A method for replacing members of a partitioned data set, characterized in that members of the set are sequentially copied into free data areas of the second partitioned data set.
JP57045919A 1982-03-23 1982-03-23 Member replacing system of section data set Granted JPS58163054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57045919A JPS58163054A (en) 1982-03-23 1982-03-23 Member replacing system of section data set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57045919A JPS58163054A (en) 1982-03-23 1982-03-23 Member replacing system of section data set

Publications (2)

Publication Number Publication Date
JPS58163054A JPS58163054A (en) 1983-09-27
JPS6349255B2 true JPS6349255B2 (en) 1988-10-04

Family

ID=12732650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57045919A Granted JPS58163054A (en) 1982-03-23 1982-03-23 Member replacing system of section data set

Country Status (1)

Country Link
JP (1) JPS58163054A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3587655T2 (en) 1984-12-29 1994-05-26 Sony Corp TRANSMISSION ARRANGEMENT FOR DIGITAL SIGNALS.
JPH0734291B2 (en) * 1986-07-28 1995-04-12 株式会社日立製作所 Digital signal recording / reproducing system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53114325A (en) * 1977-03-16 1978-10-05 Hitachi Ltd Control system of data processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53114325A (en) * 1977-03-16 1978-10-05 Hitachi Ltd Control system of data processor

Also Published As

Publication number Publication date
JPS58163054A (en) 1983-09-27

Similar Documents

Publication Publication Date Title
US7363540B2 (en) Transaction-safe FAT file system improvements
JP2531783B2 (en) How to support a shared file environment
US6792518B2 (en) Data storage system having mata bit maps for indicating whether data blocks are invalid in snapshot copies
US5029125A (en) Method of reading and writing files on nonerasable storage media
US8156165B2 (en) Transaction-safe FAT files system
US20040030951A1 (en) Instantaneous restoration of a production copy from a snapshot copy in a data storage system
JP4916892B2 (en) Log information management system and method for transaction processing
PL182609B1 (en) Method of and device for storing data in computers
JPH0820990B2 (en) Storage management system that spans different file systems
JPH06332778A (en) Method for transaction management
JPH06508708A (en) disk storage system
JPH1063555A (en) File managing method
JPH04186447A (en) Directory management system
KR20000022716A (en) Efficient volume copy using pre-configuration of log structured target storage
JPH08504528A (en) Optimization method of memory space in database
US6629203B1 (en) Alternating shadow directories in pairs of storage spaces for data storage
JP4394467B2 (en) Storage system, server apparatus, and preceding copy data generation method
EP0351109A2 (en) Reducing resources in a high reliability data storage subsystem
US20030200232A1 (en) Information processor and program
US20050149493A1 (en) Data recording apparatus and data recording method
JPS6349255B2 (en)
JPH02212949A (en) Reorganization processing system for data base in on-line operation
JPS63133240A (en) Contents assurance system for residence table
JP7512519B2 (en) Management device, database system, management method and program
JPH06110759A (en) File system