JPS6232817B2 - - Google Patents
Info
- Publication number
- JPS6232817B2 JPS6232817B2 JP56169292A JP16929281A JPS6232817B2 JP S6232817 B2 JPS6232817 B2 JP S6232817B2 JP 56169292 A JP56169292 A JP 56169292A JP 16929281 A JP16929281 A JP 16929281A JP S6232817 B2 JPS6232817 B2 JP S6232817B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- generation
- files
- job
- data
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Hardware Redundancy (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【発明の詳細な説明】
本発明はフアイルをシステムにカタログ登録す
るフアイル登録方式に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a file registration method for cataloging files in a system.
データ処理システムにおいては、一般にプログ
ラム等で作成されたデータをシステムにカタログ
登録(データの所在に関する情報を登録)し、登
録簿によつてデータの履歴(世代)等を管理す
る。従来方式では、フアイルにデータを作成した
のち、直ちに最新世代フアイルとして登録する方
法を採つている。 In a data processing system, data created by a program or the like is generally registered in a catalog (registering information regarding the location of the data) in the system, and the history (generation) of the data is managed using a register. In the conventional method, after data is created in a file, it is immediately registered as the latest generation file.
従つて、登録すべきフアイルがF1,F2,…Fo
までのn個存在し、これを1つのジヨブ(n個の
ジヨブステツプで構成され、1ジヨブステツプ毎
に1個のフアイルが生成される)で作成すると
き、途中のジヨブステツプ(例えば、フアイル
F3のデータ作成)で異常が生じた場合には、フ
アイルF2までが最新世代として世代交代が行わ
れ、カタログ登録された形でジヨブは異常終了す
る。この場合、フアイルF1,F2迄は正常に世代
交代が終了していることになる。 Therefore, the files to be registered are F 1 , F 2 ,...F o
When creating a job (composed of n job steps, with one file generated for each job step), there are n job steps in the middle (for example, file
If an error occurs during data creation ( F3 data creation), a generation change is performed with files up to F2 as the latest generation, and the job is abnormally terminated with the files registered in the catalog. In this case, generation change has been completed normally up to files F 1 and F 2 .
この為、ジヨブを再実行(ジヨブステツプ1か
ら実行)する場合には、前述のようにフアイル
F1、及びF2の最新世代の登録は正常終了してい
るので、更に次の世代のフアイルが最新世代とし
て作成されてしまう為、フアイルF1,F2の世代
と、フアイルF3以降の世代とは1世代分の差が
生じ、各々の世代の連続性や関連がくずれる欠点
があり、又その消去の要否を、当該システムを運
用するオペレータが判断しなければならない不便
さがあつた。 Therefore, when re-running the job (starting from job step 1), the file
Since the registration of the latest generation of F 1 and F 2 has been completed normally, the next generation file will be created as the latest generation, so the generation of files F 1 and F 2 and the generation of files F 3 and later will be created as the latest generation. There is a difference of one generation between generations, which breaks the continuity and relationship of each generation, and there is also the inconvenience that the operator of the system has to decide whether or not to delete it. .
本発明は上記の欠点を解決するためになされた
もので、世代管理されるフアイルを作成するジヨ
ブの再実行を容易とするフアイル登録方式の提供
を目的とする。 The present invention has been made to solve the above-mentioned drawbacks, and an object of the present invention is to provide a file registration method that facilitates re-execution of a job that creates a generationally managed file.
本発明は、複数世代を登録可能な登録簿を有
し、フアイルを登録する時点毎に、該フアイルを
世代別に、該登録簿に登録することにより、フア
イルの履歴を管理するフアイル登録方式におい
て、最新世代として登録されたのフアイルにデー
タを格納する手段と、データ未格納の空きフアイ
ルを、上記最新世代の次世代フアイルとして登録
する手段とを備え、該最新世代フアイルにデータ
を格納した後に、次世代フアイルの登録をするこ
とで最新世代への世代交代ができるようにしたこ
とを特徴としている。 The present invention provides a file registration method that has a registry in which multiple generations can be registered, and manages the history of a file by registering the file in the registry by generation at each time a file is registered. and means for registering an empty file in which no data is stored as a next-generation file of the latest generation, and after storing data in the latest generation file, The feature is that it is possible to change the generation to the latest generation by registering the next generation file.
以下、本発明を図面によつて説明する。第1図
は従来方式を説明するフローチヤート、第2図は
本発明の一実施例を説明するフローチヤート、第
3図は本発明の一実施例を説明するブロツク図で
ある。 Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a flowchart for explaining a conventional method, FIG. 2 is a flowchart for explaining an embodiment of the present invention, and FIG. 3 is a block diagram for explaining an embodiment of the present invention.
図面において、1はデイスク装置、2はメモ
リ、3は処理装置、4は制御部、5は処理部、
D1,D2,…Doはデータ、F1,F2,…Fo、及び
f1,f2,…foはフアイル番号、Jはジヨブ、J1,
J2,…Joは上記ジヨブを構成するジヨブステツ
プ、V1,V2,…Vo、及びv1,v2,…voはボリユ
ーム番号である。 In the drawings, 1 is a disk device, 2 is a memory, 3 is a processing device, 4 is a control unit, 5 is a processing unit,
D 1 , D 2 , ...D o are data, F 1 , F 2 , ...F o and
f 1 , f 2 ,...f o is the file number, J is the job, J 1 ,
J 2 , . . . J o are job steps constituting the job, V 1 , V 2 , . . . V o , and v 1 , v 2 , .
第1図に示すように、F1,F2,…Foのn個の
フアイルを登録する際、従来方式では、フアイル
(例えば、F1)のデータを作成した後に、最新世
代のフアイルF1として登録する形をとつてい
た。 As shown in Figure 1, when registering n files F 1 , F 2 ,...F o , in the conventional method, after creating the data of the file (for example, F 1 ), the latest generation file F It was registered as 1 .
この場合、フアイルがn個あるので、n個のジ
ヨブステツプJ1,J2,…Joを実行することにな
るが、例えば、ジヨブステツプJ2(フアイルF2の
作成)において異常が生じた場合には、フアイル
F1が最新世代フアイルF1として世代交代が行わ
れ、登録された形でジヨブJが異常終了すること
になる。 In this case, since there are n files, n job steps J 1 , J 2 ,...J o will be executed. For example, if an error occurs in job step J 2 (creating file F 2 ), is the file
A generation change is performed with F1 as the latest generation file F1 , and job J ends abnormally in the registered form.
従つて、従来方式で再実行する際には、フアイ
ルF1の最新世代の登録F1を取り消して世代を1
世代分戻した後、ジヨブJ(ジヨブステツプJ1,
J2,…Jo)を再実行(RERUN)する必要があ
る。さもないと、前述のようにフアイルF1の世
代がフアイルF2以降の世代に対して、1世代分
の差が生じてしまう。 Therefore, when re-executing using the conventional method, the registration of the latest generation of file F1 is canceled and the generation is changed to 1 .
After going back by generations, job J (job step J 1 ,
J 2 ,...J o ) must be re-executed (RERUN). Otherwise, as described above, the generation of file F 1 will differ by one generation from the generations of file F 2 and subsequent generations.
これに対して、本発明においては、第2図に示
すように、最新世代フアイルが空きフアイル
F1,F2,…Foとしてn個用意されており、この
最新世代フアイルF1,F2,…Foにデータを作成
して、n個のフアイル(F1,F2,…Fo)全部の
データの作成終了後に、データが未格納である別
の空きフアイル(f1,f2,…fo)を次世代フアイ
ルとして予備登録するものであり、ジヨブ実行中
に世代交代を行うことがない。 In contrast, in the present invention, as shown in FIG.
N files are prepared as F 1 , F 2 , ...F o , and by creating data in these latest generation files F 1 , F 2 , ...F o , o ) After all the data has been created, other free files (f 1 , f 2 , ...f o ) that have not yet been stored are pre-registered as next-generation files, and generation change is performed during job execution. There's nothing to do.
この方法を採れば、ジヨブの実行中に、途中の
ジヨブステツプ(例えば、ジヨブステツプJ2)で
異常が生じた場合、第2図から明らかな如く、
個々のジヨブステツプを実行しても、、世代交代
の処理は行われないので、再実行(RERUN)の
際には、最新世代フアイル(F1,F2,…Fo)に
データを作成するだけで良く、従来方式のように
登録済みのフアイルの登録取り消しを必要としな
い。 If this method is adopted, if an abnormality occurs at an intermediate job step (for example, job step J 2 ) during job execution, as is clear from FIG.
Even when individual job steps are executed, generation change processing is not performed, so when re-executing (RERUN), data is simply created in the latest generation files (F 1 , F 2 ,...F o ). , and there is no need to cancel the registration of registered files as in the conventional method.
上記本発明の登録手順を第3図によつて説明す
る。第3図において、制御部4はデイスク装置1
内に設けられているフアイルの最新世代F1,
F2,…Foの位置をカタログ簿T1(メモリ2内に
設けられている)を参照することにより知るこ
とができる。 The above registration procedure of the present invention will be explained with reference to FIG. In FIG. 3, the control unit 4 is the disk device 1.
The latest generation of files located in F1 ,
The positions of F 2 , . . . F o can be found by referring to the catalog T 1 (provided in the memory 2).
即ち、カタログ簿T1の左欄にフアイル名F1,
F2,…Foと、同じく右欄に各フアイルの所在を
示すボリユーム番号(V1,V2,…Vo)が書き込
まれている。 That is, the file name F 1 is written in the left column of the catalog T 1 ,
F 2 , . . . F o and volume numbers (V 1 , V 2 , . . . V o ) indicating the location of each file are also written in the right column.
これにより、最新世代フアイルとして登録され
ているフアイルF1,F2,…Foは、それぞれジヨ
ブステツプJ1,J2,…Joの開始時に、デイスク
装置1のボリユームV1,V2,…Voに、制御部4
によつて対応づけられる。 As a result, the files F 1 , F 2 , ...F o registered as the latest generation files are set to the volumes V 1 , V 2 , ... of the disk device 1 at the start of job steps J 1 , J 2 , ...J o , respectively. To V o , the control unit 4
It is mapped by .
各ジヨブステツプJ1,J2,…Joは、処理部5
での各処理の実行によつて作成されるデータD1
をボリユームV1上のフアイルF1に格納し、デー
タD2をボリユームV2上のフアイルF2に格納する
というように引続いて実行し、最後のデータDo
をボリユームVo上のフアイルFoに格納するこ
とで、1つのジヨブJが終了する。 Each job step J 1 , J 2 , ... Jo is processed by the processing section 5
Data D 1 created by executing each process in
is stored in file F 1 on volume V 1 , data D 2 is stored in file F 2 on volume V 2 , and so on, and the last data D o
One job J is completed by storing the file F o on the volume V o .
そして、制御部4はフアイルf1,f2,…foを次
世代フアイルとしてカタログ簿T2に登録す
る。即ち、フアイル名f1,f2,…foと、各フアイ
ルの所在を示すボリユーム番号v1,v2,…voが
書き込まれて、登録処理を完了する。 Then, the control unit 4 registers the files f 1 , f 2 , . . . f o as next-generation files in the catalog T 2 . That is, the file names f 1 , f 2 , . . . fo and volume numbers v 1 , v 2 , .
つまり、フアイルf1,f2,…foをカタログ簿
T2に予備登録して、空きフアイルとして用意し
ておくことにより、次のジヨブ実行時点で、この
フアイルf1,f2,…foが最新世代のフアイルとし
て使用されることになる。 In other words, files f 1 , f 2 , ...f o are cataloged.
By pre-registering them in T2 and preparing them as empty files, these files f 1 , f 2 , . . . f o will be used as the latest generation files when the next job is executed.
若し、該フアイルへのデータ書き込みの途中で
異常が生じた場合には、前述のように次世代フア
イルの登録が行われなくなるので、再実行
(RERUN)は、単にフアイルF1からFo迄につい
てカタログ簿T1の参照と、生成したデータの
格納を最新世代フアイルF1,F2,…Foに対し
て上塗りの形で実行するだけで事足りることにな
る。 If an error occurs while writing data to the file, the next generation file will not be registered as described above, so re-execution (RERUN) will simply write from file F 1 to F o . It is sufficient to refer to the catalog T 1 and store the generated data in the latest generation files F 1 , F 2 , . . . F o by overcoating.
以上のように、本発明は、最新世代として登録
すべきフアイルを予め設け、ジヨブの実行によつ
て、これにデータを生成して格納し、ジヨブの完
了後に、次世代フアイルとして、別途空きフアイ
ルを予備登録する方法を採ることにより、異常事
態発生時の再実行を容易とし、システムの運用効
率を著しく向上し得る利点を有する。 As described above, in the present invention, a file to be registered as the latest generation is provided in advance, data is generated and stored in this by executing a job, and after the job is completed, a separate empty file is registered as the next generation file. By adopting a method of preliminary registration, re-execution is facilitated when an abnormal situation occurs, which has the advantage of significantly improving system operational efficiency.
第1図は従来方式を説明するフローチヤート、
第2図は本発明の一実施例を説明するフローチヤ
ート、第3図は本発明の一実施例を説明するブロ
ツク図である。
図面において、1はデイスク装置、2はメモ
リ、3は処理装置、4は制御部、5は処理部、6
は表示部、7はプリンタ、D1,D2,…Doはデー
タ、F1,F2,…Fo,及びf1,f2,…foフアイル
番号、Jはジヨブ、J1,J2,…Joはジヨブステ
ツプ、V1,V2,…Vo,及びv1,v2,…voはボリ
ユーム番号、T1,T2はカタログ簿、をそれぞれ
示す。
Figure 1 is a flowchart explaining the conventional method.
FIG. 2 is a flowchart for explaining one embodiment of the present invention, and FIG. 3 is a block diagram for explaining one embodiment of the present invention. In the drawings, 1 is a disk device, 2 is a memory, 3 is a processing device, 4 is a control unit, 5 is a processing unit, and 6
is the display unit, 7 is the printer, D 1 , D 2 ,...D o is data, F 1 , F 2 ,...F o , and f 1 , f 2 ,... f o file numbers, J is the job, J 1 , J 2 , . . . J o represent job steps, V 1 , V 2 , . . . V o , and v 1 , v 2 , .
Claims (1)
イルを登録する時点毎に、該フアイルを世代別に
該登録簿に登録することによりフアイルの履歴を
管理するフアイル登録方式において、最新世代と
して登録されたフアイルにデータを格納する手段
と、データ未格納の空きフアイルを上記最新世代
の次世代フアイルとして登録する手段とを備え、
該最新世代フアイルにデータを格納した後に、次
世代フアイルの登録をする事で、最新世代へ移れ
るようにした事を特徴とするフアイル登録方式。1 In a file registration method that has a registry that allows multiple generations to be registered, and manages file history by registering files by generation in the registry each time a file is registered, the file is registered as the latest generation. and means for registering an empty file in which no data is stored as the next generation file of the latest generation,
A file registration method characterized in that after data is stored in the latest generation file, the next generation file is registered so that the next generation file can be moved to the latest generation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56169292A JPS5870367A (en) | 1981-10-22 | 1981-10-22 | File registering system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56169292A JPS5870367A (en) | 1981-10-22 | 1981-10-22 | File registering system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5870367A JPS5870367A (en) | 1983-04-26 |
| JPS6232817B2 true JPS6232817B2 (en) | 1987-07-16 |
Family
ID=15883807
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56169292A Granted JPS5870367A (en) | 1981-10-22 | 1981-10-22 | File registering system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5870367A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02112508U (en) * | 1989-02-27 | 1990-09-10 | ||
| JPH0568711U (en) * | 1992-02-28 | 1993-09-17 | 株式会社新和 | Car side wind curtain device for sunshade |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63214848A (en) * | 1987-03-02 | 1988-09-07 | Fujitsu Ltd | Generation managing system for file |
| JPH01213735A (en) * | 1988-02-22 | 1989-08-28 | Oki Electric Ind Co Ltd | Terminal program transmission system |
-
1981
- 1981-10-22 JP JP56169292A patent/JPS5870367A/en active Granted
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02112508U (en) * | 1989-02-27 | 1990-09-10 | ||
| JPH0568711U (en) * | 1992-02-28 | 1993-09-17 | 株式会社新和 | Car side wind curtain device for sunshade |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5870367A (en) | 1983-04-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2002278819A (en) | Snapshot image generation management method, storage medium, and generation management device | |
| JPS6232817B2 (en) | ||
| CN110765144B (en) | Distributed heterogeneous database data processing method and device | |
| EP0881570A1 (en) | Database recovery system | |
| JPH01259432A (en) | Reexecution system for batch job | |
| JP2000207265A (en) | Transaction division / cooperation device and recording medium | |
| JPH04175830A (en) | Rerun control system | |
| JPS5856142B2 (en) | Online recovery control method | |
| JP2586800B2 (en) | Pool management method for magnetic tape media | |
| JPH09146782A (en) | How to deal with abnormalities in passing data between jobs | |
| JPH05143422A (en) | Updated journal managing system | |
| JP2610972B2 (en) | Database data integrity method | |
| JP2513906B2 (en) | Abnormal termination processing method | |
| JPH01293452A (en) | Database disaster recovery method | |
| JPH0535414A (en) | Magnetic tape file access system | |
| JPH07105065A (en) | Data backup method | |
| JP2568708B2 (en) | How to update the double link queue | |
| JPH0827752B2 (en) | Resource status holding device | |
| JPH07334313A (en) | Copying method for magnetic disk device | |
| JPS6360414B2 (en) | ||
| JPH0542698B2 (en) | ||
| JPH10143412A (en) | Data base managing system | |
| JP2001014225A (en) | System and method for data backup | |
| JPH06168079A (en) | Data backup system | |
| JPH0233619A (en) | Identification system for memory medium |