JPH05233342A - Job restart control system - Google Patents

Job restart control system

Info

Publication number
JPH05233342A
JPH05233342A JP4032503A JP3250392A JPH05233342A JP H05233342 A JPH05233342 A JP H05233342A JP 4032503 A JP4032503 A JP 4032503A JP 3250392 A JP3250392 A JP 3250392A JP H05233342 A JPH05233342 A JP H05233342A
Authority
JP
Japan
Prior art keywords
restart
job
file
address
name
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.)
Withdrawn
Application number
JP4032503A
Other languages
Japanese (ja)
Inventor
Hiroshi Somemiya
弘志 染宮
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 JP4032503A priority Critical patent/JPH05233342A/en
Publication of JPH05233342A publication Critical patent/JPH05233342A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To dispense with the rerun of an interrupted job from the first, thereby, to delete the consumption of wasteful time. CONSTITUTION:A restart file 2 which stores restart information in which a job name, a file name, and a restart address are recorded is provided, and when the update processing of data in a data base(DB) 3 is performed, processing to write a new address on the restart address of the restart information in accordance with its own job 1 in the restart file 2 is performed at an appropriate interval, and when a certain fault occurs in a computer, and a data update operation is interrupted, and the fault is recovered, then, the job 1 is restarted, the update operation is immediately performed from the address recorded on the restart address of the restart information in accordance with its own job 1 by referring to the restart file 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータシステム
において、ジョブを実行中に障害が発生して中断したと
き、障害を回復してそのジョブを再スタートさせるとき
のジョブ再スタート制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a job restart control system for recovering a fault and restarting the job when a fault occurs during execution of a job and the job is interrupted.

【0002】[0002]

【従来の技術】コンピュータシステムにおいて、データ
ベース(DB)系のジョブを実行中に障害が発生し、そ
のジョブを実行を中断し、障害を回復して再びそのジョ
ブをスタートさせるときの従来のジョブ再スタート制御
方式は、中断したジョブが更新したデータベース(D
B)のファイル全体をそのジョブを実行する前の状態に
復元し、最初からそのジョブを実行し直すか、データベ
ース(DB)のファイルを中断した時点の状態にしてお
き、中断したジョブを最初から実行し直し、中断前に更
新したデータを読飛ばしてファイルの未更新の部分の更
新処理を行うという方式を採用している。
2. Description of the Related Art In a computer system, when a failure occurs during the execution of a database (DB) job, the execution of the job is interrupted, the failure is recovered, and the job is restarted. The start control method is based on the database (D
Restore the entire file in B) to the state before executing the job and re-execute the job from the beginning, or leave the database (DB) file in the state in which it was interrupted, and then restart the interrupted job from the beginning. A method is adopted that re-executes and skips the updated data before the interruption and updates the unupdated part of the file.

【0003】[0003]

【発明が解決しようとする課題】上述したように、コン
ピュータシステムにおけるデータベース(DB)系の従
来のジョブ再スタート制御方式は、障害を回復して再び
そのジョブをスタートさせるとき、中断したジョブを最
初から実行し直さなければならないため、中断時点に到
達するまでに相当な時間がかかり、無駄な時間を消費す
るというという欠点を有している。
As described above, according to the conventional job restart control method of the database (DB) system in the computer system, when the failure is recovered and the job is restarted, the interrupted job is first processed. Since it has to be re-executed, it has a drawback that it takes a considerable time to reach the interruption point and wastes time.

【0004】[0004]

【課題を解決するための手段】本発明のジョブ再スター
ト制御方式は、ジョブ名およびファイル名およびリスタ
ートアドレスを記録するリスタート情報を格納しておく
リスタートファイルを設け、データベースのデータを更
新するジョブを実行するとき、前記リスタートファイル
の自己のジョブに対応するリスタート情報に定期的にリ
スタートアドレスを書込んでおき、コンピュータシステ
ムに何らかの障害が発生してデータ更新動作を中断し、
障害が回復して再び前記ジョブをスタートさせるとき、
前記リスタートファイルを参照して自己のジョブに対応
する前記リスタート情報の前記リスタートアドレスから
直ちに更新動作を再開することを含んでいる。
According to the job restart control method of the present invention, a restart file for storing restart information for recording a job name, a file name and a restart address is provided to update data in a database. When executing the job, the restart address is periodically written in the restart information corresponding to the own job of the restart file, and some failure occurs in the computer system to interrupt the data update operation,
When the fault is recovered and the job is started again,
It includes restarting the update operation immediately from the restart address of the restart information corresponding to the own job by referring to the restart file.

【0005】[0005]

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

【0006】図1は本発明の一実施例の動作状態を示す
模式図、図2は図1のリスタートファイル内のリスター
ト情報の内容の一例を示すフォーマット図である。
FIG. 1 is a schematic diagram showing an operating state of an embodiment of the present invention, and FIG. 2 is a format diagram showing an example of contents of restart information in the restart file of FIG.

【0007】図1において、ジョブ1は、データベース
(DB)3に対してそのデータの更新を行うためのジョ
ブであり、その更新処理の実行中に、リスタートファイ
ル2に対してリスタート情報を定期的に書込む処理を内
蔵している。
In FIG. 1, a job 1 is a job for updating the data in the database (DB) 3, and the restart information is written in the restart file 2 during the update process. It has a built-in process to write periodically.

【0008】図2に示すように、リスタート情報4は、
ジョブ名41およびファイル名42およびリスタートア
ドレス43を含んでおり、ジョブ名41およびファイル
名42によって、どのジョブのどのファイルに対するリ
スタート情報であるかを管理し、リスタートアドレス4
3によって、再スタートするときにどこからスタートさ
せるかを管理する。リスタートファイル2には、複数の
ジョブのリスタート情報を格納しておくことができる。
As shown in FIG. 2, the restart information 4 is
The job name 41, the file name 42, and the restart address 43 are included. The job name 41 and the file name 42 manage the restart information for which file of which job.
3 controls where to start when restarting. The restart information of a plurality of jobs can be stored in the restart file 2.

【0009】リスタートファイル2は、あらかじめリス
タート情報4を初期化しておく。すなわち、ジョブ名4
1には、再スタート管理の対象となるジョブの名称を、
ファイル名42には、そのジョブが更新するファイルの
名称を、リスタートアドレス43には、ファイル名42
に記録したファイルに対してジョブ名41に記録したジ
ョブが最初にデータ更新を行うアドレスを、それそれそ
れらの初期値として設定しておく。
The restart information 4 is initialized in advance in the restart file 2. That is, job name 4
1 indicates the name of the job that is the target of restart management.
The file name 42 is the name of the file updated by the job, and the restart address 43 is the file name 42.
Addresses for which the job recorded in the job name 41 first updates the data in the file recorded in 1 are set as their initial values.

【0010】通常の処理においては、ジョブ1は、動作
を開始する時にリスタートファイル2を参照して自己の
ジョブに対応するリスタート情報4を読出し、初期値を
設定されているリスタートアドレス43の情報によって
データベース(DB)3に対してデータの更新を開始す
る。
In a normal process, the job 1 reads the restart information 4 corresponding to its own job by referring to the restart file 2 when starting the operation, and the restart address 43 having the initial value set therein. The data update is started for the database (DB) 3 according to the information.

【0011】ジョブ1は、データベース(DB)3のデ
ータの更新を行っている途中、適当な間隔(例えば一定
量のデータ毎に)で、リスタートファイル2内の自己の
ジョブに対応するリスタート情報4のリスタートアドレ
ス43に新たなアドレスを書込む処理を繰返えす。
The job 1 is restarted corresponding to its own job in the restart file 2 at appropriate intervals (for example, for each fixed amount of data) while updating the data of the database (DB) 3. The process of writing a new address in the restart address 43 of the information 4 is repeated.

【0012】ジョブ1が上述のようなデータベース(D
B)3のデータ更新動作を行っているとき、コンピュー
タシステムに何らかの障害が発生すると、その時点でジ
ョブ1はデータ更新動作を中断する。障害が回復して再
びジョブ1をスタートさせるときは、ジョブ1は、リス
タートファイル2を参照して自己のジョブに対応するリ
スタート情報4を読出し、ファイル名42およびリスタ
ートアドレス43に記録されている内容から該当するフ
ァイルに対する再スタートするアドレスを知り、そのア
ドレスから直に更新動作を再開する。
Job 1 is a database (D
B) When any failure occurs in the computer system during the data updating operation of 3, the job 1 interrupts the data updating operation at that time. When the failure is recovered and the job 1 is restarted, the job 1 refers to the restart file 2 to read the restart information 4 corresponding to its own job, and is recorded in the file name 42 and the restart address 43. The restart address for the corresponding file is known from the contents described in the table, and the update operation is restarted immediately from that address.

【0013】[0013]

【発明の効果】以上説明したように、本発明のジョブ再
スタート制御方式は、ジョブ名およびファイル名および
リスタートアドレスを記録するリスタート情報を格納し
ておくリスタートファイルを設け、データベース(D
B)のデータの更新処理を行うとき、適当な間隔で、リ
スタートファイル内の自己のジョブに対応するリスター
ト情報のリスタートアドレスに新たなアドレスを書込む
処理を行い、コンピュータシステムに何らかの障害が発
生してデータ更新動作を中断し、障害が回復して再びジ
ョブをスタートさせるとき、リスタートファイルを参照
して自己のジョブに対応するリスタート情報のリスター
トアドレスに記録されているアドレスから、直に更新動
作を再開するようにすることにより、中断したジョブを
最初から実行し直す必要がなくなるため、無駄な時間の
消費を削除することができるという効果がある。
As described above, according to the job restart control method of the present invention, a restart file for storing restart information for recording a job name, a file name and a restart address is provided, and a database (D
At the time of performing the data update process of B), at a proper interval, a process of writing a new address into the restart address of the restart information corresponding to the own job in the restart file is performed to cause some trouble in the computer system. When the error occurs, the data update operation is interrupted, the failure is recovered, and the job is restarted, the restart file is referenced and the address recorded in the restart address of the restart information corresponding to the own job is changed. By directly restarting the update operation, it is not necessary to re-execute the interrupted job from the beginning, and thus it is possible to eliminate wasteful time consumption.

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

【図1】本発明の一実施例の動作状態を示す模式図であ
る。
FIG. 1 is a schematic diagram showing an operating state of an embodiment of the present invention.

【図2】図1のリスタートファイル内のリスタート情報
の内容の一例を示すフォーマット図である。
FIG. 2 is a format diagram showing an example of contents of restart information in the restart file of FIG.

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

1 ジョブ 2 リスタートファイル 3 データベース(DB) 4 リスタート情報 41 ジョブ名 42 ファイル名 43 リスタートアドレス 1 Job 2 Restart File 3 Database (DB) 4 Restart Information 41 Job Name 42 File Name 43 Restart Address

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データベースを更新するジョブを実行す
るとき、リスタートファイルの自己のジョブに対応する
リスタート情報に定期的にリスタートアドレスを書込ん
でおき、コンピュータシステムに何らかの障害が発生し
てデータ更新動作を中断し、障害が回復して再び前記ジ
ョブをスタートさせるとき、前記リスタートファイルを
参照して自己のジョブに対応する前記リスタート情報の
前記リスタートアドレスから直ちに更新動作を再開する
ことを含むことを特徴とするジョブ再スタート制御方
式。
1. When a job for updating a database is executed, a restart address is regularly written in the restart information corresponding to the own job in the restart file, and some failure occurs in the computer system. When the data update operation is interrupted, the failure is recovered and the job is started again, the update operation is immediately restarted from the restart address of the restart information corresponding to the own job by referring to the restart file. A job restart control method including:
【請求項2】 ジョブ名およびファイル名およびリスタ
ートアドレスを記録するリスタート情報を格納しておく
リスタートファイルを設け、データベースのデータを更
新するジョブを実行するとき、前記リスタートファイル
の自己のジョブに対応するリスタート情報に定期的にリ
スタートアドレスを書込んでおき、コンピュータシステ
ムに何らかの障害が発生してデータ更新動作を中断し、
障害が回復して再び前記ジョブをスタートさせるとき、
前記リスタートファイルを参照して自己のジョブに対応
する前記リスタート情報の前記リスタートアドレスから
直ちに更新動作を再開することを含むことを特徴とする
ジョブ再スタート制御方式。
2. A restart file for storing restart information for recording a job name, a file name, and a restart address is provided, and when a job for updating data in a database is executed, the restart file itself is stored. The restart address is written in the restart information corresponding to the job periodically, and some kind of failure occurs in the computer system to interrupt the data update operation,
When the fault is recovered and the job is started again,
A job restart control method comprising: restarting the update operation immediately from the restart address of the restart information corresponding to its own job with reference to the restart file.
JP4032503A 1992-02-20 1992-02-20 Job restart control system Withdrawn JPH05233342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4032503A JPH05233342A (en) 1992-02-20 1992-02-20 Job restart control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4032503A JPH05233342A (en) 1992-02-20 1992-02-20 Job restart control system

Publications (1)

Publication Number Publication Date
JPH05233342A true JPH05233342A (en) 1993-09-10

Family

ID=12360795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4032503A Withdrawn JPH05233342A (en) 1992-02-20 1992-02-20 Job restart control system

Country Status (1)

Country Link
JP (1) JPH05233342A (en)

Similar Documents

Publication Publication Date Title
CN113641378A (en) Optical module program upgrading method, device, equipment and readable storage medium
JPH05233342A (en) Job restart control system
JP2859782B2 (en) Automatic maintenance system for workstation systems
JPH0385650A (en) Disk volume restoration system
JP2913774B2 (en) Editing data storage control method for data processing system
JPS59133620A (en) Automatic operating system for power restoration
JPS63214848A (en) Generation managing system for file
JPH07160651A (en) Backup mode for system data
JPH04250539A (en) Journal acquisition system
JPH08272655A (en) Operating system and file deletion method
JPH0554141B2 (en)
JPH0397029A (en) On-line system start-up processing system
JPH03225434A (en) Job reactuation system
JPH05233961A (en) Plu data restoring system in pos system
JPH03260746A (en) Data updating method
JPH05233412A (en) Recovery system for computer job
JPH03212856A (en) Disk device
JPS61255440A (en) Program interruption control system
JPH01237857A (en) System for processing restoration and restart of program
JPS63104118A (en) Job restarting system
JPH0619711A (en) Stack protection system
JPS6279531A (en) Job step restarting method
JPH05143425A (en) Backup preparing system for data base file
JPH04264625A (en) Register control system
JPH1049417A (en) Batch processing managing system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518