JPH05233412A - Recovery system for computer job - Google Patents

Recovery system for computer job

Info

Publication number
JPH05233412A
JPH05233412A JP4036544A JP3654492A JPH05233412A JP H05233412 A JPH05233412 A JP H05233412A JP 4036544 A JP4036544 A JP 4036544A JP 3654492 A JP3654492 A JP 3654492A JP H05233412 A JPH05233412 A JP H05233412A
Authority
JP
Japan
Prior art keywords
job
file
execution
work
master
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
JP4036544A
Other languages
Japanese (ja)
Inventor
Takaharu Shintani
敬治 新谷
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 JP4036544A priority Critical patent/JPH05233412A/en
Publication of JPH05233412A publication Critical patent/JPH05233412A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a data file from being destroyed by a misoperation by inhibiting a job from being re-executed from the start when the job is stopped and enabling only a job which copies a work file to a master file to be execut ed. CONSTITUTION:An execution job number file 2 is normally '0', and the number 1 of a job is set right before the work file is copied to the master file as the job '1' is executed and reset to '0' at the end of the job. When the execution of the job '1' is stopped during the copying of the work file to a master file, the contents of the file 2 become '1', so the re-execution of the job '1' is stopped at a step 1 even when tried. In this case, only the recovery job 3 can be executed and after the work file is copied to the master file, the file 2 is reset to '0'. Therefore, the data file is not destroyed wherever the execution of the job is stopped.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はコンピュータジョブのリ
カバリ方式に関し、特にジョブが実行中に異常終了した
ときのデータファイルの復旧を行うコンピュータジョブ
のリカバリ方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer job recovery method, and more particularly to a computer job recovery method for recovering a data file when a job ends abnormally during execution.

【0002】[0002]

【従来の技術】従来のコンピュータジョブのリカバリ方
式は、図2に示すようにジョブの実行前にマスタファイ
ルをセーブしておき、ジョブが実行中に異常終了したと
きはマスタファイルをセーブ内容により復旧してジョブ
を再実行する。
2. Description of the Related Art In a conventional computer job recovery method, as shown in FIG. 2, a master file is saved before the job is executed, and if the job ends abnormally during execution, the master file is restored by the saved contents. And rerun the job.

【0003】[0003]

【発明が解決しようとする課題】この従来のコンピュー
タジョブのリカバリ方式では、ジョブの実行前にマスタ
ファイルをセーブするオペレーションが必要となり、オ
ペレーションミスの可能性があった。またジョブが正常
に終了したかどうかをオペレータが確認して、もし異常
終了していたらマスタファイルをセーブ内容により復旧
してジョブを再実行するため、オペレーションミスの可
能性があった。すなわちオペレーションミスによってデ
ータファイルを失う危険が常に併っていた。
This conventional computer job recovery method requires an operation of saving the master file before executing the job, which may result in an operation error. Further, the operator checks whether the job has ended normally, and if it has ended abnormally, the master file is restored with the saved contents and the job is re-executed, which may cause an operation error. That is, there was always the risk of losing data files due to operational mistakes.

【0004】[0004]

【課題を解決するための手段】本発明のコンピュータジ
ョブのリカバリ方式は、マスタファイルをワークファイ
ルにコピーしてワークファイルを更新し,その後でワー
クファイルをマスタファイルにコピーするジョブにおい
て、前記ジョブの実行がどこまで進んでいるか記憶して
おく手段と、ワークファイルをマスタファイルにコピー
しているときジョブが止まった場合に前記ジョブの実行
を停止する手段と、前回のジョブの実行がワークファイ
ルをマスタファイルにコピーしているとき止まったとき
には前記ワークファイルを前記マスタファイルにコピー
する手段とを備える。
According to the recovery method of a computer job of the present invention, in a job of copying a master file to a work file to update the work file and then copying the work file to the master file, A means to store how far the execution is progressing, a means to stop the execution of the job when the job stops while copying the work file to the master file, and a previous execution of the job masters the work file. Means for copying the work file to the master file when it stops while copying to the file.

【0005】[0005]

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

【0006】図1は本発明によるコンピュータジョブの
リカバリ方式の一実施例を示す説明図である。同図にお
いてジョブ1はマスタファイル1,マスタファイル2を
更新するジョブである。ジョブ1の各ステップの構成
は、マスタファイルをワークファイルにコピーし,ワー
クファイルを更新し,ワークファイルをマスタファイル
にコピーするようになっている。
FIG. 1 is an explanatory diagram showing an embodiment of a computer job recovery system according to the present invention. In the figure, job 1 is a job for updating master file 1 and master file 2. The configuration of each step of job 1 is such that the master file is copied to the work file, the work file is updated, and the work file is copied to the master file.

【0007】実行ジョブ番号ファイル2は、通常0にな
っていて、ジョブ1が実行されワークファィルをマスタ
ファイルにコピーする直前にそのジョブの番号1がセッ
トされ、そのジョブ終了時に0にリセットされる。
The execution job number file 2 is normally 0, and the job number 1 is set immediately before the job 1 is executed and the work file is copied to the master file, and is reset to 0 at the end of the job. .

【0008】ジョブ1の実行がワークファイルをマスタ
ファイルにコピーしているとき止まった場合、実行ジョ
ブ番号ファイル2の内容は1になっているためジョブ1
を再実行しようとしても、ステップ1で止まる。この場
合、ジョブ1のリカバリジョブ3のみ実行することがで
き、ワークファイルをマスタファイルにコピーした後、
実行ジョブ番号ファイルを0にリセットする。従って、
ジョブの実行がどこで止まっても、データファイルがこ
われることはない。
If the execution of job 1 is stopped while the work file is being copied to the master file, the content of execution job number file 2 is 1, so job 1
If you try to re-execute, stop at step 1. In this case, only the recovery job 3 of job 1 can be executed, and after copying the work file to the master file,
Reset the execution job number file to 0. Therefore,
No matter where the job execution stops, the data files won't get corrupted.

【0009】ジョブの数が複数ある場合も、同様の方式
でジョブを構築しておくことにより、どのジョブが実行
中に止まってもデータファイルをこわすことなく復旧す
ることができる。
Even when there are a plurality of jobs, by constructing the jobs in the same manner, it is possible to restore the data files without breaking the data files even if any of the jobs stops during execution.

【0010】また、ジョブ実行開始時(ステップ1)に
実行ジョブ番号ファイル2の内容が0でない場合、オペ
レータに実行ジョブ番号ファイル2の内容を画面のメッ
セージにて知らせることにより、リカバリのオペレーシ
ョンが容易になる。
If the contents of the execution job number file 2 are not 0 at the start of job execution (step 1), the operator can be notified of the contents of the execution job number file 2 by a message on the screen to facilitate the recovery operation. become.

【0011】パーソナルコンピュータのような小型のコ
ンピュータにおいて、ファイルのリカバリ機能としてフ
ァイルの更新履歴を記憶しておき、ジョブが実行中に止
ったときにファイルの内容をジョブの実行前の内容にも
どすことができない場合、本発明のコンピュータジョブ
のリカバリ方式は特に有効となる。
In a small computer such as a personal computer, a file update history is stored as a file recovery function, and when the job is stopped during execution, the contents of the file are returned to the contents before execution of the job. If it is not possible, the computer job recovery method of the present invention is particularly effective.

【0012】[0012]

【発明の効果】以上説明したように本発明は、ファイル
を更新するジョブにおいて、マスタファイルをワークフ
ァイルにコピーし,ワークファイルを更新し,ワークフ
ァイルをマスタファイルにコピーするように構成し、ワ
ークファイルをマスタファイルにコピーしているときに
ジョブが止まった場合、そのジョブを最初から再実行す
ることができないようにし、ワークファイルをマスタフ
ァイルにコピーするジョブのみ実行可能にしたので、ジ
ョブが実行中に止まってもオペレーションミスによって
データファイルをこわすことがないという効果を有す
る。
As described above, according to the present invention, in a job for updating a file, the master file is copied to the work file, the work file is updated, and the work file is copied to the master file. If a job is stopped while copying a file to the master file, the job cannot be restarted from the beginning and only the job to copy the work file to the master file can be executed. Even if it stops inside, it has the effect that the data file will not be damaged by an operation mistake.

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

【図1】本発明の一実施例を示す説明図。FIG. 1 is an explanatory view showing an embodiment of the present invention.

【図2】従来例を示す説明図。FIG. 2 is an explanatory view showing a conventional example.

【符号の説明】 1 ジョブ 2 実行ジョブ番号ファイル 3 リカバリジョブ[Explanation of symbols] 1 job 2 execution job number file 3 recovery job

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マスタファイルをワークファイルにコピ
ーしてワークファイルを更新し,その後でワークファイ
ルをマスタファイルにコピーするジョブにおいて、前記
ジョブの実行がどこまで進んでいるか記憶しておく手段
と、ワークファイルをマスタファイルにコピーしている
ときジョブが止まった場合に前記ジョブの実行を停止す
る手段と、前回のジョブの実行がワークファイルをマス
タファイルにコピーしているとき止まったときには前記
ワークファイルを前記マスタファイルにコピーする手段
とを備えることを特徴とするコンピュータジョブのリカ
バリ方式。
1. In a job of copying a master file to a work file, updating the work file, and then copying the work file to the master file, a means for storing how far the execution of the job is progressing, and a work. A means for stopping the execution of the job when the job is stopped while copying the file to the master file, and a method for stopping the work file when the execution of the previous job is stopped when copying the work file to the master file. A method for recovering a computer job, comprising: means for copying to the master file.
JP4036544A 1992-02-24 1992-02-24 Recovery system for computer job Withdrawn JPH05233412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4036544A JPH05233412A (en) 1992-02-24 1992-02-24 Recovery system for computer job

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4036544A JPH05233412A (en) 1992-02-24 1992-02-24 Recovery system for computer job

Publications (1)

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

Family

ID=12472716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4036544A Withdrawn JPH05233412A (en) 1992-02-24 1992-02-24 Recovery system for computer job

Country Status (1)

Country Link
JP (1) JPH05233412A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009251764A (en) * 2008-04-02 2009-10-29 Nec Corp Job management system, job control method, and job control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009251764A (en) * 2008-04-02 2009-10-29 Nec Corp Job management system, job control method, and job control program

Similar Documents

Publication Publication Date Title
JPH03278126A (en) Computer system starting system
JPH05233412A (en) Recovery system for computer job
JPH04253235A (en) Backup system for filing system
JP2872008B2 (en) Computer system and method for implementing system reduced operation
JP2004318763A (en) Job network management system and program
JP4358943B2 (en) Automatic backup system and recording medium recording automatic backup program
JPS61141047A (en) Saving system of trouble information
JPS6250938A (en) Recovering system for main memory resident data base
JPS59218565A (en) Operation file copying system
JP2006293582A (en) Automatic job rerun system
JPH09190370A (en) Method for saving and restoring content of object
JPH0417040A (en) Method for managing program of decentralized processing system
JP2001229033A (en) Device for re-executing job net in file failure
JPH0619808A (en) Information processor
JP2528882B2 (en) Fallback operation method in case of memory failure
JPH04105159A (en) Work substitute system
JPH04330531A (en) Check point processing system
JPH0795303B2 (en) Data set restoration processing method
JPH03225434A (en) Job reactuation system
JPH0581103A (en) System for restoring duplexing film
JPS63211444A (en) Memory dump system
JPH06187102A (en) Duplex disk processing system
JPH05233342A (en) Job restart control system
JPH01214947A (en) Data preserving system
JPH10240635A (en) Computer system and state restoration method for i/o device in the 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