JPH02100725A - Reprocessing control system - Google Patents

Reprocessing control system

Info

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
Application number
JP63254190A
Other languages
Japanese (ja)
Inventor
Ichiro Iwashima
岩島 一郎
Atsushi Endo
遠藤 敦
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP63254190A priority Critical patent/JPH02100725A/en
Publication of JPH02100725A publication Critical patent/JPH02100725A/en
Pending legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Abstract

PURPOSE:To enable programming only by the original processing of service by providing a service processing part which performs the original processing of the service and a data base control part which performs processing characteristic to a data base accessed in the processing. CONSTITUTION:This system consists of the service processing part 1, the data base (DB) control part 2, a service DB3 and a control DB4, the service processing part 1 performs the original processing of the service, and the DB control part 2 performs the processing characteristic to the DBs. When a DB is accessed by a service application program (AP), the result is passed to the DB control part 2 first and the control is passed to the service processing part 1 after deadlock processing or as it is. Thus, the service AP which uses the DBs is divided into the original processing part of the service and the processing part characteristic to the DBs and the latter is offered to enable only the original processing of the service to be programmed, thereby decreasing the man- hours for programming.

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.

〔従来の技術〕[Conventional technology]

従来のこの種の再処理制御方式は、個々のプログラム毎
にDB特有のデッドロックやアボート後の再処理ロジッ
クを組み込む方式となっていた。
Conventional reprocessing control methods of this type have incorporated reprocessing logic after DB-specific deadlock and abort into each individual program.

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

上述した従来の再処理制御方式では、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.

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

本発明の再処理制御方式は、業務本来の処理を行う業務
処理部と、前記処理においてアクセスするデータベース
に特有な処理を行うデータベース制御部とを有すること
を特徴とする。
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.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 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.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、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.

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

第】図は本発明の全体構成図、第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)

【特許請求の範囲】[Claims] 業務本来の処理を行う業務処理部と、前記処理において
アクセスするデータベースに特有な処理を行うデータベ
ース制御部とを有することを特徴とする再処理制御方式
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.
JP63254190A 1988-10-07 1988-10-07 Reprocessing control system Pending JPH02100725A (en)

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)

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