JP2001229033A - Device for re-executing job net in file failure - Google Patents

Device for re-executing job net in file failure

Info

Publication number
JP2001229033A
JP2001229033A JP2000045091A JP2000045091A JP2001229033A JP 2001229033 A JP2001229033 A JP 2001229033A JP 2000045091 A JP2000045091 A JP 2000045091A JP 2000045091 A JP2000045091 A JP 2000045091A JP 2001229033 A JP2001229033 A JP 2001229033A
Authority
JP
Japan
Prior art keywords
job
file
execution
failure
executing
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
JP2000045091A
Other languages
Japanese (ja)
Inventor
Akira Dobashi
晃 土橋
Hokuto Obayashi
北人 尾林
Yoshihiro Tanaka
義弘 田中
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2000045091A priority Critical patent/JP2001229033A/en
Publication of JP2001229033A publication Critical patent/JP2001229033A/en
Pending legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Abstract

PROBLEM TO BE SOLVED: To automate file failure restoration processing by making it unnecessary to interpose an operator in a batch processing system using a job net, and to shorten a failure restoring time by quickly realizing the failure restoration processing. SOLUTION: This job net re-executing device is provided with a re-execution job deciding means for deciding a necessary re-execution job, a job re-executing means for re-executing a job, an execution JCL library in which an execution job control sentence is stored, an access history file in which file information processed in the job is stored, and a re-execution job management file in which the name of the job whose re-execution is necessary is stored.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ジョブネットを使
用するバッチ処理システムにおけるジョブネットの再実
行方式に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a job net re-execution method in a batch processing system using a job net.

【0002】[0002]

【従来の技術】ジョブ内で複数のファイルを処理するバ
ッチ処理システムにおいて、ファイルが格納されている
外部記憶装置に異常が発生しファイル障害となった場
合、オペレータの介在無しに異常が発生した装置内障害
ファイルの復旧及び異常終了ジョブの再実行といった手
段は特開平7−56793号公報に開示されている。
2. Description of the Related Art In a batch processing system for processing a plurality of files in a job, when an error occurs in an external storage device in which a file is stored and a file failure occurs, an apparatus in which the error occurs without the intervention of an operator. Means for restoring an internal failure file and re-executing an abnormally terminated job is disclosed in Japanese Patent Application Laid-Open No. 7-56793.

【0003】上記従来技術では、ファイル障害発生時に
障害情報を取得し障害種別に応じた復旧用ジョブを実行
後、障害ファイルを回復しファイル障害によって異常終
了したジョブを再実行する、という方法を自動的に行っ
ている。また、予め待避してあるファイルから回復した
ファイルへのデータの復元も行っており、オペレータは
障害の発生と復旧状況を把握するだけでよい。
[0003] In the above-mentioned prior art, a method of acquiring failure information when a file failure occurs, executing a recovery job corresponding to the failure type, recovering the failure file, and re-executing the job that ended abnormally due to the file failure is performed automatically. I'm going. In addition, data is restored from a previously saved file to a recovered file, and the operator need only grasp the occurrence of a failure and the recovery status.

【0004】[0004]

【発明が解決しようとする課題】前述した従来技術は単
体のジョブを実行させるようなバッチ処理システムでは
有効であるが、ジョブネットを使用するバッチ処理シス
テムの場合、以下の課題が挙げられる。
The above-mentioned prior art is effective in a batch processing system that executes a single job, but the following problems are raised in the case of a batch processing system using a job net.

【0005】上記従来技術の課題として、ファイル障害
時に使用する待避ファイルが障害等で使用できない時、
以前の実行済みのジョブから全てやり直さなければなら
ない為、オペレータの介在が必要となることが挙げられ
る。これは、人的介入による判断及び操作等の作業が発
生し、回復時間が大幅に増大する。
[0005] As a problem of the prior art, when a save file used in the event of a file failure cannot be used due to a failure or the like,
Since it is necessary to start all over from the previously executed jobs, there is a case where operator intervention is required. This involves operations such as judgment and operation due to human intervention, and the recovery time greatly increases.

【0006】本発明は上記課題を解決したものであり、
その目的はジョブネットを使用したバッチ処理システム
におけるオペレータの介在を不要としたファイル障害回
復処理の自動化と迅速な障害復旧処理による障害回復時
間の短縮化にある。
[0006] The present invention has solved the above problems,
An object of the present invention is to automate a file failure recovery process which does not require the intervention of an operator in a batch processing system using a job net, and to shorten a failure recovery time by a quick failure recovery process.

【0007】[0007]

【課題を解決するための手段】上記課題を解決する為、
必要な再実行ジョブを決定する再実行ジョブ決定手段、
ジョブ再実行の為のジョブ再実行手段、実行ジョブ制御
文が格納されている実行JCLライブラリ、ジョブ内で処
理されたファイル情報を格納するアクセス履歴ファイ
ル、再実行が必要なジョブ名が格納されている再実行ジ
ョブ管理ファイルを設ける。
In order to solve the above-mentioned problems,
Re-execution job determination means for determining a required re-execution job,
Job re-execution means for job re-execution, execution JCL library storing execution job control statements, access history file storing file information processed in the job, and job name requiring re-execution are stored Provide a re-execution job management file.

【0008】[0008]

【発明の実施の形態】本発明の実施例について図面を用
いて詳細に説明する。
Embodiments of the present invention will be described in detail with reference to the drawings.

【0009】図1は本発明及び従来技術との関連を示し
た全体構成図である。はじめに従来技術であるファイル
障害自動復旧処理装置の構成を説明する。1はファイル
情報管理データベース、11は障害復旧手順ファイル、
21は基本JCLイメージファイル、100は障害発生認
識手段、110は障害復旧手順組立て手段、120は障
害復旧用ジョブ制御文組立て手段、130は障害自動復
旧実行手段である。
FIG. 1 is an overall configuration diagram showing the relationship between the present invention and the prior art. First, a configuration of a file failure automatic recovery processing apparatus according to the related art will be described. 1 is a file information management database, 11 is a failure recovery procedure file,
21 is a basic JCL image file, 100 is a failure occurrence recognizing means, 110 is a failure recovery procedure assembling means, 120 is a failure recovery job control statement assembling means, and 130 is a failure automatic recovery executing means.

【0010】これらは、ファイル障害発生時に障害情報
を取得し障害種別に応じた復旧用ジョブを実行後、障害
ファイルを回復しファイル障害によって異常終了したジ
ョブを再実行する。
In these methods, when a file failure occurs, failure information is acquired, a recovery job corresponding to the failure type is executed, the failed file is recovered, and a job that has been abnormally terminated due to a file failure is re-executed.

【0011】次に本発明であるファイル障害時のジョブ
ネット再実行装置の構成を説明する。31はアクセス履
歴ファイル、41は実行JCLライブラリ、51は再実行
ジョブ管理ファイル、100は障害発生認識手段、20
0は再実行ジョブ決定手段、210はジョブ再実行手段
である。このうち、障害発生認識手段100は従来技術
を使用しており、インタフェースとして障害自動復旧実
行手段130実行時に待避ファイルが何らかの要因で使
用不可となった場合に呼ばれる。再実行ジョブ決定手段
200はアクセス履歴ファイル31を入力し、必要な再
実行ジョブを決定する。ジョブ再実行手段210は再実
行ジョブ管理ファイル51と実行JCLライブラリ41を
入力し、再実行ジョブ決定手段200で設定された再実
行ジョブを起動する。アクセス履歴ファイル31はジョ
ブ内で処理されたファイル情報を格納している。実行JC
Lライブラリ41はバッチ処理システム内で使用する業
務ジョブ制御文を格納している。再実行ジョブ管理ファ
イル51は、再実行が必要なジョブ名を格納している。
Next, the configuration of the job net re-executing device in the event of a file failure according to the present invention will be described. 31 is an access history file, 41 is an execution JCL library, 51 is a re-execution job management file, 100 is a failure occurrence recognition unit, 20
Reference numeral 0 denotes a re-execution job determination unit, and 210 denotes a job re-execution unit. Among them, the fault occurrence recognizing means 100 uses the conventional technology, and is called when the backup file becomes unusable for some reason when the fault automatic recovery executing means 130 is executed as an interface. The re-execution job determining unit 200 inputs the access history file 31 and determines a necessary re-execution job. The job re-execution unit 210 inputs the re-execution job management file 51 and the execution JCL library 41, and starts the re-execution job set by the re-execution job determination unit 200. The access history file 31 stores file information processed in the job. Execution JC
The L library 41 stores business job control statements used in the batch processing system. The re-execution job management file 51 stores job names that need to be re-executed.

【0012】図2は本発明をジョブネットを使用したバ
ッチ処理システムに適用した場合の処理の流れを示した
ものである。
FIG. 2 shows a processing flow when the present invention is applied to a batch processing system using a job net.

【0013】ジョブA71、ジョブB72、ジョブC7
3はジョブネットを構成するジョブ群、ファイル61、
ファイル62、ファイル63はジョブA71、ジョブB
72、ジョブC73で使用される入力又は出力のファイ
ルである。実際にはジョブ及びファイルはこれ以上の個
数で構成されることは言うまでもない。今、ジョブB7
2の入力となるファイル62に障害が発生し、待避ファ
イルが何らかの要因で使用できない場合、障害発生メッ
セージを障害発生認識手段100が検知し、再実行ジョ
ブ決定手段200が起動され、アクセス履歴ファイル3
1を入力し、ファイル62を作成するジョブをサーチす
る。再実行対象のジョブは再実行ジョブ管理ファイル5
1に格納される。ジョブ再実行手段210は実行JCLラ
イブラリ41、再実行ジョブ管理ファイル51を入力
し、再実行ジョブ決定手段200で決定したジョブを起
動する。
Job A71, Job B72, Job C7
Reference numeral 3 denotes a job group constituting the job net, a file 61,
File 62 and file 63 are job A71 and job B
72 is an input or output file used in the job C73. Needless to say, the number of jobs and files is actually larger. Now, job B7
If a failure occurs in the input file 62 and the saved file cannot be used for some reason, the failure occurrence recognition means 100 detects the failure occurrence message, the re-execution job determination means 200 is started, and the access history file 3
Enter 1 to search for a job that creates the file 62. The job to be re-executed is the re-executed job management file 5
1 is stored. The job re-execution unit 210 inputs the execution JCL library 41 and the re-execution job management file 51, and starts the job determined by the re-execution job determination unit 200.

【0014】図3は再実行ジョブ決定手段及びジョブ再
実行手段の処理フローである。
FIG. 3 is a processing flow of the re-execution job determining means and the job re-execution means.

【0015】再実行ジョブ決定手段200はアクセス履
歴ファイル31を検索し障害ファイルを作成するジョブ
が存在するかをチェックする(ステップ202)。障害
ファイルを作成するジョブが存在しない場合、ファイル
復旧ができなくなる為処理を終了する。障害ファイルを
作成するジョブが存在する場合、障害ファイル作成ジョ
ブを再実行対象とし(ステップ203)、異常終了ジョ
ブも再実行対象とする(ステップ204)。最後に、再
実行対象のジョブを再実行ジョブ管理ファイル51に格
納する(ステップ205)。ジョブ再実行手段210は
再実行ジョブ管理ファイル51を読込み(ステップ21
1)、同じジョブ制御文を実行JCLライブラリ41から
読込み(ステップ212)実行する(ステップ21
3)。ジョブが正常終了したかを判定し(ステップ21
4)、正常終了の場合、全てのジョブを再実行したかを
判定し(ステップ215)、未起動のジョブが存在すれ
ば次のジョブを実行する。これを再実行ジョブ管理ファ
イル51内の全てのジョブに対し繰り返す。ジョブが正
常終了しなかった場合、処理を終了する。
The re-execution job determining means 200 searches the access history file 31 and checks whether there is a job for creating a failure file (step 202). If there is no job for creating the failure file, the process ends because the file cannot be recovered. If there is a job for creating a failure file, the failure file creation job is set as a re-execution target (step 203), and the abnormally ended job is set as a re-execution target (step 204). Finally, the re-execution target job is stored in the re-execution job management file 51 (step 205). The job re-executing means 210 reads the re-executed job management file 51 (step 21).
1) The same job control statement is read from the execution JCL library 41 (step 212) and executed (step 21).
3). It is determined whether the job has been completed normally (step 21).
4) In the case of normal termination, it is determined whether or not all the jobs have been re-executed (step 215). If there is a job that has not been started, the next job is executed. This is repeated for all the jobs in the re-execution job management file 51. If the job did not end normally, the process ends.

【0016】図4は本発明で使用する入出力ファイルの
内部構成を示したものである。
FIG. 4 shows the internal structure of an input / output file used in the present invention.

【0017】実行JCLライブラリ41はバッチ処理シス
テムで使用するジョブ制御文をジョブ名テーブル42と
して格納している。アクセス履歴ファイル32はジョブ
内で処理されたファイル情報(ジョブ名、ファイル名、
待避情報)をアクセス履歴テーブルとして格納してい
る。再実行ジョブ管理ファイル51は再実行に必要なジ
ョブ名を再実行ジョブ名テーブルとして格納している。
The execution JCL library 41 stores job control statements used in the batch processing system as a job name table 42. The access history file 32 contains file information (job name, file name,
(Save information) is stored as an access history table. The re-execution job management file 51 stores job names required for re-execution as a re-execution job name table.

【0018】[0018]

【発明の効果】以上説明したように、本発明によりジョ
ブネットを使用したバッチ処理システムにおいてオペレ
ータの介在を不要としたファイル障害回復処理の自動化
と迅速な障害復旧処理による障害回復時間の短縮化が可
能である。
As described above, according to the present invention, in a batch processing system using a job net, it is possible to automate file failure recovery processing without requiring operator intervention and to shorten the failure recovery time by rapid failure recovery processing. It is possible.

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

【図1】本発明及び従来技術との関連を示した全体構成
図である。
FIG. 1 is an overall configuration diagram showing a relationship between the present invention and a conventional technique.

【図2】本発明をジョブネットを使用したバッチ処理シ
ステムに適用した場合の処理の流れ図である。
FIG. 2 is a flowchart of processing when the present invention is applied to a batch processing system using a job net.

【図3】再実行ジョブ決定手段及びジョブ再実行手段の
処理フローチャートである。
FIG. 3 is a processing flowchart of a re-execution job determining unit and a job re-execution unit.

【図4】本発明で使用する入出力ファイルの内部構成を
示した図である。
FIG. 4 is a diagram showing an internal configuration of an input / output file used in the present invention.

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

1…ファイル情報管理データベース、11…障害復旧手
順ファイル、21…基本JCLイメージファイル、31…
アクセス履歴ファイル、32…アクセス履歴テーブル、
41…実行JCLライブラリ、42…ジョブ名テーブル、
51…再実行ジョブ管理ファイル、52…再実行ジョブ
名テーブル、100…障害発生認識手段、110…障害
復旧手順組立て手段、120…障害復旧用ジョブ制御文
組立て手段、130…障害自動復旧実行手段、200…
再実行ジョブ決定手段、210…ジョブ再実行手段。
DESCRIPTION OF SYMBOLS 1 ... File information management database, 11 ... Disaster recovery procedure file, 21 ... Basic JCL image file, 31 ...
Access history file, 32 ... access history table,
41: execution JCL library, 42: job name table,
51: re-execution job management file, 52: re-execution job name table, 100: failure occurrence recognition means, 110: failure recovery procedure assembling means, 120: failure recovery job control statement assembling means, 130: failure automatic recovery execution means, 200 ...
Re-executing job determining means, 210... Job re-executing means.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田中 義弘 神奈川県川崎市幸区鹿島田890番地 株式 会社日立製作所情報システム事業部内 Fターム(参考) 5B027 AA04 BB01 BB05 CC04 5B098 AA03 DD02 GA03 GC01 GD02 GD14 JJ02  ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Yoshihiro Tanaka 890 Kashimada, Saiwai-ku, Kawasaki-shi, Kanagawa F-term in Information Systems Division, Hitachi, Ltd. 5B027 AA04 BB01 BB05 CC04 5B098 AA03 DD02 GA03 GC01 GD02 GD14 JJ02

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ジョブネットを使用するバッチ処理シス
テムにおいて、待避ファイルが障害となった場合に障害
ファイルを作成するジョブを決定する手段と左記手段に
て決定したジョブを実行する手段とジョブ内で処理され
たファイル情報を格納するアクセス履歴ファイルとバッ
チ処理システムで使用する実行ジョブ制御文を格納して
いる実行JCLライブラリと再実行が必要なジョブ名が格
納されている再実行ジョブ管理ファイルを有し、以前の
ジョブからの再実行を可能とすることを特徴とするファ
イル障害時のジョブネット再実行装置。
In a batch processing system using a job net, means for determining a job for creating a failure file when a backup file becomes a failure, means for executing the job determined by the left means, and There is an access history file that stores processed file information, an execution JCL library that stores execution job control statements used in the batch processing system, and a re-execution job management file that stores the names of jobs that need to be re-executed. A job net re-executing device at the time of a file failure, which enables re-execution from a previous job.
JP2000045091A 2000-02-17 2000-02-17 Device for re-executing job net in file failure Pending JP2001229033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000045091A JP2001229033A (en) 2000-02-17 2000-02-17 Device for re-executing job net in file failure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000045091A JP2001229033A (en) 2000-02-17 2000-02-17 Device for re-executing job net in file failure

Publications (1)

Publication Number Publication Date
JP2001229033A true JP2001229033A (en) 2001-08-24

Family

ID=18567737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000045091A Pending JP2001229033A (en) 2000-02-17 2000-02-17 Device for re-executing job net in file failure

Country Status (1)

Country Link
JP (1) JP2001229033A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003196116A (en) * 2001-12-25 2003-07-11 Fujitsu Ltd Reprocessing multiple restoration program, reprocessing multiple restoration device and reprocessing multiple restoration method
US7228544B2 (en) 2002-04-17 2007-06-05 Hitachi, Ltd. Job processing method, job processing unit, and storage managing system
JP2014048973A (en) * 2012-08-31 2014-03-17 Ricoh Co Ltd Information processing system, information processing method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003196116A (en) * 2001-12-25 2003-07-11 Fujitsu Ltd Reprocessing multiple restoration program, reprocessing multiple restoration device and reprocessing multiple restoration method
US7228544B2 (en) 2002-04-17 2007-06-05 Hitachi, Ltd. Job processing method, job processing unit, and storage managing system
JP2014048973A (en) * 2012-08-31 2014-03-17 Ricoh Co Ltd Information processing system, information processing method, and program

Similar Documents

Publication Publication Date Title
EP0827079B1 (en) Checkpoint computer system
EP0319034B1 (en) Method of recovering failure of online control program
JP2005242404A (en) Method for switching system of computer system
JPH05120110A (en) Automatic backup system for file
JP3551079B2 (en) Recovery method and device after replacement of modified load module
JP2001229033A (en) Device for re-executing job net in file failure
JPH04253235A (en) Backup system for filing system
JPH0594353A (en) Database management system
JP3139536B2 (en) Distributed batch job processing system and automatic job restart method in the event of failure
JPH08212142A (en) Data backup system for data base
JPH117431A (en) Failure recovery system for job executed by plural computers
JP2002082826A (en) Database system
JP2853527B2 (en) Automatic file failure recovery system
JP2005107819A (en) Fail/safe method for computer network system
JPH1040123A (en) System and method for job management
JPH0675957A (en) Restoration mechanism of fault during editing
JPH052499A (en) Job trouble re-processing system of information processor
JPH08287027A (en) Job scheduling device
JPH04291628A (en) Fault recovery system for composite subsystem type on-line system
JP2812037B2 (en) Restart control method for business processing programs
JPH06103078A (en) Re-execution control system
JP2850757B2 (en) Failure handling method in hierarchical file system
JPH08335206A (en) Automatic transaction restoration system of loosely coupled multicomputer system
JPS62133535A (en) Program check point processing system
JPH05143422A (en) Updated journal managing system