JPH04372026A - Data set generation management system - Google Patents

Data set generation management system

Info

Publication number
JPH04372026A
JPH04372026A JP3150102A JP15010291A JPH04372026A JP H04372026 A JPH04372026 A JP H04372026A JP 3150102 A JP3150102 A JP 3150102A JP 15010291 A JP15010291 A JP 15010291A JP H04372026 A JPH04372026 A JP H04372026A
Authority
JP
Japan
Prior art keywords
generations
generation
data set
reserve
generation management
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
JP3150102A
Other languages
Japanese (ja)
Inventor
Toru Hashimoto
亨 橋本
Masaaki Hama
正章 浜
Fujio Fujita
藤田不二男
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 Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP3150102A priority Critical patent/JPH04372026A/en
Publication of JPH04372026A publication Critical patent/JPH04372026A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To secure normal data sets of preservative generations even when the reserve generation of illegal data sets are prepared by managing the upper limits of the generations of preserved data set while being divided into the preservative and reserve generation numbers in the data processing system equipped with the generation management system capable of preserving the data sets of the constant generations on the outer storage device comprising the computer system. CONSTITUTION:The data set generation management system is provided with a generation data set management book 106, and the upper limit of the generation number preserved on the outer storage device is divided into the preservative and reserve generation numbers, and the oldest generation data set in the generation adding the preservative and reserve generation numbers is eliminated every time when the latest generation data set is prepared after the data set of the generation adding the preservative and reserve generation numbers is prepared. Even when the generation data set of reserve generations is illegally prepared by preserving the data set of generations adding the preservative and reserve generation numbers, the normal data set with preservative generations can be secured.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は計算機システムにおける
データセットの世代管理に係り、複数世代のデータセッ
トの保存方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to data set generation management in a computer system, and more particularly to a method for storing data sets of multiple generations.

【0002】0002

【従来の技術】磁気ディスク上のデータセットのバック
アップをバックアップデータセットとして、磁気テープ
に退避し、このバックアップデータセットを世代管理す
るとき、従来の方式では「日立製作所  プログラムプ
ロダクト  VOS3データ管理機能/データセットバ
ックアップ  DMF/BKUP  使用の手引」マニ
ュアル(1990)の第8ページに記載されているとお
り、オリジナルデータセットを退避し、最新世代のバッ
クアップデータセットを作成したとき、最古の世代デー
タセットが削除され、常に最大保存世代数に等しい数の
バックアップデータセットが保存される。しかし、最新
世代のバックアップデータセット作成後、すなわち最古
の世代データセットが削除された後、例えばオリジナル
データセットに不正があったことに気がついたときは、
該最新世代のバックアップデータセットは正しいもので
はなく、正常なバックアップデータセットの世代数は、
最大保存世代数より少なくなってしまう。つまり、最大
保存数分の世代バックアップデータセットの内、正常で
ないバックアップデータセットが含まれてしまうことに
なり、最大保存世代数は正常な世代データセットの保存
を保証する世代数ではなくなることになる。このため、
最大保存世代数分の正常なデータセットが保証されてい
ることを前提にしたオリジナルデータセットの回復を運
用に取り組んでいる場合、この前提が崩れることになる
[Prior Art] When backing up a data set on a magnetic disk as a backup data set to a magnetic tape and managing the generation of this backup data set, the conventional method was to As described on page 8 of the "Set Backup DMF/BKUP User's Guide" manual (1990), when the original data set is evacuated and the latest generation backup data set is created, the oldest generation data set is deleted. The number of backup datasets equal to the maximum number of generations to be saved is always saved. However, after creating the latest generation backup data set, that is, after the oldest generation data set has been deleted, if you notice that the original data set was fraudulent, for example,
The latest generation backup data set is not correct, and the number of generations of normal backup data sets is
The number of generations to be saved will be less than the maximum number of generations. In other words, among the maximum number of generation backup data sets that can be saved, unhealthy backup data sets will be included, and the maximum number of generations to be saved will no longer be the number of generations that guarantees the preservation of normal generation data sets. . For this reason,
If the recovery of the original data set is carried out on the premise that a normal data set for the maximum number of saved generations is guaranteed, this assumption will break down.

【0003】0003

【発明が解決しようとする課題】計算機システムの大規
模化に伴うデータ量の増大から、データセットに記録さ
れるデータ容量は益々増大してきた。このため、データ
セットに異常が生じたときの影響は、極めて大きく、こ
の回復のためのバックアップデータセットの管理が非常
に重要となってきた。また、バックアップ作業を含めた
計算機システムで実行するジョブ結果の正否は、オペレ
ーティングシステムで認識できる場合、例えば資源不足
によるジョブの異常終了等もあるが、オペレーティング
システムとしてはジョブは正常に終了したと認識した場
合でも、該ジョブ結果を後で人間の目で確認したとき、
不正であったと認識する場合もおうおうにしてある。
Problems to be Solved by the Invention Due to the increase in the amount of data accompanying the increase in the scale of computer systems, the amount of data recorded in datasets has been increasing more and more. Therefore, when an abnormality occurs in a data set, the impact is extremely large, and management of backup data sets for recovery has become extremely important. In addition, if the operating system can recognize whether the results of jobs executed on a computer system, including backup work, are correct or not, for example, the job may end abnormally due to lack of resources, but the operating system recognizes that the job has ended normally. Even if the job results are checked later with human eyes,
Even if it is recognized that it was fraudulent, there is a possibility.

【0004】従来技術では、オペレーティングシステム
でジョブが正常終了と認識したら、最古の世代のデータ
セットは、自動的に削除されてしまい、オペレーティン
グシステムで認識できない異常が、後で人間の目で検出
したときには最大保存世代数分の正常なデータセットが
保証されない結果となってしまう。
[0004] In the conventional technology, once the operating system recognizes that a job has completed successfully, the oldest generation data set is automatically deleted, and abnormalities that cannot be recognized by the operating system cannot be detected later by the human eye. When this happens, the result is that a normal data set for the maximum number of saved generations is not guaranteed.

【0005】本発明の第一の目的は、バックアップデー
タセット等の世代管理されているデータセットに関し、
該データセットを作成するジョブにオペレーティングシ
ステムで認識できない異常が、該ジョブ実行の後で人間
の目等で検出された場合でも、予備世代を設け保存世代
数として、該保存世代数分の正常な状態のデータセット
を保証することにある。
[0005] A first object of the present invention is to provide generation-managed data sets such as backup data sets.
Even if an abnormality that cannot be recognized by the operating system in the job that creates the data set is detected by the human eye after the job is executed, a backup generation will be set and the number of saved generations will be equal to the number of normal generations. The goal is to guarantee a state data set.

【0006】本発明の第二の目的は、外部記憶装置上に
保管されている正常な世代データセットの保存世代数を
保存世代数を基準にして、監視できることにある。
A second object of the present invention is to be able to monitor the number of saved generations of normal generation data sets stored on an external storage device based on the number of saved generations.

【0007】[0007]

【課題を解決するための手段】上記目的は、保存世代数
に加え任意の数の予備世代を持ち、最新の世代データセ
ット作成時、保存世代数と予備世代数を加えた結果の世
代数のうち最古の世代データセットを削除する手段によ
り達成される。
[Means for solving the problem] The above purpose is to have an arbitrary number of reserve generations in addition to the number of saved generations, and when creating the latest generation dataset, the number of generations resulting from adding the number of saved generations and the number of reserve generations. This is achieved by deleting the oldest generation data set.

【0008】さらに上記目的は、世代管理から不正な世
代データセットを削除する処理において、削除する世代
数と予備の世代数を比較する手段を有することにより達
成される。
Furthermore, the above object is achieved by having means for comparing the number of generations to be deleted and the number of backup generations in the process of deleting invalid generation data sets from generation management.

【0009】[0009]

【作用】保存世代数と予備世代数を加えた世代数分のデ
ータセットを保存することで、予備世代数分の世代デー
タセットが不正に作成されても、保存世代数分の正常な
データセットが保証されることになる。
[Operation] By saving data sets for the number of generations including the number of preservation generations and the number of reserve generations, even if a generation data set for the number of reserve generations is created illegally, a normal data set for the number of preservation generations will be created. will be guaranteed.

【0010】さらに、削除する世代数と予備世代数を比
較する手段により、削除する世代数が予備世代数を越え
ると、保存世代数のデータセットの保存が保証できなく
なることが分かり、この状態である旨の警告を発するこ
とが可能となる。
Furthermore, by comparing the number of generations to be deleted and the number of backup generations, it was found that if the number of generations to be deleted exceeds the number of backup generations, the preservation of the data set for the number of generations to be saved cannot be guaranteed. It becomes possible to issue a warning to that effect.

【0011】[0011]

【実施例】以下本発明の一実施例を図に従って、詳細に
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0012】図1は、本発明を実現するためのハードウ
ェア機器構成とシステム構成を示している。中央処理装
置101は、命令実行プロセッサ102と、命令実行プ
ロセッサ102から参照、更新できる主記憶装置103
から構成される。104はシステムを制御するオペレー
ティングシステムであり、該オペレーティングシステム
104の中に本発明を実現する105の世代管理プログ
ラムがある。106は、本発明の構成要素をなす世代デ
ータセット管理簿であり、107で示す磁気ディスク装
置あるいは108で示す磁気テープ装置等の外部記憶装
置上に保存されて記憶される109で示す世代データセ
ット群を管理する。
FIG. 1 shows the hardware equipment configuration and system configuration for realizing the present invention. The central processing unit 101 includes an instruction execution processor 102 and a main memory 103 that can be referenced and updated by the instruction execution processor 102.
It consists of 104 is an operating system that controls the system, and within the operating system 104 is a generation management program 105 that implements the present invention. Reference numeral 106 denotes a generation data set management list which constitutes a component of the present invention, in which the generation data set shown by 109 is saved and stored on an external storage device such as a magnetic disk device shown by 107 or a magnetic tape device shown by 108. Manage the group.

【0013】図2は世代データセット管理簿106の構
造、該世代データセット管理簿内に記録される1つの世
代データセット群を管理する201の世代管理レコード
の形式を表している。世代管理レコード201は、該世
代データセット群の名称である世代群名を格納する世代
群名格納フィールド202、外部記憶装置上に保存され
ている個々の世代データセットの世代データセット名格
納フィールド203から成る。世代データセット名格納
フィールド203は、保存世代数と予備世代数を加えた
個数分あり、最左端の世代データセット名格納フィール
ドが最新世代に対するものであり、右のフィールドに行
くほど古い世代のものと成る形式である。
FIG. 2 shows the structure of the generation data set management list 106 and the format of a generation management record 201 that manages one generation data set group recorded in the generation data set management list. The generation management record 201 includes a generation group name storage field 202 that stores a generation group name that is the name of the generation dataset group, and a generation dataset name storage field 203 for each generation dataset stored on an external storage device. Consists of. The number of generation data set name storage fields 203 is equal to the number of saved generations plus the number of backup generations, and the leftmost generation data set name storage field is for the latest generation, and the fields on the right are for older generations. The format is as follows.

【0014】図3は、世代群名を持つ世代データセット
群に対する保存世代数と予備世代数の指定方法を表して
いる。301のGDGとあるのが世代データセットを登
録するキーワードであり、302が世代群名の指定であ
り、303が保存世代数の指定、304が予備世代数の
指定である。
FIG. 3 shows a method for specifying the number of preservation generations and the number of reserve generations for a generation data set group having a generation group name. GDG 301 is a keyword for registering a generation data set, 302 is a generation group name designation, 303 is a designation of the number of preservation generations, and 304 is a designation of the number of backup generations.

【0015】図4は、新たな世代のデータセットを作成
するときの図1の世代管理プログラム105の処理手順
を示すフローチャートである。先ず、目的の世代群名を
持つ世代管理レコード201に位置付ける(ステップ4
01)。そして、4021で示すとおり世代管理レコー
ド201の内で、最右端にある最古の世代に対応する世
代データセット名格納フィールド203を削除し、保存
世代数と予備世代数を加えたフィールド数ある各世代デ
ータセット名格納フィールドを右に1フィールド分ずら
して、最左端の世代データセット名格納フィールドに新
たな世代のデータセット名を格納する。これを世代のラ
ウンド処理という(ステップ402)。
FIG. 4 is a flowchart showing the processing procedure of the generation management program 105 of FIG. 1 when creating a new generation data set. First, locate the generation management record 201 with the target generation group name (step 4).
01). Then, as shown in 4021, in the generation management record 201, the generation dataset name storage field 203 corresponding to the oldest generation at the far right is deleted, and each The generation data set name storage field is shifted to the right by one field, and the new generation data set name is stored in the leftmost generation data set name storage field. This is called generation round processing (step 402).

【0016】図5は、世代管理レコード201に登録さ
れている世代データセットを削除するコマンドの指定方
法を示している。図中の501は、削除の対象となる世
代群名の指定であり、502は削除する世代数であり、
最新世代から該世代数分の世代データセットが削除され
、外部記憶装置からも合わせて削除される。
FIG. 5 shows a method for specifying a command to delete a generation data set registered in the generation management record 201. 501 in the figure is the designation of the generation group name to be deleted, 502 is the number of generations to be deleted,
Generation data sets corresponding to the number of generations starting from the latest generation are deleted, and are also deleted from the external storage device.

【0017】図6は、図5の指定にしたがった世代管理
プログラム105の世代削除処理手順を示すフローチャ
ートである。先ず、目的の世代群名を持つ世代管理レコ
ード201に位置付ける(ステップ601)。次に削除
する世代数と該世代群に対する予備世代数を比較する(
ステップ602)。削除世代数が予備世代数より大の場
合(>)、警告メッセージで計算機使用者に通知し(ス
テップ603)、計算機使用者が処理続行の指示であれ
ば604へ、処理中止であれば処理終了の606へ行く
。602で削除世代数が予備世代数に等しいか小の場合
は(≦)、やはり604の削除処理に行く。そして、6
041に示すとおり最新世代のデータセットに対する世
代データセット名格納フィールドから、該世代データセ
ット名格納フィールドを含め、指定の削除世代数分を削
除し、この世代数分、該各世代データセット名格納フィ
ールドを左にずらす(ステップ604)。この処理のこ
とをリセット処理と呼ぶ。さらに、外部記憶装置から、
該削除した世代データセットを削除し(ステップ605
)処理を終了する。
FIG. 6 is a flowchart showing the generation deletion processing procedure of the generation management program 105 according to the specifications shown in FIG. First, the generation management record 201 having the target generation group name is located (step 601). Next, compare the number of generations to be deleted and the number of spare generations for the generation group (
Step 602). If the number of generations to be deleted is greater than the number of backup generations (>), the computer user is notified with a warning message (step 603), and if the computer user instructs to continue the process, the process goes to 604, and if the process is canceled, the process ends. Go to 606. If the number of deleted generations is equal to or smaller than the number of spare generations (≦) in 602, the process also goes to deletion processing in 604. And 6
As shown in 041, delete the specified number of deletion generations from the generation dataset name storage field for the latest generation dataset, including the generation dataset name storage field, and store the name of each generation dataset for this number of generations. Shift the field to the left (step 604). This process is called a reset process. Furthermore, from the external storage device,
Delete the deleted generation data set (step 605
) Terminate processing.

【0018】[0018]

【発明の効果】本発明によれば、データセットの世代管
理において、新たなデータセット作成時オペレーティン
グシステムとしてはジョブが正常終了したと認識し、最
古の世代データセットが削除される事象が予備世代数分
発生しても、保存世代数分の正常なデータセットが外部
記憶装置上に保存させることができる。
[Effects of the Invention] According to the present invention, in data set generation management, when a new data set is created, the operating system recognizes that the job has ended normally, and the oldest generation data set is deleted. Even if the number of generations occurs, normal data sets corresponding to the number of preservation generations can be saved on the external storage device.

【0019】さらに本発明によれば、外部記憶装置上に
保存されている正常な世代データセットの世代数を保存
世代数を基準にして監視できる。
Furthermore, according to the present invention, it is possible to monitor the number of generations of normal generation datasets stored on the external storage device based on the number of stored generations.

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

【図1】本発明の一実施例のハードウェア機器構成とシ
ステム構成を示すブロック図である。
FIG. 1 is a block diagram showing the hardware equipment configuration and system configuration of an embodiment of the present invention.

【図2】世代データセット管理簿の構造を表す図である
FIG. 2 is a diagram showing the structure of a generation data set management list.

【図3】保存世代数と予備世代数の指定方法を表す図で
ある。
FIG. 3 is a diagram showing a method of specifying the number of preservation generations and the number of reserve generations.

【図4】新たな世代のデータセットを作成するときの世
代管理プログラムの処理手順を示すフローチャートであ
る。
FIG. 4 is a flowchart showing the processing procedure of a generation management program when creating a new generation data set.

【図5】世代管理レコードに登録されている世代データ
セットを削除するコマンドの指定方法を表す図である。
FIG. 5 is a diagram illustrating a method of specifying a command to delete a generation data set registered in a generation management record.

【図6】世代管理プログラムの世代削除処理手順を示す
フローチャートである。
FIG. 6 is a flowchart showing a generation deletion processing procedure of a generation management program.

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

105…世代管理プログラム、 106…世代データセット管理簿、 107…磁気ディスク装置、 108…磁気テープ装置、 109…世代データセット群、 201…世代管理レコード、 202…世代群名格納フィールド、 203…世代データセット名格納フィールド。 105...Generation management program, 106...Generation dataset management list, 107...Magnetic disk device, 108...Magnetic tape device, 109... Generation dataset group, 201...Generation management record, 202... Generation group name storage field, 203...Generation dataset name storage field.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】ディスク装置、磁気テープ装置に代表され
る外部記憶装置を有する計算機システムであって、該外
部記憶装置上に一定の世代数分のデータセットを保存で
きる世代管理方式を有するデータ処理システムにおいて
、該外部記憶装置上に保存するデータセットの世代数の
上限値を、保存世代数と予備世代数に分けて制御する世
代管理制御手段を該世代管理方式に具備し、新たな世代
のデータセットの作成により、該保存世代数と該予備世
代数を加えた世代数分のデータセットが作成された以降
の最新世代のデータセットが作成される都度、該保存世
代数と該予備世代数を加えた世代の内、最古の世代のデ
ータセットを自動的に消去することで、該保存世代数と
該予備世代数を加えた世代数分の最新世代からのデータ
セットを該外部記憶装置上に保存し、該予備世代数分の
不正な世代データセットが作成されても、該予備世代数
分のデータセットが存在することで、保存世代数分の正
しい状態のデータセットの保存が保証されることを特徴
とするデータセットの世代管理方式。
1. A computer system having an external storage device such as a disk device or a magnetic tape device, the data processing having a generation management method that allows data sets for a certain number of generations to be stored on the external storage device. In the system, the generation management method is equipped with a generation management control means that controls the upper limit of the number of generations of datasets to be saved on the external storage device by dividing it into the number of preservation generations and the number of reserve generations, and Each time a dataset of the latest generation is created after the data set is created for the number of generations including the number of preservation generations and the number of reserve generations, the number of preservation generations and the number of reserve generations are created. By automatically deleting the data set of the oldest generation among the generations including the number of saved generations and the number of backup generations, the data set from the latest generation is stored on the external storage device. Even if incorrect generation datasets are created for the number of backup generations, the existence of datasets for the number of backup generations guarantees that data sets in the correct state for the number of storage generations will be saved. A data set generation management method characterized by:
【請求項2】請求項1の世代管理制御手段を具備したデ
ータセットの世代管理方式において、前記不正な世代デ
ータセットを世代管理から削除する手段において、削除
する世代数と前記予備世代数を比較する手段を持ち、該
削除する世代数が該予備世代数を超え、前記外部記憶装
置上に保存される世代データセットの数が、前記保存世
代数を保証できなくなったときは、警告を発する手段を
具備して、該保存世代数を基準に何世代のデータセット
が保管されているか常に監視できることを特徴とするデ
ータセットの世代管理方式。
2. In the data set generation management method comprising the generation management control means according to claim 1, in the means for deleting the invalid generation data set from generation management, the number of generations to be deleted and the number of reserve generations are compared. means for issuing a warning when the number of generations to be deleted exceeds the number of backup generations and the number of generation data sets stored on the external storage device cannot guarantee the number of generations to be saved; 1. A dataset generation management method, characterized in that it is possible to constantly monitor how many generations of datasets are stored based on the number of storage generations.
JP3150102A 1991-06-21 1991-06-21 Data set generation management system Pending JPH04372026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3150102A JPH04372026A (en) 1991-06-21 1991-06-21 Data set generation management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3150102A JPH04372026A (en) 1991-06-21 1991-06-21 Data set generation management system

Publications (1)

Publication Number Publication Date
JPH04372026A true JPH04372026A (en) 1992-12-25

Family

ID=15489551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3150102A Pending JPH04372026A (en) 1991-06-21 1991-06-21 Data set generation management system

Country Status (1)

Country Link
JP (1) JPH04372026A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0793200A (en) * 1993-09-27 1995-04-07 Nec Corp File managing system
JPH07325739A (en) * 1994-05-31 1995-12-12 Nec Corp File management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0793200A (en) * 1993-09-27 1995-04-07 Nec Corp File managing system
JPH07325739A (en) * 1994-05-31 1995-12-12 Nec Corp File management system

Similar Documents

Publication Publication Date Title
CN108664359B (en) Database recovery method, device, equipment and storage medium
US5590318A (en) Method and system for tracking files pending processing
JP2703479B2 (en) Data processing method and system having security function of time zero backup session
US7469327B2 (en) System and method for restricting access to logical volumes
KR930008684B1 (en) Data base backup method
JP5021929B2 (en) Computer system, storage system, management computer, and backup management method
CN111552437B (en) Snapshot method and snapshot device applied to distributed storage system
JP3410899B2 (en) How to recover a multivolume data set
US6192376B1 (en) Method and apparatus for shadowing a hierarchical file system index structure to enable error recovery
US7225206B2 (en) System and method for reorganizing stored data
US5230075A (en) Database shadowing system with data tags that select an operation of the save command
JPH04372026A (en) Data set generation management system
US7039659B2 (en) Method and apparatus for making differential independent data copies in a data processing system
EP0097239B1 (en) Method and apparatus for restoring data in a computing system
JP3392283B2 (en) How to prevent computer virus intrusion
JPH05346889A (en) Method and device for controlling cache
US20030033440A1 (en) Method of logging message activity
JPH0594356A (en) On-memory table data fault restoration system
JPH11212845A (en) Device and method for backup data management and recording medium
JPH1040123A (en) System and method for job management
JPH04347745A (en) Generation management system for data set
JPH0385650A (en) Disk volume restoration system
JPH0619808A (en) Information processor
JPH02151945A (en) File management device
JP2594761B2 (en) Journal file management device