JPH02100725A - Reprocessing control system - Google Patents
Reprocessing control systemInfo
- Publication number
- JPH02100725A JPH02100725A JP63254190A JP25419088A JPH02100725A JP H02100725 A JPH02100725 A JP H02100725A JP 63254190 A JP63254190 A JP 63254190A JP 25419088 A JP25419088 A JP 25419088A JP H02100725 A JPH02100725 A JP H02100725A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- service
- control
- performs
- original
- 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
Links
- 238000012958 reprocessing Methods 0.000 title claims description 9
- 238000012545 processing Methods 0.000 claims abstract description 41
- 238000000034 method Methods 0.000 claims description 10
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 206010000210 abortion Diseases 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Retry When Errors Occur (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は再制御方式、特に、データベース(以下DBと
記す)を使用する業務アプリケーションプログラム(以
下APと記す)の制御において、デッドロックやアボー
ト後の再処理制御方式に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a recontrol method, particularly in controlling a business application program (hereinafter referred to as AP) that uses a database (hereinafter referred to as DB), to prevent deadlocks and aborts. Regarding the later reprocessing control method.
従来のこの種の再処理制御方式は、個々のプログラム毎
にDB特有のデッドロックやアボート後の再処理ロジッ
クを組み込む方式となっていた。Conventional reprocessing control methods of this type have incorporated reprocessing logic after DB-specific deadlock and abort into each individual program.
上述した従来の再処理制御方式では、DB特有の処理ロ
ジックが個々のプログラムに組み込む方式となっている
ので、
■プログラマにDBに対するスキルが要求される。In the conventional reprocessing control method described above, processing logic specific to the DB is incorporated into each individual program, so (1) the programmer is required to have DB skills.
■個々の処理ロジックに汎用性がない。■Individual processing logic lacks versatility.
■DB構造の変更、処理内容の変更でプログラムの修正
が必要となる(DB特有の処理ロジック部分にも〉。■Program modifications are required due to changes in the DB structure and processing content (also in the DB-specific processing logic).
という欠点がある。There is a drawback.
本発明の再処理制御方式は、業務本来の処理を行う業務
処理部と、前記処理においてアクセスするデータベース
に特有な処理を行うデータベース制御部とを有すること
を特徴とする。The reprocessing control method of the present invention is characterized by having a business processing section that performs the original processing of the business, and a database control section that performs processing specific to the database accessed in the processing.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明の全体構成図であり、業務処理部1.
DB制御部2.業務DB3および管理DB4から成る。FIG. 1 is an overall configuration diagram of the present invention, in which a business processing section 1.
DB control unit 2. It consists of a business DB3 and a management DB4.
業務処理部1は業務本来の処理、D B制御部2はl)
B特有の処理をそれぞれ行う。The business processing unit 1 handles the original business processing, and the DB control unit 2 handles the original business processing.
Perform processing specific to B.
業務APからのDBアクセスはその結果がまずDB制御
部2へ渡り、デッドロック等の処理を行った後、又はそ
のまま業務処理部]へ制御が渡される。When accessing a DB from a business AP, the result is first passed to the DB control unit 2, and after processing such as deadlock, control is passed to the business processing unit].
第2図はプログラムの実行フローで、まずステップAで
プログラムの制御Rが管理D B 4 、hに作成され
る。次にステップBで業務処理が行われ、正常に終了す
ればステップCでステップAで作成した制御Rを削除す
る。つまり、途中で異常終了した場合には、制御Rが残
っていることになりステップAの部分で再処理か否かの
判定がなされる。再処理の場合、制御R上の情報より処
理が開始される。FIG. 2 shows the program execution flow. First, in step A, the program control R is created in the management D B 4 , h. Next, in step B, business processing is performed, and if it is successfully completed, the control R created in step A is deleted in step C. In other words, if the process ends abnormally midway, control R remains, and it is determined in step A whether or not the process is to be reprocessed. In the case of reprocessing, the processing is started from the information on control R.
第3図は第2図のステップBの詳細でステ・ンブa又は
eの部分で読み込んな処理の取りかかりレコードの情報
を、ステップbによって制御Rに退避しておく。ステッ
プd又はeの処理でテッドロックか発生した場合、DB
制御部2か自動的ロールバックし、ステップCから再実
行する。アボード後の再処理の場合1) Bのオープン
等を行った後ステップaを抜かしてステップCから処理
が開始される。FIG. 3 shows the details of step B in FIG. 2, and the information on the record of the process read in step a or e is saved in control R in step b. If a tedlock occurs in step d or e, the DB
The control unit 2 automatically rolls back and re-executes from step C. In the case of reprocessing after abord 1) After opening B, etc., step a is skipped and processing starts from step C.
以上説明したように本発明は、I)Bを使用する業務A
l)の業務本来の処理部分とI) B特有の処理部分
とに分け、DB特有の処理部分を提供することにより、
業務本来の処理のみのプログラミングがfff能となり
、従来のプログラミング−L数を削減できる効果がある
。As explained above, the present invention provides business A that uses I)B.
By dividing l) into the original business processing part and I) B-specific processing part, and providing the DB-specific processing part,
Programming only for the original processing of business becomes fff-efficient, and there is an effect that the number of conventional programming L can be reduced.
第】図は本発明の全体構成図、第2図は本発明の機能を
組み込んだ業務APの実行フローチャート、第3図は第
2図のB処理の詳細図である。
■・・・業務処理部、2・・・DB制御部、3・・・業
務DB、4・・・管理DB。1 is an overall configuration diagram of the present invention, FIG. 2 is an execution flowchart of a business application incorporating the functions of the present invention, and FIG. 3 is a detailed diagram of the B process in FIG. 2. ■... Business processing unit, 2... DB control unit, 3... Business DB, 4... Management DB.
Claims (1)
アクセスするデータベースに特有な処理を行うデータベ
ース制御部とを有することを特徴とする再処理制御方式
。A reprocessing control method comprising: a business processing unit that performs the original processing of a business; and a database control unit that performs processing specific to a database accessed in the processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63254190A JPH02100725A (en) | 1988-10-07 | 1988-10-07 | Reprocessing control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63254190A JPH02100725A (en) | 1988-10-07 | 1988-10-07 | Reprocessing control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02100725A true JPH02100725A (en) | 1990-04-12 |
Family
ID=17261491
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63254190A Pending JPH02100725A (en) | 1988-10-07 | 1988-10-07 | Reprocessing control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02100725A (en) |
-
1988
- 1988-10-07 JP JP63254190A patent/JPH02100725A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH04229355A (en) | Data access method and data processing system | |
JPH02100725A (en) | Reprocessing control system | |
JPH06187200A (en) | File share control system | |
JPH04190434A (en) | Device and method for data base control | |
KR100352500B1 (en) | Method for automation of form controls generation | |
JPS59114635A (en) | Program managing system | |
JPH03246645A (en) | Data management system | |
JP2581145B2 (en) | Security processing method | |
JP2000010692A (en) | Application device and method provided with redo/undo function and automatic preservation function of work | |
JP2658097B2 (en) | Secondary file creation method | |
JPH05113914A (en) | Data managing system | |
JP2000099383A (en) | System and method for managing database and storage medium | |
JPH01213729A (en) | Exclusive control system for shared file | |
JPH04336341A (en) | File access control system | |
JPS61276040A (en) | File access system | |
JPS6240552A (en) | Transaction managing system | |
JPH02114341A (en) | File exclusive control system | |
JPH04222035A (en) | Method for evading dead lock in computer system | |
JPS63282530A (en) | Division processing control system for expert system | |
JPH08297544A (en) | Method and device for storage control | |
JPS625460A (en) | Input and output control system | |
JPH03147150A (en) | Data processing system | |
JPS6359626B2 (en) | ||
JPH0773086A (en) | Time sequential data holding system | |
JPH1049352A (en) | Dll automatic generation system |