JP2812037B2 - Restart control method for business processing programs - Google Patents

Restart control method for business processing programs

Info

Publication number
JP2812037B2
JP2812037B2 JP4037684A JP3768492A JP2812037B2 JP 2812037 B2 JP2812037 B2 JP 2812037B2 JP 4037684 A JP4037684 A JP 4037684A JP 3768492 A JP3768492 A JP 3768492A JP 2812037 B2 JP2812037 B2 JP 2812037B2
Authority
JP
Japan
Prior art keywords
failure
business processing
processing program
business
processing
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 - Fee Related
Application number
JP4037684A
Other languages
Japanese (ja)
Other versions
JPH05233341A (en
Inventor
文雄 金子
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 JP4037684A priority Critical patent/JP2812037B2/en
Publication of JPH05233341A publication Critical patent/JPH05233341A/en
Application granted granted Critical
Publication of JP2812037B2 publication Critical patent/JP2812037B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、業務処理プログラムの
再起動制御方式に関し、特に計算機システムまたは端末
における業務処理プログラムの障害発生時の再起動/停
止を決定し、障害発生時のデータの扱いを決定する再起
動制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for controlling the restart of a business processing program, and more particularly to a method for determining restart / stop of a business processing program in a computer system or terminal when a failure occurs, and handling data when the failure occurs. And a restart control method for determining

【0002】[0002]

【従来の技術】従来、図2に示すように計算機システム
または端末の業務処理プログラム100で、データ処理
中(ステップ101)に障害が発生した場合(ステップ
102)、障害処理200に制御が移る。障害処理20
0では、障害発生時の状態から障害情報を取得し(ステ
ップ201)、操作卓500に障害情報を出力する(ス
テップ202)。その後、オペレーティングシステム3
00に制御が渡り、業務処理プログラム100の再起動
を実行する(ステップ301)。再起動された業務処理
プログラム100は、障害が発生した時点のデータから
業務処理を再開する(ステップ103)。
2. Description of the Related Art Conventionally, as shown in FIG. 2, when a failure occurs during data processing (step 101) in a business processing program 100 of a computer system or a terminal (step 102), control is transferred to a failure processing 200. Failure processing 20
In the case of 0, failure information is acquired from the state at the time of occurrence of the failure (step 201), and the failure information is output to the console 500 (step 202). Then, operating system 3
The control is passed to 00, and the business processing program 100 is restarted (step 301). The restarted business processing program 100 restarts the business processing from the data at the time when the failure occurred (step 103).

【0003】[0003]

【発明が解決しようとする課題】上述した従来の計算機
システムまたは端末における業務処理プログラムの再起
動制御方式では、業務処理プログラムは再起動後、障害
発生時点のデータから処理を再開するので、同一原因で
障害が再発する場合があり、障害発生による業務処理プ
ログラムの再起動を何度も繰り返し、業務処理が全く進
まないといった欠点があり、また、再起動時障害発生時
のデータを処理しないで廃棄し、次のデータ処理を行う
方式も考えられるが、再起動後の正常なデータ処理の機
会を奪うといった欠点がある。
In the above-described conventional restart control method of the business processing program in the computer system or the terminal, the business processing program restarts the processing from the data at the time of the failure after the restart. May cause a reoccurrence, and the business process program may be restarted due to the occurrence of the fault over and over again, causing no business process to proceed at all. Although a method of performing the next data processing is also conceivable, there is a drawback that a normal data processing opportunity after restart is taken away.

【0004】本発明の目的は、同一原因の障害による業
務処理プログラムの再起動を繰り返さない、計算機シス
テムまたは端末における業務処理プログラムの再起動制
御方式を提供することである。
An object of the present invention is to provide a restart control method of a business processing program in a computer system or a terminal which does not repeat restarting of the business processing program due to a failure of the same cause.

【0005】[0005]

【課題を解決するための手段】本発明の計算機または端
末における業務処理プログラムの再起動制御方式は、業
務処理プログラムでの障害発生時、障害情報を取得し、
外部記憶装置に格納する機能と、前回と今回の障害情報
を比較し、状況に応じて 業務処理プログラムを再起動し、障害が発生した入力
データから再び処理を行う。 業務処理プログラムを再起動し、障害が発生した入力
データを処理しないで、次のデータから処理を行う。 業務処理プログラムを停止する のいずれかの処理を決定する機能を有する障害処理と、 操作卓からのコマンドにより業務処理プログラムの再起
動の許可/禁止を制御する再起動制御処理と、 業務処理プログラムを再起動するオペレーティングシス
テムとを備えている。
According to the present invention, there is provided a restart control system for a business process program in a computer or a terminal, which obtains fault information when a fault occurs in the business process program.
The function stored in the external storage device is compared with the previous and current failure information, the business processing program is restarted according to the situation, and processing is performed again from the input data where the failure occurred. The business processing program is restarted, and processing is performed from the next data without processing the input data in which the failure has occurred. Failure processing having a function of determining one of the following: a business processing program stop; a restart control processing for controlling permission / prohibition of restarting the business processing program by a command from an operator console; Operating system to be restarted.

【0006】[0006]

【作用】したがって、同一原因の障害による業務処理プ
ログラムの再起動を繰り返すことがない。
Therefore, the restart of the business processing program due to the failure of the same cause is not repeated.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0008】図1は、本発明の一実施例の業務処理プロ
グラムの再起動方式の流れ図である。
FIG. 1 is a flowchart of a restart method of a business processing program according to an embodiment of the present invention.

【0009】業務処理プログラム100で入力データ処
理中(ステップ101)に障害が発生した場合(ステッ
プ102)、障害処理200に制御が移る。
When a failure occurs during input data processing (step 101) in the business processing program 100 (step 102), control is transferred to the failure processing 200.

【0010】障害処理200では、障害発生時の状態か
ら障害情報(日時、データ種別、障害種別)を取得し
(ステップ201)、その情報を操作卓500に出力す
る(ステップ202)と共に、磁気ディスク装置等の外
部記憶装置600内に設定してある障害情報格納ファイ
ル700に障害情報を格納する(ステップ203)。な
お、障害情報格納ファイル700は、複数組格納できる
容量を有し、ファイルが一杯になった時は、先頭に戻り
上書きする方式で管理される。次に、障害情報格納ファ
イル700から前回の障害情報を読出し、今回の障害情
報と比較する(ステップ204)。一定時間内か(ステ
ップ205)、同一データ種別か(ステップ206)、
同一障害種別か(ステップ207)、障害の発生回数
(ステップ208,209)および再起動設定ファイル
800の状態(許可/禁止)(ステップ210,21
1)をチェックする。なお、障害発生回数は一定時間経
過すると初期値にリセットされる。再起動設定ファイル
800については、後述する再起動制御処理400にて
説明する。上記チェックの結果、同一原因の障害発生に
よる業務処理プログラム100の再起動を繰り返すと判
断し、業務処理プログラム100の停止を決定し(ステ
ップ212)、オペレーティングシステム300に制御
を渡す。オペレーティングシステム300では、障害発
生による業務処理プログラム停止に伴う後処理を実行し
(ステップ301)、処理を終了する。上記チェックの
結果、同一データの再処理を行う場合、業務処理プログ
ラム100の再起動を決定し(ステップ213)、オペ
レーティングシステム300にその旨を通知する。オペ
レーティングシステム300では、業務処理プログラム
100の再起動を実行する(ステップ302)。再起動
された業務処理プログラム100は、障害が発生した時
点のデータから業務処理を再開する(ステップ10
3)。上記チェックの結果、現在のデータ処理では同一
原因の障害発生による業務処理プログラム100の再起
動を繰り返すと判断し、業務処理プログラム100の再
起動後、次のデータからの処理を行うと決定し(ステッ
プ214)、オペレーティングシステム300に制御を
移す。オペレーティングシステム300では、業務処理
プログラム100の再起動を実行する(ステップ30
3)。再起動された業務処理プログラム100は、障害
が発生したデータを廃棄し、次のデータから処理を再開
する。また、データを廃棄した旨の通知を操作卓500
に出力する(ステップ104)。
In the fault processing 200, fault information (date and time, data type, fault type) is obtained from the state at the time of the fault occurrence (step 201), and the information is output to the console 500 (step 202), and the magnetic disk The failure information is stored in the failure information storage file 700 set in the external storage device 600 such as a device (step 203). The failure information storage file 700 has a capacity capable of storing a plurality of sets, and when the file is full, the failure information storage file 700 is managed by returning to the top and overwriting. Next, the previous failure information is read from the failure information storage file 700 and compared with the current failure information (step 204). Within a fixed time (step 205), the same data type (step 206),
Whether the failure type is the same (step 207), the number of failure occurrences (steps 208 and 209), and the state of the restart setting file 800 (permission / prohibition) (steps 210 and 21)
Check 1). Note that the failure occurrence count is reset to an initial value after a certain period of time. The restart setting file 800 will be described in a restart control process 400 described later. As a result of the above check, it is determined that the restart of the business processing program 100 due to the occurrence of a failure of the same cause is repeated, and the stop of the business processing program 100 is determined (step 212), and control is passed to the operating system 300. The operating system 300 executes post-processing accompanying the stop of the business processing program due to the occurrence of a failure (step 301), and ends the processing. As a result of the above check, when the same data is to be reprocessed, the restart of the business processing program 100 is determined (step 213), and the operating system 300 is notified of that. The operating system 300 restarts the business processing program 100 (step 302). The restarted business processing program 100 restarts the business processing from the data at the time when the failure occurred (step 10).
3). As a result of the above check, in the current data processing, it is determined that restart of the business processing program 100 due to the occurrence of a failure of the same cause is repeated, and after the restart of the business processing program 100, it is determined that processing from the next data is performed ( Step 214), the control is transferred to the operating system 300. In the operating system 300, the business process program 100 is restarted (step 30).
3). The restarted business processing program 100 discards the failed data and resumes processing from the next data. In addition, a notice to the effect that the data has been discarded is sent to the console 500.
(Step 104).

【0011】再起動制御処理400は、操作卓500か
らのコマンドを入力し(ステップ401)、妥当性チェ
ックを行い(ステップ402)、エラーがあったら操作
卓500にエラーメッセージを出力する(ステップ40
3)。エラーがなかったら、外部記憶装置600上にあ
る再起動設定ファイル800に再起動の“許可/禁止”
の状態をセットする(ステップ404)。
The restart control processing 400 inputs a command from the console 500 (step 401), performs a validity check (step 402), and outputs an error message to the console 500 if an error occurs (step 40).
3). If there is no error, the restart setting file 800 on the external storage device 600 indicates “permission / prohibition” of restart.
Is set (step 404).

【0012】[0012]

【発明の効果】以上説明したように本発明は、業務処理
プログラムの障害発生時、障害情報を取得し、外部記憶
装置に格納し、前回と今回の障害情報や、障害発生回数
により、業務処理プログラムの再起動の実行またはプロ
グラムの停止、および業務処理プログラムの再起動にお
いて、障害発生時のデータから処理を再開するか次のデ
ータから行うかを決定することにより、同一原因の障害
による業務処理プログラムの再起動を繰り返さないとい
う効果を有する。
As described above, according to the present invention, when a failure occurs in a business processing program, failure information is acquired and stored in an external storage device, and business processing is performed based on previous and current failure information and the number of times a failure has occurred. When restarting the program or stopping the program, and restarting the business processing program, determine whether to restart the processing from the data at the time of the failure or from the next data, and perform business processing due to the failure of the same cause This has the effect of not restarting the program.

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

【図1】本発明の一実施例の業務処理プログラムの再起
動制御方式の流れ図である。
FIG. 1 is a flowchart of a restart control method of a business processing program according to an embodiment of the present invention.

【図2】従来技術の業務処理プログラムの再起動制御方
式の流れ図である。
FIG. 2 is a flowchart of a conventional restart control method for a business processing program.

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

100 業務処理プログラム 200 障害処理 300 オペレーティングシステム 400 再起動制御処理 500 操作卓 600 外部記憶装置 700 障害情報格納ファイル 800 再起動設定ファイル 101〜104,201〜214,301〜303,4
01〜404ステップ
REFERENCE SIGNS LIST 100 business processing program 200 failure processing 300 operating system 400 restart control processing 500 console 600 external storage device 700 failure information storage file 800 restart setting file 101 to 104, 201 to 214, 301 to 303, 4
01-404 steps

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 業務処理プログラムでの障害発生時、障
害情報を取得し、外部記憶装置に格納する機能と、前回
と今回の障害情報を比較し、状況に応じて 業務処理プログラムを再起動し、障害が発生した入力
データから再び処理を行う。 業務処理プログラムを再起動し、障害が発生した入力
データを処理しないで、次のデータから処理を行う。 業務処理プログラムを停止する のいずれかの処理を決定する機能を有する障害処理と、 操作卓からのコマンドにより業務処理プログラムの再起
動の許可/禁止を制御する再起動制御処理と、 業務処理プログラムを再起動するオペレーティングシス
テムを備える、計算機または端末における業務処理プロ
グラムの再起動制御方式。
When a failure occurs in a business processing program, a function for acquiring the failure information and storing it in an external storage device is compared with the previous and current failure information, and the business processing program is restarted according to the situation. The processing is performed again from the input data in which the failure has occurred. The business processing program is restarted, and processing is performed from the next data without processing the input data in which the failure has occurred. Failure processing having a function of determining one of the following: a business processing program stop; a restart control processing for controlling permission / prohibition of restarting the business processing program by a command from an operator console; A restart control method for a business process program in a computer or a terminal, comprising a restarting operating system.
JP4037684A 1992-02-25 1992-02-25 Restart control method for business processing programs Expired - Fee Related JP2812037B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4037684A JP2812037B2 (en) 1992-02-25 1992-02-25 Restart control method for business processing programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4037684A JP2812037B2 (en) 1992-02-25 1992-02-25 Restart control method for business processing programs

Publications (2)

Publication Number Publication Date
JPH05233341A JPH05233341A (en) 1993-09-10
JP2812037B2 true JP2812037B2 (en) 1998-10-15

Family

ID=12504421

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4037684A Expired - Fee Related JP2812037B2 (en) 1992-02-25 1992-02-25 Restart control method for business processing programs

Country Status (1)

Country Link
JP (1) JP2812037B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3711789B2 (en) * 1999-06-08 2005-11-02 日立オムロンターミナルソリューションズ株式会社 System automatic restart control method and system automatic restart control system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5783853A (en) * 1980-11-13 1982-05-25 Nippon Telegr & Teleph Corp <Ntt> Fault processing system for distributed system
JPS59148956A (en) * 1983-02-15 1984-08-25 Nec Corp Display system of defective information
JPS6269327A (en) * 1985-09-24 1987-03-30 Hitachi Ltd Automatic recovery system

Also Published As

Publication number Publication date
JPH05233341A (en) 1993-09-10

Similar Documents

Publication Publication Date Title
CN107590016B (en) Power-down restarting identification method and device
CN112579356B (en) Fault processing method and server
CN110647463B (en) Method and device for restoring test breakpoint and electronic equipment
CN111371642B (en) Network card fault detection method, device, equipment and storage medium
JP2812037B2 (en) Restart control method for business processing programs
US8171345B2 (en) Disablement of an exception generating operation of a client system
JP3551079B2 (en) Recovery method and device after replacement of modified load module
CN113127245B (en) Method, system and device for processing system management interrupt
CN113759790A (en) System optimization method and device for unmanned equipment
WO2018036318A1 (en) Method and device for collecting abnormality information during startup of operating system
JP2001005693A (en) System and method for automatically restoring fault and recording medium recording automatic fault restoration program
CN113613063B (en) Application anomaly reduction method, device and storage medium
CN113742299B (en) File compression and decompression method and file compression and decompression device
CN112445761B (en) File checking method and device and storage medium
JPH06266573A (en) Fault recovery information managing system
JPH04365140A (en) Restart system for information processor
JPS59163663A (en) Detecting method of breakdown of simple file
JP2001229033A (en) Device for re-executing job net in file failure
JP2004334430A (en) Method, system and program for processing work flow statistical information, and storage medium with the program stored therein
JP3263987B2 (en) Automatic IPL initial setting processing method
JPH08235029A (en) Storage method for system fault information
JP2003345747A (en) Method and device for managing processing performance, program and recording medium with program recorded thereon
JP3490465B2 (en) Abnormal data processing device
CN114579353A (en) Data backup method, data recovery method, system, device and storage medium
JP2606431B2 (en) Control memory failure recovery method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070807

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080807

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080807

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090807

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090807

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100807

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110807

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees