JPH01180651A - Commit synchronization control system for report file output - Google Patents

Commit synchronization control system for report file output

Info

Publication number
JPH01180651A
JPH01180651A JP63005063A JP506388A JPH01180651A JP H01180651 A JPH01180651 A JP H01180651A JP 63005063 A JP63005063 A JP 63005063A JP 506388 A JP506388 A JP 506388A JP H01180651 A JPH01180651 A JP H01180651A
Authority
JP
Japan
Prior art keywords
report
file
commit
rollback
database
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
JP63005063A
Other languages
Japanese (ja)
Inventor
Kunio Ito
伊藤 邦夫
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP63005063A priority Critical patent/JPH01180651A/en
Publication of JPH01180651A publication Critical patent/JPH01180651A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the productivity of a program by making a print record invalid and establishing the rest point of a report file when a commit instruction or a rollback instruction is executed to a data base file. CONSTITUTION:The title system is provided with a report commit control means to execute the real output of the print record to a report file 13 and to establish the rest point of the report file 13 at the time of executing a commit instruction 2, report rollback control means 9 to make invalid the output of the print record after the rest point just before the report file 13 and to establish the rest point of the report file 13 at the time of executing a rollback instruction 4, a report commit control calling means 3 from a program 1 and a report rollback control calling means 5. Thus, since a conflict is not generated even when the output to the report file 13 is executed in the program 1 regardless of a commit request time or a roll back request time to a data base file 12, the productivity of the program is greatly improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はレポートファイル出力のコミット同期制御方式
に関し、特にデータベースファイルを処理するプログラ
ムでレポートファイルへの印刷レコードの出力を行って
いる場合のレポートファイル出力のコミット同期制御方
式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a commit synchronization control method for outputting a report file, and particularly to a report when a program that processes a database file outputs print records to a report file. Concerning commit synchronization control method for file output.

〔従来の技術〕[Conventional technology]

データベースファイル上のレコードを更新したり、デー
タベースファイルにレコードを追加したりする場合には
、1つのトランザクションで処理されるレコードの入出
力がすべて完了した後に、データベースファイルに更新
または追加されたレコードの実出力を行わなければデー
タ更新に矛盾を生じることがある。このため、データベ
ースシステムでは、データベースファイルのレコードの
ロック管理を行うコミットメント制御方式が採用されて
いる。
When updating records on a database file or adding records to a database file, after all input/output of records processed in one transaction is completed, the records updated or added to the database file are If actual output is not performed, inconsistencies may occur in data updates. For this reason, database systems employ a commitment control method that manages locking of records in database files.

また、データベースシステムでは、一般に、レコードの
更新または追加を行う場合には、更新または追加された
レコードをジャーナルファイルに一旦書き出しておき、
トランザクションで処理されるレコードの入出力がすべ
て完了した時点でデータベースファイルのレコードを一
括実更新する方式がとられている。そして、データベー
スファイルを一括実更新するために、データベースファ
イルの実更新を行いすべてのレコードロックを解放する
とともにデータベースファイルの静止点を確立するコミ
ット命令や、直前の静止点以降に実行されたデータベー
スファイルへの更新要求を無効にするとともにデータベ
ースファイルの状態を直前の静止点に戻すロールバック
命令が、C0BOL、RPC等の言語処理プログラムに
設けられている。
Additionally, in database systems, when updating or adding records, the updated or added records are generally written out to a journal file and then
A system is used in which records in a database file are updated all at once when all record input/output processed by a transaction is completed. Then, in order to perform a batch update of the database file, a commit instruction is executed to perform the actual update of the database file, release all record locks, and establish a quiesce point for the database file, as well as a commit command that updates the database file after the previous quiesce point. Language processing programs such as COBOL and RPC are provided with a rollback instruction that invalidates an update request to the database file and returns the state of the database file to the previous quiescent point.

しかし、従来のデータベースシステムでは、レポートフ
ァイルに対しては、印刷レコードを一括実出力する手段
や一旦出力された印刷レコードを無効にする手段が設け
られておらず、プログラム中から印刷レコードの出力要
求があると直ちにレポートファイルへの印刷レコードの
実出力が行われていた。したがって、データベースファ
イルへの更新要求を無効とするロールバック命令が実行
されてもレポートファイルの内容は直前の静止点の状態
に戻されず、レポートファイルの内容とデータベースフ
ァイルの内容との間に矛盾が発生することとなっていた
However, in conventional database systems, there is no means to output print records all at once or to invalidate print records once they have been output for report files, and requests for output of print records from within the program are not provided. When there was, the actual print record was immediately output to the report file. Therefore, even if a rollback instruction is executed to invalidate an update request to the database file, the contents of the report file will not be returned to the state of the previous quiescent point, and there will be an inconsistency between the contents of the report file and the contents of the database file. It was supposed to happen.

このため、従来のデータベースシステムでは、プログラ
ムでコミット命令からコミット命令までの間に出力要求
された印刷レコードを一旦保存しておいてコミット命令
成功後に保存された印刷レコードをレポートファイル・
に−括実出力する方法や、データベースファイルの更新
処理とレポートファイルへの出力処理とをプログラム上
で分離する方法等が採用されていた。
For this reason, in conventional database systems, print records that are requested to be output between commit commands are temporarily saved in the program, and print records saved after the commit command is successful are stored in a report file.
Methods have been adopted, such as a method of outputting data in bulk, and a method of separating database file update processing and report file output processing on the program.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデータベースシステムでは、コミット命
令やロールバック命令はデータベースファイルに対する
同期更新を保証するが、レポートファイルに対しては印
刷レコードの一括実出力や一旦出力された印刷レコード
の無効を行うことができなかったので、プログラマはコ
ミット命令とコミット命令との間にデータベースファイ
ルの更新とレポートファイルへの出力とを同時に含めな
いようにプログラミング上で配慮しなければならず、プ
ログラムの生産性を低下させる原因の1つとなっている
という欠点がある。
In the conventional database system described above, commit commands and rollback commands guarantee synchronous updates to database files, but to report files, it is not possible to output print records all at once or invalidate print records once they have been output. Therefore, programmers must take care in programming to avoid updating the database file and outputting to the report file at the same time between commit instructions, which reduces program productivity. There is a drawback that this is one of the causes.

また、プログラムの実行中にデータベースシステムのダ
ウンが発生すると、データベースファイルは直前のコミ
ット命令の実行時点の内容を保証守れるが、レポートフ
ァイルはプログラムの実行開始時からのすべての印刷レ
コードが消滅するので、データベースファイルの内容と
レポートファイルの内容との間に矛盾が生じる欠点があ
る。
Additionally, if the database system goes down while the program is running, the database file can guarantee the contents as of the execution of the most recent commit command, but the report file will lose all print records from the time the program started running. , there is a drawback that there is a discrepancy between the contents of the database file and the contents of the report file.

本発明の目的は、上述の点に鑑み、データベースファイ
ルに対してコミット命令やロールバンク命令を実行した
ときに、同時に直前のコミット命令の実行以降に出力さ
れた印刷レコードを無効にしてレポートファイルの静止
点を確立できるようにしたレポートファイル出力のコミ
ット同期制御方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to simultaneously invalidate the print records output since the execution of the previous commit instruction when a commit instruction or roll bank instruction is executed for a database file, thereby updating the report file. The object of the present invention is to provide a commit synchronization control method for outputting a report file that enables the establishment of a static point.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のレポートファイル出力のコミット同期制御方式
は、データベースファイルのレコードのロック管理を行
うコミットメント制御方式において、前記データベース
ファイルの実更新およびレコードロックの解放を行い前
記データベースファイルの静止点を確立するコミット命
令の実行時にレポートファイルへの印刷レコードの実出
力を行い前記レポートファイルの静止点を確立するレポ
ートコミット制御手段と、前記データベースファイルの
直前の静止点以降のデータ更新を無効とし前記データベ
ースファイルの静止点を確立するロールバック命令の実
行時に前記レポートファイルの直前の静止点以降の印刷
レコードの出力を無効とし前記レポートファイルの静止
点を確立するレポートロールバック制御手段と、プログ
ラムから前記レポートコミット制御手段を呼び出すレポ
ートコミット制御呼出し手段と、プログラムから前記レ
ポートロールバンク制御手段を呼び出すレポートロール
バック制御呼出し手段とを有する。
The commit synchronization control method for report file output of the present invention is a commitment control method that performs record lock management of a database file, and the commit synchronization control method performs actual updating of the database file and releases record locks to establish a quiescent point of the database file. a report commit control means for establishing a quiescing point of the report file by actually outputting a print record to a report file when the command is executed; and quiescing the database file by invalidating data updates after the immediately preceding quiescing point of the database file report rollback control means for establishing the rest point of the report file by invalidating the output of print records after the immediately preceding rest point of the report file when a rollback command for establishing the rest point is executed; and the report commit control means from a program. and report rollback control calling means for calling the report roll bank control means from a program.

〔作用〕[Effect]

本発明のレポートファイル出力のコミット同期制御方式
では、レポートコミット制御手段がデータベースファイ
ルの実更新およびレコードロックの解放を行いデータベ
ースファイルの静止点を確立するコミット命令の実行時
にレポートファイルへの印刷レコードの実出力を行いレ
ポートファイルの静止点を確立し、レポートロールバッ
ク制御fl1手段がデータベースファイルの直前の静止
点以降のデータ更新を無効としデータベースファイルの
静止点を確立するロールバック命令の実行時にレポート
ファイルの直前の静止点以降の印刷レコードの出力を無
効としレポートファイルの静止点を確立し、レポートコ
ミット制御呼出し手段がプログラムからレポートコミッ
ト制御手段を呼び出し、レポートロールバック制御呼出
し手段がプログラムからレポートロールバック制御手段
を呼び出す。
In the report file output commit synchronization control method of the present invention, the report commit control means updates print records to the report file when executing a commit instruction that actually updates the database file, releases the record lock, and establishes a quiescent point for the database file. The report rollback control fl1 means disables data updates after the previous quiescing point of the database file and establishes the quiescing point of the database file by performing actual output. , the report commit control calling means calls the report commit control means from the program, and the report rollback control calling means causes the report rollback from the program. Invoke control means.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明のレポートファイル出力のコミット同
期制御方式の一実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the commit synchronization control method for outputting a report file according to the present invention.

本実施例のレポートファイル出力のコミット同期制御方
式は、利用者プログラムlと、利用者プログラム1に含
まれるコミット命令2と、コミット命令2に含まれるレ
ポートコミット制御呼出し手段3と、利用者プログラム
1に含まれるロールバック命令4と、ロールバック命令
4に含まれるレポートロールバンク制御呼出し手段5と
、データベースコミット制御手段6と、レボ−トコミン
ト制御手段7と、データベースファルバ7り制御手段8
と、レポートロールバンク制御1手段9と、ファイル管
理テーブル10と、レポートバッファ11と、データベ
ースファイル12と、レポートファイル13と、レポー
ト実出力手段14と、印刷装置15と、セーブエリア1
6とから、その主要部が構成されている。
The commit synchronization control method for outputting a report file in this embodiment consists of a user program 1, a commit instruction 2 included in the user program 1, a report commit control calling means 3 included in the commit instruction 2, and a user program 1. a rollback instruction 4 included in the rollback instruction 4, a report roll bank control calling means 5, a database commit control means 6, a commit control means 7, and a database commit control means 8 included in the rollback instruction 4.
, report roll bank control 1 means 9, file management table 10, report buffer 11, database file 12, report file 13, report actual output means 14, printing device 15, and save area 1
The main part is composed of 6.

次に、このように構成された本実施例のレポートファイ
ル出力のコミット同期制御方式の動作について説明する
Next, the operation of the commit synchronization control method for report file output according to the present embodiment configured as described above will be explained.

利用者プログラム1でコミット命令2が実行されると、
データベースコミット制御手段6が呼び出される。
When commit instruction 2 is executed in user program 1,
Database commit control means 6 is called.

データベースコミット制御手段6は、データベースファ
イル12の実更新およびすべてのレコードロックの解放
を行い、データベースファイル12の静止点を確立する
(例えば、ジャーナルファイル(図示せず)にジャーナ
ルを出力する)。
The database commit control means 6 performs actual updating of the database file 12 and releases all record locks, and establishes a quiescent point for the database file 12 (for example, outputs a journal to a journal file (not shown)).

また、これと同時に、コミット命令2内のレポートコミ
ット制御呼出し手段3により、レポートコミット制御手
段7が呼び出されて制御を渡される。
At the same time, the report commit control calling means 3 in the commit instruction 2 calls the report commit control means 7 and transfers control thereto.

レポートコミット制御手段7は、レポートコミット制御
呼出し手段3から制御を渡されると、レポートバッファ
11の内容をレポートファイル13に書き出し、レポー
トファイル13の静止点を確立する(例えば、レポート
ファイル13が格納されているポリニームのボリューム
目録中に最終ブロックアドレスを書き込む)。このとき
、レポートコミット制御手段7は、レポートバッファ1
1に印刷レコードが1ブロック分の数だけ出力されてい
ない場合には、印刷レコードの未出力レコード部にレコ
ードが空であることを示す文字でパディングを行ってか
らレポートファイル13にブロック単位の印刷レコード
の書出しを行う。なお、レポートバッファ11がすべて
空の場合には、レポートファイル13への印刷レコード
のブロック単位の書出しを行わない。次に、レポートコ
ミット制御手段7は、ファイル管理テーブル10の内容
とレポートバッファ11の内容とをセーブエリア16に
退避させる。
When the report commit control means 7 receives control from the report commit control calling means 3, it writes the contents of the report buffer 11 to the report file 13 and establishes a quiescent point for the report file 13 (for example, when the report file 13 is stored). write the final block address in the volume inventory of the polyneme that is being used). At this time, the report commit control means 7 controls the report buffer 1
If the number of print records corresponding to one block has not been output in 1, the unoutput record part of the print record is padded with characters indicating that the record is empty, and then the block unit is printed in the report file 13. Export records. Note that if the report buffer 11 is completely empty, print records are not written in blocks to the report file 13. Next, the report commit control means 7 saves the contents of the file management table 10 and the contents of the report buffer 11 to the save area 16.

レポートコミット制御手段7によってレポートファイル
13の静止点が確立され、コミット命令2の実行時点の
レポートファイル13上の内容は保証されるので、この
後に利用者プログラムlの異常ヤデータベースシステム
のダウンが発生してもレポートファイル13中の印刷レ
コードは保存されており、利用者プログラム1の再実行
やデータベースシステムの再立上げ後に保存された印刷
レコードをレポート実出力手段14によって印刷装置1
5にレポート出力情報として印刷出力することができる
The report commit control means 7 establishes a quiescent point for the report file 13, and the contents of the report file 13 at the time of execution of the commit command 2 are guaranteed, so that an abnormality in the user program I or the database system goes down after this. However, the print records in the report file 13 are still saved, and after the user program 1 is re-executed or the database system is restarted, the saved print records are sent to the printing device 1 by the report actual output means 14.
5 can be printed out as report output information.

この後、利用者プログラム1でロールバック命令4が実
行されると、データベースロールバック制御手段8が呼
び出される。
Thereafter, when the rollback instruction 4 is executed by the user program 1, the database rollback control means 8 is called.

データベースロールバンク制御手段8は、データベース
ファイル12の直前の静止点以降のデータ更新を無効と
して、データベースファイル12の静止点を確立する(
例えば、ジャーナルファイルの内容をデータベースファ
イル12に復元する)。
The database roll bank control means 8 establishes a quiescent point of the database file 12 by invalidating data updates after the immediately previous quiescent point of the database file 12 (
For example, restoring the contents of the journal file to the database file 12).

また、これと同時に、ロールバンク命令4内のレポート
ロールバック制御呼出し手段5により、レポートロール
バック制御手段9が呼び出されて制御が渡される。
At the same time, the report rollback control calling means 5 in the roll bank instruction 4 calls the report rollback control means 9 and transfers control thereto.

レポートロールバック制御手段9は、レポートロールバ
ンク制御呼出し手段5から制御を渡されると、セーブエ
リア16に退避されたファイル管理テーブルlOの内容
とレポートバッファ11の内容とをファイル管理テーブ
ル10とレポートバッファ11とにそれぞれ復元する。
When the report rollback control means 9 receives control from the report roll bank control calling means 5, the report rollback control means 9 transfers the contents of the file management table IO saved in the save area 16 and the contents of the report buffer 11 to the file management table 10 and the report buffer. 11 and 11 respectively.

したがって、ファイル管理テーブル10およびレポート
バッファ11は直前のコミット命令2の実行時の状態に
まで戻され、直前のコミット命令2の実行以降に出力要
求された印刷レコードが無効とされる。すなわち、レポ
ートバッファ11に格納されている印刷レコードはレポ
ートバッファ11の復元により無効とされ、レポートフ
ァイル13に書出し済みの印刷レコードはファイル管理
テーブルlOの復元により無効とされて以降の印刷レコ
ードのブロック単位の書出しによって重ね書きされる。
Therefore, the file management table 10 and report buffer 11 are returned to the state at the time of execution of the immediately previous commit instruction 2, and print records requested to be output after the immediately previous execution of the commit instruction 2 are invalidated. In other words, the print records stored in the report buffer 11 are invalidated by restoring the report buffer 11, and the print records already written to the report file 13 are invalidated by restoring the file management table 10, and the blocks of print records after that are invalidated by restoring the report buffer 11. Overwritten by unit writing.

次に、レポートコミット制御手段7およびレポートロー
ルバンク制御手段8における処理を第2図に参照しなが
らさらに具体的に説明する。なお、ここでは、レポート
バッファ11には、3つの印刷レコードa、印刷レコー
ドbおよび印刷レコードCを格納できるようになってお
り、レポートバッファ11が印刷レコードa、印刷レコ
ードbおよび印刷レコードCで満杯になると格納された
3つの印刷レコードa、印刷レコードbおよび印刷レコ
ードCが1ブロツクとしてレポートファイル13に書き
込まれるようになっているものとする。
Next, the processing in the report commit control means 7 and the report roll bank control means 8 will be explained in more detail with reference to FIG. Note that here, the report buffer 11 can store three print records a, print record b, and print record C, and the report buffer 11 is full of print records a, print record b, and print record C. Assume that the three stored print records a, print record b, and print record C are written as one block in the report file 13.

レポートコミット制御手段7がレポートファイル13に
対して印刷レコード#4を出力した後にコミット命令2
の実行(コミット要求)に基づいてレポートコミット制
御手段7の呼出しがあると、ファイル管理テーブルlO
の内容とレポートバッファ11の内容とがセーブエリア
16に退避される。また、レポートバッファ11の内容
がレポートファイル13に出力されるが、レポートバッ
ファ11上の印刷レコードbおよび印刷レコードCは空
レコードであるのでパディングされてから出力される。
After the report commit control means 7 outputs print record #4 to the report file 13, commit command 2 is issued.
When the report commit control means 7 is called based on the execution (commit request), the file management table lO
and the contents of the report buffer 11 are saved to the save area 16. Further, the contents of the report buffer 11 are output to the report file 13, but since print records b and print records C on the report buffer 11 are empty records, they are padded before being output.

さらに、次のブロックの出力がブロックB2となるよう
にファイル管理テーブルIOの内容が更新される。
Further, the contents of the file management table IO are updated so that the next block output is block B2.

この後、印刷レコード#5および印刷レコード#6の出
力要求があると、ブロックB2がレポートファイル13
上のブロックB2に再度書き出される。
After this, when there is a request to output print record #5 and print record #6, block B2 is transferred to the report file 13.
It is written out again to the upper block B2.

さらに、印刷レコード#7(図示せず)の出力要求があ
った後にロールバック命令4の実行(ロールバック要求
)に基づいてレポートロールバック制御手段9の呼出し
があると、セーブエリア16に保存されたファイル管理
テーブル10の内容とレポートバッファ11の内容とで
ファイル管理テーブル10およびレポートバッファ11
がコミット要求直後の状態に復元される。
Furthermore, when the report rollback control means 9 is called based on the execution of the rollback instruction 4 (rollback request) after there is a request to output print record #7 (not shown), the report is saved in the save area 16. The file management table 10 and the report buffer 11 are created by the contents of the file management table 10 and the contents of the report buffer 11.
is restored to the state immediately after the commit request.

この後、印刷レコード#8 (図示せず)の出力要求が
行われると、復元されたレポートバッファ11の印刷レ
コードbの位置に格納され、印刷レコード#9(図示せ
ず)の出力要求後に印刷レコード性4.印刷レコード#
8および印刷レコード#9がレポートファイル13の・
ブロックB2に出力される。この結果、印刷レコード付
5.印刷レコード#6および印刷レコード#7は消去さ
れる。
After that, when an output request is made for print record #8 (not shown), it is stored in the position of print record b in the restored report buffer 11, and is printed after the output request for print record #9 (not shown) is made. Record quality 4. Print record #
8 and print record #9 of report file 13.
It is output to block B2. As a result, a print record is attached5. Print record #6 and print record #7 are deleted.

このように、利用者プログラム1の異常またはデータベ
ースシステムのダウンが印刷レコード#4の出力後のコ
ミット命令4の実行以降に発生しても、印刷レコード#
4までの内容はレポートファイル13に出力されて保証
される。
In this way, even if an error occurs in user program 1 or the database system goes down after executing commit instruction 4 after outputting print record #4, print record #
The contents up to 4 are output to the report file 13 and guaranteed.

C発明の効果〕 以上説明したように本発明は、コミット命令の実行時に
レポートファイルへの印刷レコードの実出力を行いレポ
ートファイルの静止点を確立するレポートコミット制御
手段、ロールバック命令の実行時にレポートファイルの
直前の静止点以降の印刷レコードの出力を無効としレポ
ートファイルの静止点を確立するレポートロールバック
制御手段、プログラムからレポートコミット制御手段を
呼び出すレボ−トコミント制御呼出し手段およびプログ
ラムからレポートロールバンク制御手段を呼び出すレポ
ートロールバンク制御呼出し手段を設けたことにより、
プログラムの中でレポートファイルへの出力をデータベ
ースファイルへのコミット要求時点やロールバンク要求
時点と無関係に実行してもレポートファイルの内容がデ
ータベースファイルの内容と矛盾を生じないので、プロ
グラムの生産性を大きく向上させることができる効果が
ある。
C. Effects of the Invention] As described above, the present invention provides a report commit control means for actually outputting a print record to a report file when a commit command is executed and establishing a quiescent point of the report file, A report rollback control means for disabling the output of print records after the immediately previous resting point of a file and establishing a resting point for a report file, a revotocomint control calling means for calling a report commit control means from a program, and a report roll bank control from a program. By providing a report roll bank control calling means for calling the means,
Even if output to a report file is executed in a program regardless of the time of a commit request to a database file or a roll bank request, the contents of the report file will not conflict with the contents of the database file, improving program productivity. There are effects that can be greatly improved.

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

第1図は本発明のレポートファイル出力のコミット同期
制御方式の一実施例の構成を示すブロック図、 第2図は第1図中のレポートコミット制御手段およびレ
ポートロールバック制御手段の処理を説明するための図
である。 図において、 1・・・利用者プログラム、 2・・・コミット命令、 3・・・レボ−トコミント制御呼出し手段、4・・・ロ
ールバック命令、 5・・・レポートロールバック制御呼出し手段、6・・
・データベースコミット制御手段、7・・・レポートコ
ミット制御手段、 8・・・データベースロールバック制御手段、9・・・
レポートロールバック制御手段、10・・・ファイル管
理テーブル、 11・・・レポートバッファ、 12・・・データベースファイル、 13・・・レポートファイル、 14・・・レポート実出力手段、 15・・・印刷装置、 16・・・セーブエリアである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the report file output commit synchronization control method of the present invention, and FIG. 2 explains the processing of the report commit control means and report rollback control means in FIG. 1. This is a diagram for In the figure, 1... User program, 2... Commit instruction, 3... Revolution command control calling means, 4... Rollback instruction, 5... Report rollback control calling means, 6.・
- Database commit control means, 7... Report commit control means, 8... Database rollback control means, 9...
Report rollback control means, 10... File management table, 11... Report buffer, 12... Database file, 13... Report file, 14... Report actual output means, 15... Printing device , 16... This is a save area.

Claims (1)

【特許請求の範囲】  データベースファイルのレコードのロック管理を行う
コミットメント制御方式において、 前記データベースファイルの実更新およびレコードロッ
クの解放を行い前記データベースファイルの静止点を確
立するコミット命令の実行時にレポートファイルへの印
刷レコードの実出力を行い前記レポートファイルの静止
点を確立するレポートコミット制御手段と、前記データ
ベースファイルの直前の静止点以降のデータ更新を無効
とし前記データベースファイルの静止点を確立するロー
ルバック命令の実行時に前記レポートファイルの直前の
静止点以降の印刷レコードの出力を無効とし前記レポー
トファイルの静止点を確立するレポートロールバック制
御手段と、 プログラムから前記レポートコミット制御手段を呼び出
すレポートコミット制御呼出し手段と、プログラムから
前記レポートロールバック制御手段を呼び出すレポート
ロールバック制御呼出し手段と、 を有することを特徴とするレポートファイル出力のコミ
ット同期制御方式。
[Scope of Claims] In a commitment control method that manages locking of records in a database file, when a commit instruction is executed to actually update the database file, release the record lock, and establish a quiescent point of the database file, the database file is transferred to a report file. report commit control means for actually outputting print records of and establishing a quiescing point for the report file; and a rollback instruction for invalidating data updates after the immediately preceding quiescing point for the database file and establishing the quiescing point for the database file. report rollback control means for establishing a resting point of the report file by invalidating the output of print records after the immediately preceding resting point of the report file during execution; and report commit control calling means for calling the report commit control means from a program. and a report rollback control calling means for calling the report rollback control means from a program. A commit synchronous control method for outputting a report file.
JP63005063A 1988-01-12 1988-01-12 Commit synchronization control system for report file output Pending JPH01180651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63005063A JPH01180651A (en) 1988-01-12 1988-01-12 Commit synchronization control system for report file output

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63005063A JPH01180651A (en) 1988-01-12 1988-01-12 Commit synchronization control system for report file output

Publications (1)

Publication Number Publication Date
JPH01180651A true JPH01180651A (en) 1989-07-18

Family

ID=11600937

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63005063A Pending JPH01180651A (en) 1988-01-12 1988-01-12 Commit synchronization control system for report file output

Country Status (1)

Country Link
JP (1) JPH01180651A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04295932A (en) * 1991-03-25 1992-10-20 Nec Corp Previous check mechanism for file destruction
WO2021034568A1 (en) * 2019-08-19 2021-02-25 Landis+Gyr Innovations, Inc. Sequential storage of collected data from heterogeneous intervals

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04295932A (en) * 1991-03-25 1992-10-20 Nec Corp Previous check mechanism for file destruction
WO2021034568A1 (en) * 2019-08-19 2021-02-25 Landis+Gyr Innovations, Inc. Sequential storage of collected data from heterogeneous intervals
US10992602B2 (en) 2019-08-19 2021-04-27 Landis+Gyr Innovations, Inc. Sequential storage of collected data from heterogeneous intervals

Similar Documents

Publication Publication Date Title
CA1273434A (en) Method for restarting a long-running, fault-tolerant operation in a transaction-oriented data base system without burdening the system log
US6061769A (en) Data set backup in a shared environment
US5701457A (en) Method of designated time interval reservation access process of online updating and backing up of large database versions without reserving exclusive control
JPH06187275A (en) Testing method for server application
JP3052908B2 (en) Transaction program parallel execution method and transaction program parallel execution method
JPH08328933A (en) File access control system for parallel processing system
US6092084A (en) One system of a multisystem environment taking over log entries owned by another system
JPH04284548A (en) Data base exclusive controlling system
JPH01180651A (en) Commit synchronization control system for report file output
Strom et al. A recoverable object store
JPH0370253B2 (en)
KR950011056B1 (en) Method of log/recovery management in transaction processing system
JP3330006B2 (en) Network system including information storage system, input system of the system, and
JP2623968B2 (en) Commit synchronization control method for journalless files
WO2016117322A1 (en) Processing request device, processing device, database system, database updating method, and program recording medium
JPH0962554A (en) Quiescent point save generation system
JPH02257228A (en) File control system for data base system
JP3608206B2 (en) Private branch exchange
JPH08129501A (en) Reservation access processing method for data base
JP2920978B2 (en) Library update method
JPH04268648A (en) Control system for synchronizing terminal printer output and commit
JP2000035909A (en) Method and system for managing database
JPH0448333A (en) Automatic control shift system after roll-back
JPH01214947A (en) Data preserving system
JPH07248950A (en) Linking method for updating of resource