JPH03233634A - Job reprocessing system - Google Patents

Job reprocessing system

Info

Publication number
JPH03233634A
JPH03233634A JP2838890A JP2838890A JPH03233634A JP H03233634 A JPH03233634 A JP H03233634A JP 2838890 A JP2838890 A JP 2838890A JP 2838890 A JP2838890 A JP 2838890A JP H03233634 A JPH03233634 A JP H03233634A
Authority
JP
Japan
Prior art keywords
program
job
processing
execution
reprocessing
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
JP2838890A
Other languages
Japanese (ja)
Inventor
Naruyuki Ootani
大谷 考進
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 JP2838890A priority Critical patent/JPH03233634A/en
Publication of JPH03233634A publication Critical patent/JPH03233634A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To execute the reprocessing of job by minimum work by providing a storing means to store the latest processing name and a control means to activate a processing means based on the stored latest processing mane and restarting the execution from an interrupted processing part. CONSTITUTION:When a job program P1 of a program part 121 is completely executed, an execution register part 131 registers a program name 'PROG1' of the job program P1 to the job state control file of a storing means 20. Next, when a job program P2 is executed and completed, a job program P3 is executed. At such a time, when the execution of the job program P3 is interrupted, a program name 'PROG2' is registered to the storing means 20. In the case of the reprocessing, the program name 'PROG2' is obtained from the storing means 20 according to the reprocessing control program of a control part 32 and the execution is started from the job program P3 while skipping the reading of processings for executing and registering the job programs P1 and P2. Thus, the time required for the reprocessing is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、バッチ処理システムにおいて、業務の再処理
をする業務再処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a business reprocessing method for reprocessing businesses in a batch processing system.

〔従来の技術〕[Conventional technology]

コンピュータでの業務処理は、その実行過程において、
種々の理由によって途中で実行を中断する場合があり、
再度、同一業務を実行する必要性が生ずることがある。
In the execution process of business processing on a computer,
Execution may be interrupted midway due to various reasons.
There may be a need to execute the same task again.

複数のプログラムを順次実行している業務処理において
は、従来では最初のプログラムから再度実行させる方式
となっている。
In business processes where multiple programs are executed sequentially, the conventional method is to re-execute the first program.

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

上述のように、中断した業務処理を最初のプログラムか
ら実行する場合に、中断したプログラムまでに更新され
たマスクファイルの内容を戻す何らかの方策(マスクフ
ァイルをすべて退避、復旧する等の方策)を取る必要が
あり、多大の作業が必要となる。
As mentioned above, when executing an interrupted business process from the first program, take some measure (such as saving and restoring all mask files) to return the contents of the mask file updated up to the interrupted program. It is necessary and requires a lot of work.

本発明の目的は、このような欠点を除去し、容易性、柔
軟性を向上できる業務再処理方式を提供することにある
An object of the present invention is to provide a business reprocessing method that can eliminate such drawbacks and improve ease and flexibility.

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

本発明は、複数の処理部分から成る業務処理を実行する
ときに、これらの処理部分を順次に実行する業務再処理
方式において、 起動されると、業務処理の処理部分を順次に実行し、実
行された処理部分の処理名を送り出す処理手段と、 前記処理手段から送り出される処理名を受け取り、最新
の処理名を記憶する記憶手段と、前記記憶手段に記憶さ
れている最新の処理名に基づいて、前記処理手段を起動
する制御手段とを有し、 前記処理手段で処理部分の実行が中断されると、前記制
御手段の制御により、前記処理手段が起動部分の実行を
中断した処理部分から再開することを特徴としている。
The present invention is a business reprocessing method that sequentially executes the processing parts when executing a business process consisting of a plurality of processing parts. processing means for sending out the processing name of the processed part; storage means for receiving the processing name sent from the processing means and storing the latest processing name; and a control means for starting the processing means, and when execution of a processing part by the processing means is interrupted, the processing means resumes execution of the starting part from the processing part where execution was interrupted under the control of the control means. It is characterized by

〔実施例〕〔Example〕

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

第1図は、本発明の一実施例を示す機能図である。第1
図に示される業務再処理方式は、処理手段10と、記憶
手段20と、制御手段30とを備えている。
FIG. 1 is a functional diagram showing one embodiment of the present invention. 1st
The business reprocessing method shown in the figure includes a processing means 10, a storage means 20, and a control means 30.

処理手段10は、実行再開制御部11と、プログラム部
12.−12Nと、実行済登録部131〜13sとを備
えている。
The processing means 10 includes an execution restart control section 11, a program section 12. -12N, and executed registration units 131 to 13s.

制御手段30は、入力部31と、制御部32.33とを
備えている。
The control means 30 includes an input section 31 and control sections 32 and 33.

このような業務再処理方式の記憶手段20は、ジョブ状
態管理ファイルを備えている。ジョブ状態管理ファイル
の内容は、第3図に示すように、ジョブ名とプログラム
名とを登録するテーブルファイルであり、ジョブ毎に実
行済プログラムのプログラム名を登録できる。ある1つ
のジョブについては、最新ムこ登録された実行済プログ
ラム名が格納されている。
The storage means 20 of such a business reprocessing method includes a job status management file. As shown in FIG. 3, the content of the job status management file is a table file in which job names and program names are registered, and the program name of the executed program can be registered for each job. For a certain job, the most recently registered executed program name is stored.

制御手段30の入力部3Iは、ジョブ名を入力するもの
である。
The input section 3I of the control means 30 is for inputting a job name.

制御部32は、再処理制御プログラムにより処理を行う
。再処理制御プログラムは、ジョブの再処理が必要にな
った時にオペレータによって起動される。このプログラ
ムは、起動の際にオペレータから入力部31に与えられ
たジョブ名、記憶手段20のジョブ状態管理ファイル、
制御部33の再処理制御テーブルによって、処理手段1
0の実行済プログラムの再処理開始プログラムに対応す
るセンススイッチをセットして、その後与えられたジョ
ブ名のジョブを起動する機能を持つ。センススイッチは
プログラム間で有効な論理スイッチであり、O3(Op
erating System)の機能によるものであ
る。
The control unit 32 performs processing using a reprocessing control program. The reprocessing control program is activated by an operator when a job needs to be reprocessed. This program includes the job name given to the input section 31 by the operator at the time of startup, the job status management file in the storage means 20,
According to the reprocessing control table of the control unit 33, the processing means 1
It has the function of setting the sense switch corresponding to the reprocessing start program of the executed program 0 and then starting the job with the given job name. The sense switch is a logical switch that is valid between programs and is O3 (Op
This is due to the function of the aging system.

制御部33は、再処理制御テーブルを備えている。The control unit 33 includes a reprocessing control table.

再処理制御テーブルは、第4図に示すように、ジョブ名
、プログラム名に対応したセンススイッチの値を格納し
、ジョブ毎にあらかじめ設定しておくテーブルである。
As shown in FIG. 4, the reprocessing control table is a table that stores sense switch values corresponding to job names and program names, and is set in advance for each job.

処理手段10は、ジョブ制御言語(JCL)等によって
実行制御される。
The processing means 10 is executed and controlled by a job control language (JCL) or the like.

処理手段10の実行開始制御部11は、JCLの実行制
御機能を利用し、センススイッチの値を判定して、その
値に対応した業務プログラムから実行を開始する機能を
持つ。具体的に第5図に示すように、JCLの実行制御
の機能により、特定のJCLまで実行をしないで読み飛
ばす方式である。
The execution start control unit 11 of the processing means 10 has a function of determining the value of the sense switch by using the execution control function of the JCL and starting execution of a business program corresponding to the value. Specifically, as shown in FIG. 5, this method uses the JCL execution control function to skip a specific JCL without executing it.

通常の実行時でセンススイッチがセットされていない時
は、最初のプログラムから実行を開始する。
During normal execution, if the sense switch is not set, execution starts from the first program.

処理手段10のプログラム部12..12□、 123
.・・・、 12.lは、それぞれ業務プログラムPL
、P2.P3゜・・・、PNにより、処理を行う。業務
プログラムP1、P2.P3.・・・、Pnは、ある業
務処理を実現するための一部処理を行う個々のプログラ
ムである。そして、業務プログラムPI、P2.P3゜
・・・、Pnのプログラム名は、それぞれrPROGI
J、rPROG2J、rPROG3J、・・・rPRO
Gn」となっている。
Program section 12 of processing means 10. .. 12□, 123
.. ..., 12. l is the business program PL, respectively.
, P2. Processing is performed using P3°..., PN. Business programs P1, P2. P3. . . , Pn are individual programs that perform partial processing to realize a certain business process. Then, business program PI, P2. The program names of P3゜..., Pn are rPROGI, respectively.
J, rPROG2J, rPROG3J, ... rPRO
Gn".

実行済登録部13..13□、・・・、 13Mは、記
憶手段30のジョブ状態管理ファイルに実行済のプログ
ラム名を登録する機能を持つプログラムにより処理を行
う。この機能でどのプログラムまで実行が終了したかが
記録される。
Executed registration section 13. .. 13□, . . . , 13M perform processing using a program having a function of registering the executed program name in the job status management file of the storage means 30. This function records which program has completed execution.

次に、この業務再処理方式の動作を、第2図の実行流れ
図を参照しながら説明する。
Next, the operation of this business reprocessing method will be explained with reference to the execution flowchart shown in FIG.

オペレータにより、業務プログラムP1〜Pnから成る
JOBAの実行指示がされるとジョブAはJCLの順序
で実行される。実行開始制御部11の実行開始制御機能
は、この時にセンススイッチがセットされていないので
機能しない(ステップSl)。プログラム部12□の業
務プログラムP1が実行される(ステップS2)。業務
プログラムP1の実行が完了すると、実行済登録部13
I は、業務プログラムPIのプログラム名rPROG
1」を、記憶手段20のジョブ状態管理ファイルに登録
する(ステップS3)。
When an operator instructs to execute JOBA consisting of business programs P1 to Pn, job A is executed in the order of JCL. The execution start control function of the execution start control unit 11 does not function because the sense switch is not set at this time (step Sl). The business program P1 of the program section 12□ is executed (step S2). When the execution of the business program P1 is completed, the executed registration unit 13
I is the program name rPROG of the business program PI
1'' is registered in the job status management file of the storage means 20 (step S3).

次に、プログラム部12zの業務プログラムP2が実行
される(ステップS4)。業務プログラムP2の実行が
完了すると、実行済登録部I3□は、業務プログラムP
2のプログラム名rPROG2」を、記憶手段20のジ
ョブ状態管理ファイルに登録する(ステップ35)。
Next, the business program P2 of the program section 12z is executed (step S4). When the execution of the business program P2 is completed, the executed registration unit I3□ registers the business program P2.
2's program name "rPROG2" is registered in the job status management file of the storage means 20 (step 35).

続いて、プログラム部123の業務プログラムP3が実
行される(ステップS6)。このとき、業務プログラム
P3の実行が中断されると、記憶手段20のジョブ状態
管理ファイルにおいてrJOBA」の項目には、rPR
OG2.が登録されている。
Subsequently, the business program P3 of the program section 123 is executed (step S6). At this time, if the execution of the business program P3 is interrupted, the item "rJOBA" in the job status management file of the storage means 20 will contain rPR.
OG2. is registered.

ステップS6において、業務プログラムP3の中断の原
因を取り除いた後、業務プログラムP3のrJOBAJ
を再処理する場合には、オペレータは制御部32の再処
理制御プログラムの実行指示を行う(ステップS7)。
In step S6, after removing the cause of the interruption of the business program P3, rJOBAJ of the business program P3 is
When reprocessing, the operator instructs the control unit 32 to execute the reprocessing control program (step S7).

このとき、オペレータは、再処理するジョブ名rJOB
AJを、入力部31から指定する。制御部32の再処理
制御プログラムにより、記憶手段20のジョブ状態管理
ファイルのrJOBAJの項目から、rPROG2」の
フ。
At this time, the operator selects the job name rJOB to be reprocessed.
AJ is specified from the input section 31. The reprocessing control program of the control unit 32 selects the file ``rPROG2'' from the item ``rJOBAJ'' in the job status management file of the storage unit 20.

ログラム名が得られる。また、制御部33の再処理制御
テーブルが引かれて、rSW2.の値が得られる。さら
に、rSW2Jに相当するセンススイッチがセットされ
た後、rJOBA、のJCLが指定されて、rJOBA
Jが起動される。rJ。
You can get the program name. Also, the reprocessing control table of the control unit 33 is drawn, and rSW2. The value of is obtained. Furthermore, after the sense switch corresponding to rSW2J is set, the JCL of rJOBA is specified, and rJOBA
J is activated. rJ.

BA、のJCLでは、実行開始制御部11によって、セ
ンススイッチが判定される(ステップS8)。
In the JCL of BA, the sense switch is determined by the execution start control unit 11 (step S8).

そして、業務プログラムPI、P2の実行およびそれら
の登録の処理を読み飛ばして、その値に相当する開始プ
ログラム(業務プログラムP3)から実行を開始しくス
テップS9)、ジョブの処理を継続して業務処理を行う
Then, the process of executing the business programs PI and P2 and registering them is skipped, and the execution is started from the start program (business program P3) corresponding to the value (step S9), and the job processing is continued. I do.

このようにして、本実施例は、バ・ノチ処理システムの
実行制御において、JCL (ジョブ制御言語)、実行
開始制御機能、実行済登録機能、ジョブ実行管理ファイ
ル、再処理制御プログラムによて業務処理の再処理を行
う。これによれば、中断後の再処理を行うには、中断の
原因を取り除くだけでよく、処理は中断したプログラム
から開始できることとなる。
In this way, this embodiment uses JCL (job control language), an execution start control function, an executed registration function, a job execution management file, and a reprocessing control program to control the execution of the Ba Nochi processing system. Reprocess the process. According to this, in order to perform reprocessing after an interruption, it is only necessary to remove the cause of the interruption, and processing can be restarted from the interrupted program.

そして、本実施例は、ジョブの再処理が必要になった時
、処理の完了したプログラム以降から実行する方式をと
ることにより、次の効果を得ることができる。
In this embodiment, when it becomes necessary to reprocess a job, the following effects can be obtained by executing the program from the program that has been completed.

(1)業務処理の最初から実行するためのファイル等の
復旧作業を必要としない方式を取れる。
(1) It is possible to use a method that does not require recovery work for files, etc. to execute business processing from the beginning.

(2)完了したプログラムの再実行が不要であるので再
処理に要する時間を短縮できる。
(2) Since it is not necessary to re-execute a completed program, the time required for re-processing can be shortened.

(3)再処理の際に実行開始ポイントの設定、トランザ
クションデータ、中間ファイルの退避、復旧をJCLに
組み込んでおくことにより、再処理に必要な作業を不要
にできる。
(3) The work required for reprocessing can be made unnecessary by incorporating the setting of an execution start point, saving and restoring transaction data and intermediate files into JCL during reprocessing.

(4)ジャーナル等の障害復旧に必要な機能を持たない
コンピュータシステムにおいて、簡易な障害対策として
利用できる。
(4) It can be used as a simple fault countermeasure in computer systems that do not have functions such as journals required for fault recovery.

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

以上説明したように、本発明は業務の再処理を最小の作
業で実施できる効果がある。
As described above, the present invention has the effect of allowing business reprocessing to be carried out with a minimum amount of work.

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

第1図は、本発明の一実施例を示す機能図、第2図は、
第1図の実施例の実行流れ図、第3図は、第1図の実施
例のジョブ状態管理ファイルの内容を示す図、 第4図は、第1図の実施例の再処理制御チーフルの内容
を示す図、 第5図は、第1図の実施例のJCLによるジョブ実行制
御の簡易図である。 10・ ・ ・ ・ 11・ ・ ・ ・ 12+  〜12s 13、〜13イ 20・ ・ ・ ・ 30・ ・ ・ ・ 31・ ・ ・ ・ 32、 33・ ・ ・処理手段 ・実行開始制御部 ・・・プログラム部 ・・・実行済登録部 ・記憶手段 ・制御手段 ・入力部 ・制御部
FIG. 1 is a functional diagram showing one embodiment of the present invention, and FIG. 2 is a functional diagram showing an embodiment of the present invention.
1 is an execution flowchart of the embodiment shown in FIG. 1, FIG. 3 is a diagram showing the contents of the job status management file of the embodiment of FIG. 1, and FIG. 4 is a diagram showing the contents of the reprocessing control file of the embodiment of FIG. FIG. 5 is a simplified diagram of job execution control by JCL in the embodiment of FIG. 1. 10. . . . . 11. . . . . 12+ ~12s 13, ~ 13i 20. . Section: Executed registration section, storage means, control means, input section, control section

Claims (1)

【特許請求の範囲】[Claims] (1)複数の処理部分から成る業務処理を実行するとき
に、これらの処理部分を順次に実行する業務再処理方式
において、 起動されると、業務処理の処理部分を順次に実行し、実
行された処理部分の処理名を送り出す処理手段と、 前記処理手段から送り出される処理名を受け取り、最新
の処理名を記憶する記憶手段と、前記記憶手段に記憶さ
れている最新の処理名に基づいて、前記処理手段を起動
する制御手段とを有し、 前記処理手段で処理部分の実行が中断されると、前記制
御手段の制御により、前記処理手段が起動部分の実行を
中断した処理部分から再開することを特徴とする業務再
処理方式。
(1) When executing a business process consisting of multiple processing parts, in a business reprocessing method in which these processing parts are executed sequentially, when started, the processing parts of the business process are executed sequentially, and the processing parts are executed sequentially. a processing means for sending out a process name of the processed part; a storage means for receiving the process name sent from the processing means and storing the latest process name; and based on the latest process name stored in the storage means, and control means for starting the processing means, and when execution of a processing part is interrupted by the processing means, the processing means resumes execution of the starting part from the processing part where execution was interrupted under the control of the control means. A business reprocessing method characterized by:
JP2838890A 1990-02-09 1990-02-09 Job reprocessing system Pending JPH03233634A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2838890A JPH03233634A (en) 1990-02-09 1990-02-09 Job reprocessing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2838890A JPH03233634A (en) 1990-02-09 1990-02-09 Job reprocessing system

Publications (1)

Publication Number Publication Date
JPH03233634A true JPH03233634A (en) 1991-10-17

Family

ID=12247273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2838890A Pending JPH03233634A (en) 1990-02-09 1990-02-09 Job reprocessing system

Country Status (1)

Country Link
JP (1) JPH03233634A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05313921A (en) * 1992-05-14 1993-11-26 Hitachi Ltd Job execution control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05313921A (en) * 1992-05-14 1993-11-26 Hitachi Ltd Job execution control system

Similar Documents

Publication Publication Date Title
JP3113841B2 (en) Parallel transaction processing system
JPH04139544A (en) Data restoring method
JPH03233634A (en) Job reprocessing system
JPH0594353A (en) Database management system
JPH05143422A (en) Updated journal managing system
JPH0659913A (en) Batch job scheduling system
JPH03246643A (en) Processing for editing dump summary
JPH06187217A (en) System for synchronization between data base and normal file
JP2001229033A (en) Device for re-executing job net in file failure
JPH08263296A (en) System for preserving and restoring program execution environment
JP2887488B2 (en) Multi-process processing equipment
JP3079825B2 (en) Electronic computer equipment
JPH06202892A (en) Program restart system
JPS63211033A (en) Job control system for rerun
JPH052499A (en) Job trouble re-processing system of information processor
JPH02285438A (en) Roll-back system for non-journal order processing file
JPS6234251A (en) File restoration system
JPH06103078A (en) Re-execution control system
JPH0764909A (en) Management device for execution order of on-line job processing
JPH04175830A (en) Rerun control system
JPH0816431A (en) Debugging process system for user program
JPH02212965A (en) Program loading system
JPH07160352A (en) Program execution system
JPH02126319A (en) Input job managing system
JPH04128936A (en) Program execution environment changeover system