Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2809271B2 - Job re-execution method - Google Patents
[go: Go Back, main page]

JP2809271B2 - Job re-execution method - Google Patents

Job re-execution method

Info

Publication number
JP2809271B2
JP2809271B2 JP8117043A JP11704396A JP2809271B2 JP 2809271 B2 JP2809271 B2 JP 2809271B2 JP 8117043 A JP8117043 A JP 8117043A JP 11704396 A JP11704396 A JP 11704396A JP 2809271 B2 JP2809271 B2 JP 2809271B2
Authority
JP
Japan
Prior art keywords
job
execution
restart
control information
information
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
JP8117043A
Other languages
Japanese (ja)
Other versions
JPH09282192A (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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP8117043A priority Critical patent/JP2809271B2/en
Publication of JPH09282192A publication Critical patent/JPH09282192A/en
Application granted granted Critical
Publication of JP2809271B2 publication Critical patent/JP2809271B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • 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 restart of a computer system (hereinafter simply referred to as a system) after a system failure, and more particularly to a job re-execution method for a job being executed at the time of the system failure.

【0002】[0002]

【従来の技術】特開昭62−177633号公報では、
所定のスケジュールに従って検査パッケージジョブを起
動するシステムにおいて、システム障害が発生した場
合、ジョブ実行履歴記録から次に実行すべきジョブを決
定してジョブを起動する機能について言及されている。
2. Description of the Related Art In Japanese Patent Application Laid-Open No. Sho 62-177633,
In a system that starts an inspection package job according to a predetermined schedule, when a system failure occurs, a function to determine a job to be executed next from a job execution history record and start the job is described.

【0003】また、特開平3−225434号公報で
は、自動化システムによりジョブを管理する大型計算機
システムにおいて、システム障害が発生した場合、前記
自動化システムが実行中ジョブ詳細情報をもとに、ジョ
ブを再起動する機能について言及されている。
In Japanese Patent Application Laid-Open No. 3-225434, when a system failure occurs in a large-scale computer system that manages a job by an automation system, the job is re-executed based on the detailed information of the job being executed by the automation system. It mentions the function to be activated.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の技術に
おける第1の問題点は、特開昭62−177633号公
報のジョブ自動再起動処理方式では、ジョブを再起動す
るために、あらかじめ実行ジョブスケジュール表を用意
しなければならず、またジョブの再起動はジョブ単位で
しか行われないことである。その理由は、この方式が検
査パッケージジョブという特定のジョブのみを対象とす
る自動再起動方式であるためである。
A first problem with the above-mentioned prior art is that the job automatic restart processing method disclosed in Japanese Patent Application Laid-Open No. Sho 62-177633 requires an execution job in advance to restart the job. A schedule table must be prepared, and restart of a job is performed only on a job basis. The reason is that this method is an automatic restart method for only a specific job called an inspection package job.

【0005】第2の問題点は、特開平3−225434
号公報のジョブ再起動方式では、再起動方法はジョブの
先頭からの起動あるいは実行中ステップからの起動のみ
しか選択できないことである。その理由は、この方式が
再起動位置を指定する手段を持たないためである。
[0005] The second problem is disclosed in JP-A-3-225434.
In the job restart method disclosed in Japanese Patent Application Laid-Open No. H10-209, the restart method can be selected only from the start of the job or from the step being executed. The reason is that this method has no means for specifying the restart position.

【0006】第3の問題点は、特開平3−225434
号公報のジョブ再起動方式では、システム障害前のジョ
ブの出力情報が不明であることである。その理由は、こ
の方式はジョブを再起動することのみ述べられており、
システム障害前の出力情報については言及されていない
ことにある。
A third problem is that of Japanese Patent Application Laid-Open No. 3-225434.
In the job restart method disclosed in Japanese Patent Application Laid-Open Publication No. H10-266, the output information of the job before the system failure is unknown. The reason is that this method only mentions restarting the job,
The output information before the system failure is not mentioned.

【0007】第4の問題点は、特開平3−225434
号公報のジョブ再起動方式では、自動化システムにより
管理されたジョブのみ再起動が可能であり、システム障
害後に操作員が自動化システムを再び立ち上げることに
よりジョブが再起動されるため、再起動時にはどうして
も操作員の介入が必要となることである。その理由は、
この方式が自動化システムによりバッチジョブの管理を
自動化する大型計算機システムに関するものであるため
である。
[0007] The fourth problem is disclosed in Japanese Patent Application Laid-Open No. 3-225434.
In the job restart method disclosed in Japanese Patent Application Laid-Open Publication No. H10-207, only a job managed by the automation system can be restarted, and the operator restarts the automation system after a system failure, so that the job is restarted. Operator intervention is required. The reason is,
This is because this method relates to a large-scale computer system that automates the management of batch jobs by an automation system.

【0008】本発明の目的は、システム障害時に実行中
であったジョブの出力情報を保存し、かつ操作員の介入
無しに任意の箇所より再実行させるジョブ再実行方式を
提供することにある。
It is an object of the present invention to provide a job re-execution method for saving output information of a job being executed at the time of a system failure and re-executing the job from an arbitrary location without intervention of an operator.

【0009】[0009]

【課題を解決するための手段】本発明のジョブ再実行方
式は、システム障害時に実行中であったジョブの情報を
元に新たにジョブを生起し自動的に実行するジョブ再実
行方式において、ジョブ自身の情報を格納する主記憶上
のジョブ認識テーブルと、ジョブ自身の情報およびジョ
ブ制御文を格納する2次記憶装置上のジョブ制御情報
と、投入されたジョブ制御言語を翻訳し、前記ジョブ認
識テーブルおよび前記ジョブ制御情報を作成するジョブ
制御言語翻訳手段と、ジョブをスケジュールし、前記ジ
ョブ認識テーブルおよび前記ジョブ制御情報の内容を変
更するジョブスケジュール手段と、このジョブスケジュ
ール手段によりスケジュールされたジョブの開始処理お
よび終了処理を行い、さらにジョブ内のジョブステップ
の開始処理および終了処理を行い、そのつど前記ジョブ
認識テーブルおよび前記ジョブ制御情報の内容を変更す
るジョブステップ実行管理手段と、システム障害時にシ
ステムを再起動するシステム立ち上げ手段と、このシス
テム立ち上げ手段によりシステムが再起動されたときに
前記ジョブ制御情報を参照してシステム障害時に実行中
であったジョブのジョブ認識テーブルを復元するジョブ
復元手段と、このジョブ復元手段により復元されたジョ
ブ認識テーブルを元に新たにジョブを生起し起動するジ
ョブ再起動手段とを備える。さらに、前記ジョブ再起動
手段により起動されたジョブが再実行する際に、実行を
開始させるジョブ内の任意の箇所を再起動位置として
定するジョブ再起動位置指定手段と、このジョブ再起動
位置指定手段により指定されたジョブの再起動位置を検
索するジョブ再起動位置検索手段とを含む。
A job re-execution method according to the present invention is a job re-execution method for automatically generating a new job based on information of a job being executed at the time of system failure and automatically executing the job. Main memory for storing own information
Job recognition table, information about the job itself and job
Control information on the secondary storage device that stores the job control statement
If, translating the input job control language, and job control language translation means for creating the job recognition table and the job control information, scheduling jobs, changing the contents of the job recognition table and the job control information A job scheduling means for performing start processing and end processing of a job scheduled by the job schedule means, and further performing start processing and end processing of a job step in the job, each time the job recognition table and the job control information Job step execution management means for changing the contents, system startup means for restarting the system in the event of a system failure, and referring to the job control information when the system is restarted by the system startup means, in the event of a system failure. Of the running job Comprising a job restoring means for restoring the job recognition table, and a job restart means for newly occurred job start based on the job recognition table restored by this job restoring means. Further, when the job started by the job restart unit is re-executed, the execution is
A job restart position specifying means for fingers <br/> constant any point in the job to be started as restart position, job restart searching for restarting position of the specified job by the job restart position specifying means Position search means.

【0010】[0010]

【発明の実施の形態】以下、本発明について図面を参照
しながら詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the drawings.

【0011】図1は、本発明の一実施の形態に係るジョ
ブ再実行方式の構成を示すブロック図である。本実施の
形態に係るジョブ再実行方式は、主記憶A上のジョブ認
識テーブル11と、2次記憶装置B上のジョブ制御情報
12と、操作卓Cから投入されるジョブ制御文を翻訳す
るジョブ制御言語翻訳手段1と、ジョブをスケジュール
するジョブスケジュール手段2と、ジョブおよびジョブ
ステップの実行を管理するジョブステップ実行管理手段
3と、システム障害時にシステムを再起動するシステム
立ち上げ手段4と、システム障害時に実行中であったジ
ョブのジョブ認識テーブル11を復元するジョブ復元手
段5と、ジョブ認識テーブル11を元に新たにジョブを
生起し起動するジョブ再起動手段6と、ジョブの再起動
位置を指定するジョブ再起動位置指定手段7と、ジョブ
の再起動位置を検索するジョブ再起動位置検索手段8と
から構成されている。
FIG. 1 is a block diagram showing a configuration of a job re-execution method according to an embodiment of the present invention. The job re-execution method according to the present embodiment includes a job recognition table 11 in the main storage A, a job control information 12 in the secondary storage device B, and a job for translating a job control statement input from the console C. Control language translating means 1, job scheduling means 2 for scheduling jobs, job step execution managing means 3 for managing execution of jobs and job steps, system starting means 4 for restarting the system in the event of a system failure, system A job restoring unit 5 for restoring the job recognition table 11 of the job being executed at the time of the failure, a job restarting unit 6 for generating and starting a new job based on the job recognition table 11, and a job restart position. A job restart position specifying means 7 for specifying a job restart position searching means 8 for searching for a job restart position. It has been.

【0012】ジョブステップ実行管理手段3は、ジョブ
開始処理部31と、ジョブステップ開始処理部32と、
ジョブステップ終了処理部33と、ジョブ終了処理部3
4とを含んで構成されている。
The job step execution management means 3 includes a job start processing section 31, a job step start processing section 32,
Job step end processing unit 33 and job end processing unit 3
4 is included.

【0013】図2を参照すると、ジョブ認識テーブル1
1は、ジョブ生起番号と、ジョブ認識情報(ジョブ名,
利用者名,課金単位名等)と、ジョブステージと、障害
再実行フラグと、その他のジョブ制御情報とから構成さ
れている。障害再実行フラグは、実行中にシステム障害
に遭遇し、ジョブ再実行方式により再起動されたジョブ
であることを示す。
Referring to FIG. 2, the job recognition table 1
1 is a job occurrence number and job identification information (job name,
User name, charging unit name, etc.), a job stage, a failure re-execution flag, and other job control information. The failure re-execution flag indicates that the job has been restarted by the job re-execution method due to encountering a system failure during execution.

【0014】図3を参照すると、ジョブ制御情報12
は、ジョブ生起番号と、ジョブ認識情報(ジョブ名,利
用者名,課金単位名等)と、ジョブステージと、障害再
実行フラグと、その他のジョブ制御情報と、RERUN
情報(再実行方式,再実行位置,再実行位置詳細および
現在の実行位置)と、RERUN情報既定値(RERU
N情報から”現在の実行位置”の領域を除いた形式)
と、ジョブ制御文内部形式とからなる。再実行方式は、
再実行しない,同一ジョブとして再実行,および別ジョ
ブとして再実行の3種類がある。また、再実行位置は、
ジョブの先頭,特定のラベル,実行中ジョブステップを
基準とする,および再実行時に指定の4種類がある。さ
らに、再実行位置詳細は、再実行位置が特定のラベルの
場合のラベル名,および再実行位置が実行中ジョブステ
ップを基準とするの場合の実行中ジョブステップからn
個後のジョブステップの2種類がある。なお、n=0の
場合、実行中ジョブステップを示し、n<0の場合、実
行中ジョブステップより前のジョブステップを示す。
Referring to FIG. 3, job control information 12
Is a job occurrence number, job identification information (job name, user name, charging unit name, etc.), job stage, failure re-execution flag, other job control information, and RERUN.
Information (re-execution method, re-execution position, re-execution position details, and current execution position), and RERUN information default value (RERU
N format excluding the area of "current execution position")
And a job control statement internal format. The re-execution method is
There are three types: re-execution, re-execution as the same job, and re-execution as another job. Also, the re-execution position is
There are four types: a job head, a specific label, a running job step as a reference, and a specification at the time of re-execution. Further, the details of the re-execution position include the label name when the re-execution position is a specific label and the running job step when the re-execution position is based on the running job step.
There are two types of subsequent job steps. Note that when n = 0, it indicates a running job step, and when n <0, it indicates a job step before the running job step.

【0015】図4を参照すると、ジョブ制御言語翻訳手
段1の処理は、ジョブ制御文読み込みステップS101
と、ジョブ生起番号取得ステップS102と、ジョブ認
識テーブルおよびジョブ制御情報作成ステップS103
と、ジョブステージ翻訳中設定ステップS104と、ジ
ョブ制御文翻訳ステップS105と、ジョブ認識情報の
ジョブ認識テーブルおよびジョブ制御情報反映ステップ
S106と、RERUN情報既定値設定ステップS10
7と、ジョブ制御文格納ステップS108と、ジョブス
テージ翻訳完了設定ステップS109と、翻訳完了通知
ステップS110とからなる。
Referring to FIG. 4, the processing of the job control language translating means 1 includes a job control statement reading step S101.
, Job occurrence number acquisition step S102, job recognition table and job control information creation step S103
Job stage translation setting step S104, job control sentence translation step S105, job recognition table of job recognition information and job control information reflection step S106, and RERUN information default value setting step S10
7, a job control statement storage step S108, a job stage translation completion setting step S109, and a translation completion notification step S110.

【0016】図5を参照すると、ジョブスケジュール手
段2の処理は、翻訳完了段階ジョブ検索ステップS20
1と、翻訳完了段階ジョブ有無判定ステップS202
と、ジョブスケジュール可能判定ステップS203と、
ジョブステージスケジュール中更新ステップS204
と、ジョブスケジュール完了通知ステップS205と、
ジョブスケジュール待ちステップS206とからなる。
Referring to FIG. 5, the processing of the job schedule means 2 is a translation completion stage job search step S20.
1 and translation completion stage job presence determination step S202
And job schedule availability determination step S203;
Update during job stage schedule step S204
And a job schedule completion notification step S205;
It comprises a job schedule waiting step S206.

【0017】図6を参照すると、ジョブステップ実行管
理手段3の処理は、ユーザプログラム終了通知ステップ
S301と、ジョブステップ終了処理ステップS302
と、スケジュール完了通知受け取りステップS303
と、障害再実行ジョブ判定ステップS304と、ジョブ
再起動位置検索手段呼出しステップS305と、ジョブ
制御文内部形式読み込みステップS306と、現在の実
行位置更新ステップS307と、ジョブ開始文判定ステ
ップS308と、ジョブ開始処理ステップS309と、
ジョブ終了文判定ステップS310と、ジョブ終了処理
ステップS311と、ジョブステップ開始文判定ステッ
プS312と、ジョブステップ開始処理ステップS31
3と、ユーザプログラム起動ステップS314と、ジョ
ブ制御処理ステップS315とからなる。
Referring to FIG. 6, the processing of the job step execution management means 3 includes a user program end notification step S301 and a job step end processing step S302.
And receiving a schedule completion notification step S303
A failure re-execution job determination step S304, a job restart position search means calling step S305, a job control statement internal format reading step S306, a current execution position update step S307, a job start statement determination step S308, Start processing step S309;
Job end sentence determination step S310, job end processing step S311, job step start sentence determination step S312, and job step start processing step S31
3, a user program activation step S314, and a job control processing step S315.

【0018】図7を参照すると、ジョブ復元手段5の処
理は、未復元ジョブ探索ステップS501と、未復元ジ
ョブ有無判定ステップS502と、ジョブ認識テーブル
復元ステップS503と、スケジュール中判定ステップ
S504と、ジョブステージ翻訳待ち設定ステップS5
05と、実行中ジョブ判定ステップS506と、ジョブ
ステージ出力待ち設定ステップS507とからなる。
Referring to FIG. 7, the processing of the job restoring means 5 includes an unrestored job search step S501, an unrestored job existence determining step S502, a job recognition table restoring step S503, a schedule determination step S504, a job Stage translation waiting setting step S5
05, an executing job determination step S506, and a job stage output wait setting step S507.

【0019】図8を参照すると、ジョブ再起動手段6の
処理は、再実行指定有無判定ステップS601と、別ジ
ョブとしての再実行指定判定ステップS602と、ジョ
ブステージ翻訳完了設定ステップS603と、ジョブデ
リバリ削除ステップS604と、ジョブ生起番号取得ス
テップS605と、新ジョブのジョブ認識テーブルおよ
びジョブ制御情報作成ステップS606と、ジョブステ
ージ翻訳完了設定ステップS607と、障害再実行フラ
グONステップS608と、ジョブ制御情報削除ステッ
プS609とからなる。
Referring to FIG. 8, the processing of the job restart means 6 includes a re-execution designation presence / absence determination step S601, a re-execution designation determination step S602 as another job, a job stage translation completion setting step S603, a job delivery. Deletion step S604, job occurrence number acquisition step S605, job recognition table and job control information creation step S606 for a new job, job stage translation completion setting step S607, failure re-execution flag ON step S608, and job control information deletion It consists of step S609.

【0020】図9を参照すると、ジョブ再起動位置指定
手段7の処理は、再起動位置問い合わせステップS70
1と、再起動位置および再起動位置詳細反映ステップS
702とからなる。
Referring to FIG. 9, the processing of the job restart position specifying means 7 is a restart position inquiry step S70.
1, restart position and restart position detail reflection step S
702.

【0021】同じく、図9を参照すると、ジョブ再起動
位置検索手段8の処理は、再起動位置指定済判定ステッ
プS801と、ジョブ先頭からの再起動判定ステップS
802と、特定ラベルからの再起動判定ステップS80
3と、ジョブ制御文読み飛ばしステップS804と、現
在の実行位置位置付けステップS805と、再起動位置
詳細n=0判定ステップS806と、再起動位置詳細n
>0判定ステップS807と、n個分ジョブステップ読
み飛ばしステップS808と、再起動位置詳細n<0判
定ステップS809と、nの絶対値個分ジョブステップ
読み戻しステップS810とからなる。
Similarly, referring to FIG. 9, the processing of the job restart position search means 8 includes a restart position designation completion determination step S801 and a restart determination step S801 from the beginning of the job.
802 and restart determination step S80 from a specific label
3, job control statement skipping step S804, current execution position positioning step S805, restart position details n = 0 determination step S806, restart position details n
> 0 determination step S807, n job step reading step S808, restart position details n <0 determination step S809, and job step reading back step S810 for n absolute values.

【0022】図10は、本実施の形態に係るジョブ再実
行方式におけるシステムが正常に運転されている場合の
動作を示す図である。
FIG. 10 is a diagram showing an operation when the system in the job re-execution method according to the present embodiment is operating normally.

【0023】図11は、本実施の形態に係るジョブ再実
行方式におけるシステム障害後のジョブの復元および再
起動における動作を示す図である。
FIG. 11 is a diagram showing operations in restoring and restarting a job after a system failure in the job re-execution method according to the present embodiment.

【0024】図12は、本実施の形態に係るジョブ再実
行方式におけるジョブの任意箇所からの再起動における
動作を示す図である。
FIG. 12 is a diagram showing an operation in restarting a job from an arbitrary position in the job re-execution method according to the present embodiment.

【0025】次に、このように構成された本実施の形態
に係るジョブ再実行方式の動作について説明する。
Next, the operation of the job re-execution method according to the present embodiment configured as described above will be described.

【0026】(1) システムが正常に運転されている
場合(図10参照)
(1) When the system is operating normally (see FIG. 10)

【0027】操作卓Cよりジョブが投入されると、ジョ
ブ制御言語翻訳手段1は、ジョブ生起番号を取得し、ジ
ョブ制御文を翻訳し、主記憶A上にジョブ認識テーブル
11を作成し、2次記憶装置B上にジョブ制御情報12
を作成し、ジョブスケジュール手段2に制御を移す。
When a job is input from the console C, the job control language translating means 1 acquires a job occurrence number, translates a job control statement, creates a job recognition table 11 in the main memory A, Job control information 12 on the next storage device B
And transfers control to the job scheduling means 2.

【0028】詳しくは、ジョブ制御言語翻訳手段1は、
ジョブの投入によって起動されると、投入されたジョブ
のジョブ制御文を読み込み(ステップS101)、該ジ
ョブのジョブ生起番号を取得する(ステップS10
2)。ジョブ生起番号の取得後、ジョブ制御言語翻訳手
段1は、ジョブ認識テーブル11およびジョブ制御情報
12の領域を確保し、取得したジョブ生起番号を反映す
る(ステップS103)。
More specifically, the job control language translating means 1
When activated by the input of a job, a job control statement of the input job is read (step S101), and a job occurrence number of the job is acquired (step S10).
2). After acquiring the job occurrence number, the job control language translating means 1 secures an area for the job recognition table 11 and the job control information 12, and reflects the acquired job occurrence number (step S103).

【0029】次に、ジョブ制御言語翻訳手段1は、ジョ
ブ認識テーブル11およびジョブ制御情報12のジョブ
ステージを”翻訳中”とし(ステップS104)、読み
込んだジョブ制御文の翻訳を行う(ステップS10
5)。翻訳時にジョブ認識情報が取得できるので、ジョ
ブ制御言語翻訳手段1は、これをジョブ認識テーブル1
1およびジョブ制御情報12のジョブ認識情報に反映す
る(ステップS106)。また、ジョブ制御言語翻訳手
段1は、ジョブ制御文に記述されたRERUN情報の既
定値を認識しジョブ制御情報12のRERUN情報既定
値領域に格納する(ステップS107)。そして、ジョ
ブ制御言語翻訳手段1は、内部形式に翻訳したジョブ制
御文をジョブ制御情報12のジョブ制御文内部形式領域
に格納する(ステップS108)。
Next, the job control language translating means 1 sets the job stage of the job recognition table 11 and the job control information 12 to "under translation" (step S104), and translates the read job control statement (step S10).
5). Since the job recognition information can be obtained at the time of translation, the job control language translating means 1
1 and the job recognition information of the job control information 12 (step S106). Further, the job control language translating means 1 recognizes the default value of the RERUN information described in the job control statement and stores it in the RERUN information default value area of the job control information 12 (step S107). Then, the job control language translating means 1 stores the job control statement translated into the internal format in the job control statement internal format area of the job control information 12 (step S108).

【0030】内部形式の格納が完了したならば、ジョブ
制御言語翻訳手段1は、ジョブステージを”翻訳完了”
とし(ステップS109)、ジョブスケジュール手段2
に翻訳完了を通知する(ステップS110)。
When the storage of the internal format is completed, the job control language translating means 1 sets the job stage to "translation completed".
(Step S109), the job scheduling means 2
Is notified of the completion of translation (step S110).

【0031】次に、ジョブスケジュール手段2は、ジョ
ブ認識テーブル11を参照してジョブのスケジュールを
行い、ジョブステップ実行管理手段3に通知を行う。同
時にジョブスケジュール手段2は、ジョブ制御情報12
を更新する。
Next, the job schedule means 2 schedules the job with reference to the job recognition table 11 and notifies the job step execution management means 3. At the same time, the job scheduling means 2
To update.

【0032】詳しくは、ジョブスケジュール手段2は、
ジョブ制御言語翻訳手段1からの翻訳完了通知あるいは
ジョブステップ実行管理手段3からのジョブ終了通知に
より起動し、スケジュールすべきジョブ(ジョブステー
ジが翻訳完了段階にあるジョブ)をジョブ認識テーブル
11より探索する(ステップS201)。
More specifically, the job scheduling means 2
The job is activated by a translation completion notification from the job control language translation unit 1 or a job end notification from the job step execution management unit 3 and searches the job recognition table 11 for a job to be scheduled (a job whose job stage is in the translation completion stage). (Step S201).

【0033】スケジュールすべきジョブが見つかり(ス
テップS202でイエス)、そのジョブがスケジュール
可能である場合(ステップS203でイエス)、ジョブ
スケジュール手段2は、ジョブ認識テーブル11および
ジョブ制御情報12のジョブステージを”スケジュール
中”に更新する(ステップS204)。ジョブステージ
の更新後、ジョブスケジュール手段2は、ジョブステッ
プ実行管理手段3にジョブスケジュール完了を通知する
(ステップS205)。
If a job to be scheduled is found (Yes in step S202) and the job is schedulable (Yes in step S203), the job scheduling means 2 sets the job stage of the job recognition table 11 and the job control information 12 to Update to "during schedule" (step S204). After updating the job stage, the job schedule unit 2 notifies the job step execution management unit 3 of the completion of the job schedule (step S205).

【0034】一方、ステップS203でジョブスケジュ
ールが可能でなければ、ジョブスケジュール手段2は、
ジョブをスケジュール待ちとする(ステップS20
6)。
On the other hand, if the job scheduling is not possible in step S203, the job scheduling means 2
Put the job on schedule (step S20)
6).

【0035】続いて、ジョブステップ実行管理手段3
は、ジョブ認識テーブル11およびジョブ制御情報12
を参照し、ジョブおよびジョブステップを実行する。ジ
ョブステップ実行管理手段3は、ジョブおよびジョブス
テップの開始あるいは終了毎にジョブ制御情報12を更
新する。
Subsequently, the job step execution management means 3
Are the job recognition table 11 and the job control information 12
And execute jobs and job steps. The job step execution management means 3 updates the job control information 12 every time a job or a job step is started or ended.

【0036】詳しくは、ジョブステップ実行管理手段3
は、ジョブスケジュール手段2のスケジュール完了通
知、あるいはユーザプログラムの終了によって起動さ
れ、起動要因がユーザプログラム終了通知である場合
(ステップS301でイエス)、ジョブステップ終了処
理部33によりジョブステップの終了処理を行う(ステ
ップS302)。ここで、ジョブ制御情報12のRER
UN情報がジョブステップ開始時に更新されていた場合
は、ジョブステップ終了処理部33は、RERUN情報
を既定値に復元する。
More specifically, the job step execution management means 3
Is activated by the schedule completion notification of the job schedule means 2 or by the termination of the user program. If the activation factor is the user program termination notification (YES in step S301), the job step termination processing unit 33 executes the job step termination processing. Perform (Step S302). Here, the RER of the job control information 12
If the UN information has been updated at the start of the job step, the job step end processing unit 33 restores the RERUN information to a default value.

【0037】また、起動要因がユーザプログラム終了通
知でない場合は(ステップS301でノー)、ジョブス
テップ実行管理手段3は、スケジュール完了通知を受け
取り(ステップS303)、このときスケジュールされ
たジョブが障害再実行ジョブである場合は(ステップS
304でイエス)、ジョブ再起動位置検索手段8を呼び
出して、ジョブの再起動位置を検索し、ジョブ制御文実
行位置を位置付ける(ステップS305)。
If the activation factor is not the user program end notification (NO in step S301), the job step execution management means 3 receives the schedule completion notification (step S303), and the job scheduled at this time is re-executed for the failure. If it is a job (step S
In step 304, the job restart position search unit 8 is called to search for a job restart position and locate a job control statement execution position (step S305).

【0038】次に、ジョブステップ実行管理手段3は、
ジョブ制御情報12のジョブ制御文内部形式を読み込む
(ステップS306)。読み込む位置は、スケジュール
完了直後で障害再実行ジョブでないジョブの場合はジョ
ブ制御文の先頭からとなり、障害再実行ジョブの場合は
ジョブ再起動位置検索手段8により位置付けられた位置
となる。ジョブステップ終了後のジョブは、実行が終了
したジョブステップの次の処理からとなる。
Next, the job step execution management means 3
The internal format of the job control statement of the job control information 12 is read (step S306). The read position is from the beginning of the job control statement in the case of a job that is not a failure re-execution job immediately after completion of the schedule, and is the position determined by the job restart position search unit 8 in the case of a failure re-execution job. The job after the end of the job step includes the next process of the job step whose execution has been completed.

【0039】ジョブ制御文内部形式の読み込み後、ジョ
ブステップ実行管理手段3は、ジョブ制御情報12の”
現在の実行位置”を読み込んだ位置に更新する(ステッ
プS307)。これにより、システム障害後にどの処理
を実行中であったかを知ることができる。
After reading the internal format of the job control statement, the job step execution management means 3 reads the job control information 12
The “current execution position” is updated to the read position (step S307). Thus, it is possible to know which process was being executed after the system failure.

【0040】読み込んだジョブ制御文がジョブ開始文で
ある場合(ステップS308でイエス)、ジョブステッ
プ実行管理手段3は、ジョブ開始処理部31によりジョ
ブの開始処理を行う(ステップS309)。ジョブ開始
処理部31は、ジョブ認識テーブル11およびジョブ制
御情報12のジョブステージを”ジョブ実行中”に更新
し、ジョブ制御情報12のRERUN情報既定値領域を
RERUN情報領域に複写する。これにより、RERU
N情報が有効となり、システム障害後の障害再実行が可
能となる。ジョブ開始処理後、ジョブステップ実行管理
手段3は、次のジョブ制御文の読み込み処理を行う(ス
テップS306)。
If the read job control statement is a job start statement (YES in step S308), the job step execution management unit 3 performs a job start process by the job start processing unit 31 (step S309). The job start processing unit 31 updates the job stage of the job recognition table 11 and the job control information 12 to “executing job”, and copies the RERUN information default value area of the job control information 12 to the RERUN information area. With this, RERU
The N information becomes valid, and the failure can be re-executed after the system failure. After the job start processing, the job step execution management means 3 reads the next job control statement (step S306).

【0041】読み込んだジョブ制御文がジョブ終了文で
ある場合(ステップS310でイエス)、ジョブステッ
プ実行管理手段3は、ジョブ終了処理部34によりジョ
ブの終了処理を行う(ステップS311)。ジョブ終了
処理部34は、ジョブ制御情報12を消去し、ジョブ認
識テーブル11のジョブステージを”出力待ち”に更新
する。また、ジョブ終了処理部34は、ジョブスケジュ
ール手段2にジョブ終了を通知する。スケジュール待ち
ジョブが存在する場合は、そのジョブがスケジュールさ
れることになる。
If the read job control statement is a job end statement (YES in step S310), the job step execution management unit 3 performs job end processing by the job end processing unit 34 (step S311). The job termination processing unit 34 deletes the job control information 12 and updates the job stage of the job recognition table 11 to “waiting for output”. Further, the job end processing unit 34 notifies the job schedule unit 2 of the end of the job. If there is a job waiting to be scheduled, the job will be scheduled.

【0042】読み込んだジョブ制御文がジョブステップ
開始文である場合(ステップS312でイエス)、ジョ
ブステップ実行管理手段3は、ジョブステップ開始処理
部32によりジョブステップの開始処理を行う。ジョブ
ステップ開始文に該ジョブステップにのみ有効なRER
UN情報の指定がなされている場合には、ジョブステッ
プ開始処理部32は、ジョブ制御情報12のRERUN
情報領域を指定されたように更新する。これにより、各
ジョブステップ毎のRERUN情報の設定が可能とな
る。そして、ジョブステップ開始処理後、ジョブステッ
プ実行管理手段3は、ユーザプログラムを起動する(ス
テップS314)。
If the read job control statement is a job step start statement (YES in step S312), the job step execution management unit 3 causes the job step start processing unit 32 to execute a job step start process. RER valid only for the job step in the job step start statement
If the UN information has been specified, the job step start processing unit 32
Updates the information area as specified. This makes it possible to set RERUN information for each job step. Then, after the job step start processing, the job step execution management means 3 starts the user program (step S314).

【0043】読み込んだジョブ制御文が上記の3つでな
い場合は、ジョブステップ実行管理手段3は、ジョブ制
御文に記述されているジョブ制御処理を行い(ステップ
S315)、その後、次のジョブ制御文の読み込み処理
を行う(ステップS306)。
If the read job control statements are not the above three, the job step execution management means 3 performs the job control processing described in the job control statement (step S315), and then executes the next job control statement. Is performed (step S306).

【0044】システムが正常に運転されている場合は、
以上の動作が行われる。
If the system is operating normally,
The above operation is performed.

【0045】(2) システム障害後のジョブの復元お
よび再起動(図11参照)
(2) Restoring and restarting a job after a system failure (see FIG. 11)

【0046】システムが障害となった場合は、実行中ジ
ョブに関する主記憶A上のジョブ認識テーブル11は消
滅する。
If the system fails, the job recognition table 11 in the main memory A for the job being executed disappears.

【0047】システム立ち上げ手段4は、システムを再
起動する。
The system start-up means 4 restarts the system.

【0048】ジョブ復元手段5は、システム障害後の再
立ち上げ時に、システム立ち上げ手段4により起動され
る。
The job restoring unit 5 is started by the system start-up unit 4 when the system is restarted after a system failure.

【0049】ジョブ復元手段5は、ジョブ制御情報12
からシステム障害前にシステムに存在していた未復元ジ
ョブを認識し(ステップS501)、未復元ジョブがあ
れば(ステップS502でイエス)、該ジョブのジョブ
制御情報12内のジョブ認識テーブルと同形式の領域を
主記憶A上に複写することにより、該ジョブのジョブ認
識テーブル11を復元する(ステップS503)。
The job restoring means 5 has a job control information 12
Unrecovered job existing in the system before the system failure is recognized (step S501), and if there is an unrestored job (yes in step S502), the job has the same format as the job recognition table in the job control information 12 of the job. The job recognition table 11 of the job is restored by copying the area in the main storage A (step S503).

【0050】復元したジョブのジョブステージが”スケ
ジュール中”であった場合(ステップS504でイエ
ス)、ジョブ復元手段5は、ジョブステージを”翻訳待
ち”にする(ステップS505)。
If the job stage of the restored job is “scheduled” (YES in step S 504), the job restoring unit 5 sets the job stage to “waiting for translation” (step S 505).

【0051】また、復元したジョブのジョブステージ
が”実行中”を示している場合(ステップS506でイ
エス)、ジョブ復元手段5は、システム障害前に実行中
であったことを意味しているため、該ジョブのジョブ認
識テーブル11およびジョブ制御情報12のジョブステ
ージを”出力待ち”とする(ステップS507)。
If the job stage of the restored job indicates "executing" (YES in step S506), it means that the job restoring unit 5 was executing before the system failure. Then, the job stage of the job recognition table 11 and the job control information 12 of the job is set to “waiting for output” (step S507).

【0052】ジョブの復元処理が完了したならば、ジョ
ブ再起動手段6は、ジョブ復元手段5によって復元され
たジョブのうち、システム障害前に実行中であり、かつ
障害再実行の指定があるジョブの再起動を行う。
When the job restoring process is completed, the job re-starting means 6 selects the job which is being executed before the system failure and which has been designated to be re-executed among the jobs restored by the job restoring means 5. Restart.

【0053】詳しくは、ジョブ再起動手段6は、ジョブ
制御情報12の再実行方式が”再実行しない”となって
いるジョブに関しては(ステップS601でノー)、該
ジョブに対してジョブ制御言語12を消去する(ステッ
プS609)。
More specifically, the job re-starting means 6 determines that the job whose re-execution method is “do not re-execute” in the job control information 12 (No in step S 601) Is deleted (step S609).

【0054】障害前に実行中であったジョブで、ジョブ
制御情報12の再実行方式に”同一ジョブとして再実
行”の指定がされている場合は(ステップ602でノ
ー)、ジョブ再起動手段6は、該ジョブのジョブステー
ジを”翻訳完了”とし(ステップS603)、該ジョブ
のデリバリを削除する(ステップS604)。該ジョブ
は、システム立ち上げ後に、ジョブスケジュール手段2
により自動的にスケジュールされる。
If the job being executed before the failure specifies "re-execute as the same job" in the re-execution method of the job control information 12 (No in step 602), the job restarting means 6 Sets the job stage of the job to "translation completed" (step S603), and deletes the delivery of the job (step S604). After starting the system, the job is executed by the job scheduling means 2.
Automatically scheduled by

【0055】障害前に実行中であり、ジョブ制御情報1
2の再実行方式に”別ジョブとして再実行”と指定され
ているジョブに関しては(ステップS602でイエ
ス)、ジョブ再起動手段6は、新たにジョブ生起番号を
取得した後(ステップS605)、該ジョブのジョブ認
識テーブル11およびジョブ制御情報12を複写するこ
とにより、新ジョブのジョブ認職テーブル11’および
ジョブ制御情報12’を作成する(ステップS60
6)。その後、ジョブ再起動手段6は、新ジョブのジョ
ブステージを”翻訳完了”とすることで、この新ジョブ
はシステム立ち上げ後にジョブスケジュール手段2によ
り自動的にスケジュールされる(ステップS607)。
The job control information 1 is being executed before the failure
For a job designated as “re-execute as another job” in the second re-execution method (Yes in step S602), the job restarting unit 6 acquires a new job occurrence number (step S605), and The job recognition table 11 'and the job control information 12' of the new job are created by copying the job recognition table 11 and the job control information 12 of the job (step S60).
6). After that, the job restarting unit 6 sets the job stage of the new job to “translation completed”, so that the new job is automatically scheduled by the job scheduling unit 2 after the system is started (step S607).

【0056】最後に、ジョブ再起動手段6は、再起動し
たジョブのジョブ認識テーブル11(あるいは11’)
の障害再実行フラグをONとする(ステップS60
8)。これにより、該ジョブの実行時、ジョブステップ
実行管理手段3が再実行ジョブであることを認識でき、
再起動位置の検索が可能となる。
Finally, the job restarting means 6 outputs the job recognition table 11 (or 11 ') of the restarted job.
Turn on the failure re-execution flag (step S60).
8). Thereby, when the job is executed, the job step execution management means 3 can recognize that the job is a re-execution job,
The search for the restart position can be performed.

【0057】ジョブスケジュール手段2は、通知を受け
取ると、ジョブが普通に投入された場合と同様に、ジョ
ブのスケジュールを行い、ジョブステップ実行管理手段
3に通知する。
Upon receipt of the notification, the job schedule means 2 schedules the job and notifies the job step execution management means 3 as in the case where the job is normally input.

【0058】以上により、本実施の形態に係るジョブ再
実行方式の動作であるシステム障害時に実行中であった
ジョブの出力情報を保存したままの再起動の処理が完了
する。
As described above, the restarting process, which preserves the output information of the job being executed at the time of the system failure, which is the operation of the job re-executing method according to the present embodiment, is completed.

【0059】(3) ジョブの任意箇所からの再起動
(図12参照)
(3) Restarting the job from an arbitrary position (see FIG. 12)

【0060】ジョブの再起動時、ジョブステップ実行管
理手段3は、ジョブ開始処理部31によりジョブ開始処
理を行った後、ジョブ再起動位置検索手段8を用いて、
ジョブ再起動位置指定手段7にて指定されるジョブ内の
任意の箇所まで該ジョブのジョブ制御情報12を読み飛
ばし、指定位置からジョブの再起動を行う。
When the job is restarted, the job step execution management means 3 executes the job start processing by the job start processing section 31 and then uses the job restart position search means 8 to execute the job restart processing.
The job control information 12 of the job is skipped to an arbitrary position in the job specified by the job restart position specifying means 7, and the job is restarted from the specified position.

【0061】詳しくは、ジョブ再起動位置検索手段8
は、ジョブステップ実行管理手段3が障害再実行ジョブ
を実行する際にジョブステップ実行管理手段3により呼
び出される(ステップS305)。
More specifically, the job restart position search means 8
Is called by the job step execution management means 3 when the job step execution management means 3 executes the failure re-execution job (step S305).

【0062】障害再実行ジョブに関するジョブ制御情報
12の再実行位置が”再実行時に指定”となっている場
合(ステップS801でノー)、ジョブ再起動位置検索
手段8は、ジョブ再起動位置指定手段7により、再起動
位置を問い合わせる(ステップS701)。ジョブ再起
動位置指定手段7は、問い合わせに応答して指定された
再起動位置をジョブ制御言語12の再起動位置および再
起動位置詳細に反映し(ステップS702)、ジョブ再
起動位置検索手段8に処理を戻す。
If the re-execution position of the job control information 12 relating to the failure re-execution job is “designated at the time of re-execution” (NO in step S801), the job restart position search unit 8 7, the restart position is inquired (step S701). The job restart position specifying means 7 reflects the restart position specified in response to the inquiry to the restart position and the restart position details of the job control language 12 (step S702). Reverse processing.

【0063】再実行位置が”ジョブの先頭”と指定され
た場合(ステップS802でイエス)、ジョブ再起動位
置検索手段8は、ジョブ制御文実行位置はすでにジョブ
の先頭に位置付けられているため、該ジョブに対する処
理を行わない。
If the re-execution position is designated as “head of job” (YES in step S 802), the job restart position search means 8 determines that the job control statement execution position has already been positioned at the head of the job. No processing is performed on the job.

【0064】再実行位置が”特定のラベル”である場合
(ステップS803でイエス)、ジョブ再起動位置検索
手段8は、ジョブ制御情報12の再起動位置詳細に示さ
れるラベル名までジョブ制御文を読み飛ばすことにより
指定されたラベルから再起動されるようにする(ステッ
プS804)。
If the re-execution position is “specific label” (YES in step S 803), the job restart position search means 8 executes the job control statement up to the label name indicated in the restart position details of the job control information 12. By skipping, the label is restarted from the designated label (step S804).

【0065】ここで、再実行位置が上記の2つでない場
合(すなわち、障害前に実行中であったジョブステップ
を基準とする位置からの再起動の指定の場合)は、ジョ
ブ再起動位置検索手段8は、該ジョブのジョブ制御文実
行位置をジョブ制御情報12の「現在の実行位置」(障
害前に実行していたジョブステップの位置)に位置付け
る(ステップS805)。
If the restart position is not the above two positions (that is, if restart from a position based on the job step being executed before the failure is specified), the job restart position search is performed. The means 8 positions the job control statement execution position of the job at the “current execution position” (the position of the job step executed before the failure) in the job control information 12 (step S805).

【0066】このとき、再起動位置詳細は、再実行すべ
き位置が実行中ジョブステップからn個後のジョブステ
ップからであることを示す。
At this time, the details of the restart position indicate that the position to be re-executed is from the job step n times after the job step being executed.

【0067】n=0のとき(ステップS806でイエ
ス)、”実行中であったジョブステップからの再実行”
を意味しており、この場合は、ジョブ再起動位置検索手
段8は、上記の位置付け処理により再起動すべき位置に
ジョブ制御文実行位置が位置付けられているため、該ジ
ョブに対してのこれ以上の処理は行わない。
When n = 0 (Yes in step S806), “Re-execute from job step being executed”
In this case, the job restart position search unit 8 determines that the job control statement execution position is located at the position to be restarted by the above-described positioning process. Is not performed.

【0068】n>0のときは(ステップS807でイエ
ス)、ジョブ再起動位置検索手段8は、”実行中であっ
たジョブステップよりn個後のジョブステップからの再
実行”を意味しているため、現在位置付けられているジ
ョブ制御文位置からn個分のジョブステップを続み飛ば
したところに実行位置を位置付ける(ステップS80
8)。
When n> 0 (Yes in step S807), the job restart position search means 8 means "re-execute from the job step n times later than the job step being executed". Therefore, the execution position is positioned where n job steps have been skipped from the currently positioned job control statement position (step S80).
8).

【0069】また、n<0のときは(ステップS809
でイエス)、ジョブ再起動位置検索手段8は、nの絶対
値をNとすると”実行中であったジョブステップよりN
個前のジョブステップからの再実行”を意味しているた
め、現在位置付けられているジョブ制御文位置からN個
分のジョブステップを読み戻したところに実行位置を位
置付ける(ステップS810)。
If n <0 (step S809)
If the absolute value of n is N, the job restart position searching means 8 calculates "N from the job step being executed.
Since "re-execute from previous job step" means, the execution position is positioned where N job steps have been read back from the currently positioned job control statement position (step S810).

【0070】このように、ジョブ制御文実行位置を位置
付けてジョブステップ実行管理手段3に処理を戻すこと
により、指定された位置からのジョブの再起動が行われ
ることになる。
As described above, by locating the job control statement execution position and returning the processing to the job step execution management means 3, the job is restarted from the designated position.

【0071】[0071]

【発明の効果】以上説明したように、本発明の第1の効
果は、ジョブ制御文を翻訳しジョブ認識テーブルおよび
ジョブ制御情報の内容を変更するジョブ制御言語翻訳手
段と、ジョブをスケジュールしジョブ認識テーブルおよ
びジョブ制御情報の内容を変更するジョブスケジュール
手段と、ジョブの開始処理および終了処理を行い、さら
にジョブ内のジョブステップの開始処理および終了処理
を行い、そのつどジョブ認識テーブルおよびジョブ制御
情報の内容を変更するジョブステップ実行管理手段と、
システム障害時にシステムを再起動するシステム立ち上
げ手段と、ジョブ制御情報を参照してシステム障害時に
実行中であったジョブのジョブ認識テーブルを復元する
ジョブ復元手段と、復元されたジョブ認識テーブルを元
に新たにジョブを生起し起動するジョブ再起動手段とを
備えているため、システム障害時にはジョブ制御情報を
用いてジョブ認識テーブルの復元を行い、別のジョブと
して再起動することができ、システム障害前のジョブの
デリバリが保存されるということである。このため、シ
ステム障害前の実行履歴および出力情報を容易に参照す
ることが可能となる。
As described above, the first effect of the present invention is that a job control language translating means for translating a job control statement and changing the contents of a job recognition table and job control information, Job scheduling means for changing the contents of the recognition table and the job control information; performing start processing and end processing of the job; and further performing start processing and end processing of job steps in the job. Job step execution management means for changing the content of
A system start-up unit that restarts the system in the event of a system failure, a job restoration unit that restores the job recognition table of the job being executed at the time of the system failure by referring to the job control information, and a job Job restart means for generating and starting a new job, so that in the event of a system failure, the job recognition table can be restored using the job control information and restarted as another job. This means that the delivery of the previous job is saved. Therefore, it is possible to easily refer to the execution history and output information before the system failure.

【0072】第2の効果は、システム障害後の再起動時
には、ジョブの再起動位置を指定するジョブ再起動位置
指定手段と、同再起動位置を検索するジョブ再起動位置
検索手段とを備えているため、ジョブの任意の箇所から
の再起動が可能となるということである。このため、ジ
ョブ制御文の修正無しに再実行時に必要な処理からのジ
ョブの再開が可能となり、ユーザの操作が軽減する。
The second effect is that, when the system is restarted after a system failure, a job restart position specifying means for specifying a restart position of a job and a job restart position searching means for searching the restart position are provided. Therefore, it is possible to restart the job from an arbitrary position. For this reason, the job can be restarted from the processing required at the time of re-execution without modifying the job control statement, and the operation of the user is reduced.

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

【図1】本発明の一実施の形態に係るジョブ再実行方式
の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a job re-execution method according to an embodiment of the present invention.

【図2】図1中のジョブ認識テーブルのより詳しい内容
を示す図である。
FIG. 2 is a diagram showing more detailed contents of a job recognition table in FIG. 1;

【図3】図1中のジョブ制御情報のより詳しい内容を示
す図である。
FIG. 3 is a diagram showing more detailed contents of job control information in FIG. 1;

【図4】図1中のジョブ制御言語翻訳手段の処理を示す
流れ図である。
FIG. 4 is a flowchart showing processing of a job control language translating means in FIG. 1;

【図5】図1中のジョブスケジュール手段の処理を示す
流れ図である。
FIG. 5 is a flowchart showing a process of a job schedule unit in FIG. 1;

【図6】図1中のジョブステップ実行管理手段の処理を
示す流れ図である。
FIG. 6 is a flowchart showing a process of a job step execution management unit in FIG. 1;

【図7】図1中のジョブ復元手段の処理を示す流れ図で
ある。
FIG. 7 is a flowchart showing processing of a job restoring unit in FIG. 1;

【図8】図1中のジョブ再起動手段の処理を示す流れ図
である。
FIG. 8 is a flowchart showing processing of a job restart unit in FIG. 1;

【図9】図1中のジョブ再起動位置指定手段およびジョ
ブ再起動位置検索手段の処理を示す流れ図である。
FIG. 9 is a flowchart showing processing of a job restart position designation unit and a job restart position search unit in FIG. 1;

【図10】本実施の形態に係るジョブ再実行方式におけ
るシステムが正常に運転されているときの動作を示す説
明図である。
FIG. 10 is an explanatory diagram showing an operation when the system in the job re-execution method according to the present embodiment is operating normally.

【図11】本実施の形態に係るジョブ再実行方式におけ
るシステム障害後のジョブの復元および再起動における
動作を示す説明図である。
FIG. 11 is an explanatory diagram showing operations in restoring and restarting a job after a system failure in the job re-execution method according to the present embodiment.

【図12】本実施の形態に係るジョブ再実行方式におけ
るジョブの任意箇所からの再起動における動作を示す説
明図である。
FIG. 12 is an explanatory diagram showing an operation in restarting a job from an arbitrary position in the job re-execution method according to the present embodiment.

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

1 ジョブ制御言語翻訳手段 2 ジョブスケジュール手段 3 ジョブステップ実行管理手段 4 システム立ち上げ手段 5 ジョブ復元手段 6 ジョブ再起動手段 7 ジョブ再起動位置指定手段 8 ジョブ再起動位置検索手段 11 ジョブ認識テーブル 12 ジョブ制御情報 31 ジョブ開始処理部 32 ジョブステップ開始処理部 33 ジョブステップ終了処理部 34 ジョブ終了処理部 A 主記憶 B 2次記憶装置 C 操作卓 DESCRIPTION OF SYMBOLS 1 Job control language translation means 2 Job schedule means 3 Job step execution management means 4 System start-up means 5 Job restoration means 6 Job restart means 7 Job restart position designation means 8 Job restart position search means 11 Job recognition table 12 Job Control information 31 Job start processing unit 32 Job step start processing unit 33 Job step end processing unit 34 Job end processing unit A Main memory B Secondary storage device C Operation console

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 11/14 310 G06F 9/06 410──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 11/14 310 G06F 9/06 410

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 システム障害時に実行中であったジョブ
の情報を元に新たにジョブを生起し自動的に実行するジ
ョブ再実行方式において、ジョブ自身の情報を格納する主記憶上のジョブ認識テー
ブルと、 ジョブ自身の情報およびジョブ制御文を格納する2次記
憶装置上のジョブ制御情報と、 投入されたジョブ制御言語を翻訳し、前記ジョブ認識テ
ーブルおよび前記ジョブ制御情報を作成するジョブ制御
言語翻訳手段と、 ジョブをスケジュールし、前記ジョブ認識テーブルおよ
び前記ジョブ制御情報の内容を変更するジョブスケジュ
ール手段と、 このジョブスケジュール手段によりスケジュールされた
ジョブの開始処理および終了処理を行い、さらにジョブ
内のジョブステップの開始処理および終了処理を行い、
そのつど前記ジョブ認識テーブルおよび前記ジョブ制御
情報の内容を変更するジョブステップ実行管理手段と、 システム障害時にシステムを再起動するシステム立ち上
げ手段と、 このシステム立ち上げ手段によりシステムが再起動され
たときに前記ジョブ制御情報を参照してシステム障害時
に実行中であったジョブのジョブ認識テーブルを復元す
るジョブ復元手段と、 このジョブ復元手段により復元されたジョブ認識テーブ
ルを元に新たにジョブを生起し起動するジョブ再起動手
段とを備えることを特徴とするジョブ再実行方式。
In a job re-execution method for automatically generating a new job based on information of a job being executed at the time of a system failure and automatically executing the job , a job recognition table on a main storage for storing information of the job itself.
And secondary information that stores information about the job itself and job control statements
Translated and job control information on憶device, the input job control language, and job control language translation means for creating the job recognition table and the job control information, scheduling jobs, the job recognition table and the job A job scheduler for changing the contents of the control information; and a start process and an end process for a job scheduled by the job scheduler, and a start process and an end process for a job step in the job.
A job step execution managing means for changing the contents of the job recognition table and the job control information each time; a system starting means for restarting the system in the event of a system failure; and when the system is restarted by the system starting means. Job restoring means for restoring a job recognition table of a job being executed at the time of system failure by referring to the job control information; and newly generating a job based on the job recognition table restored by the job restoring means. A job re-execution method comprising: a job re-starting means for starting.
【請求項2】 請求項記載のジョブ再実行方式におい
て、前記ジョブ再起動手段により起動されたジョブが再
実行する際に、実行を開始させるジョブ内の任意の箇所
再起動位置として指定するジョブ再起動位置指定手段
と、このジョブ再起動位置指定手段により指定されたジ
ョブの再起動位置を検索するジョブ再起動位置検索手段
とを含むジョブ再実行方式。
2. A job rerun method of claim 1, wherein the started jobs by the job restart means re
When executing, any part in the job to start execution
A job restart position designating means for designating as a restart position, job re-execution system including a job restart position search means for searching the restart position of the specified job by the job restart position specifying means.
JP8117043A 1996-04-15 1996-04-15 Job re-execution method Expired - Fee Related JP2809271B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8117043A JP2809271B2 (en) 1996-04-15 1996-04-15 Job re-execution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8117043A JP2809271B2 (en) 1996-04-15 1996-04-15 Job re-execution method

Publications (2)

Publication Number Publication Date
JPH09282192A JPH09282192A (en) 1997-10-31
JP2809271B2 true JP2809271B2 (en) 1998-10-08

Family

ID=14702029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8117043A Expired - Fee Related JP2809271B2 (en) 1996-04-15 1996-04-15 Job re-execution method

Country Status (1)

Country Link
JP (1) JP2809271B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10346262B2 (en) 2015-09-18 2019-07-09 Mitsubishi Electric Corporation Job management apparatus, job management method and computer readable medium to generate and execute a retry job when an error occurs during a job step

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5422342B2 (en) * 2009-11-10 2014-02-19 株式会社日立製作所 Incident management method and operation management server
JP5537917B2 (en) * 2009-12-04 2014-07-02 三菱電機株式会社 Management device, data processing control device, management method, data processing control method, and program
JP5556380B2 (en) 2010-05-28 2014-07-23 富士通株式会社 Management device, management method, and management program
JP5942509B2 (en) 2012-03-19 2016-06-29 日本電気株式会社 Batch processing system
JP6083290B2 (en) 2013-03-27 2017-02-22 日本電気株式会社 Distributed processing system
JP6398858B2 (en) * 2015-04-28 2018-10-03 京セラドキュメントソリューションズ株式会社 Electronic equipment and reboot program
CN106095394B (en) 2015-04-28 2018-08-21 京瓷办公信息系统株式会社 Electronic equipment and method for restarting
JP7701400B2 (en) * 2023-04-17 2025-07-01 株式会社オービック Execution control device, execution control method, and execution control program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0350634A (en) * 1989-07-18 1991-03-05 Chugoku Nippon Denki Software Kk Automatic recovery data processing system
JPH03225434A (en) * 1990-01-30 1991-10-04 Nec Corp Job reactuation system
JPH04218842A (en) * 1990-04-11 1992-08-10 Hitachi Ltd How to rerun the program
JPH052499A (en) * 1991-06-25 1993-01-08 Nec Corp Job trouble re-processing system of information processor
JPH0561700A (en) * 1991-09-05 1993-03-12 Nec Software Kansai Ltd Automatic restarting system for batch processing
JPH06103078A (en) * 1992-09-18 1994-04-15 Hitachi Ltd Re-execution control method
JP3604171B2 (en) * 1994-03-31 2004-12-22 富士通株式会社 Process automatic restart processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10346262B2 (en) 2015-09-18 2019-07-09 Mitsubishi Electric Corporation Job management apparatus, job management method and computer readable medium to generate and execute a retry job when an error occurs during a job step

Also Published As

Publication number Publication date
JPH09282192A (en) 1997-10-31

Similar Documents

Publication Publication Date Title
JPH11134117A (en) Computer system
JP2809271B2 (en) Job re-execution method
JP2001014175A (en) Job operation management system, job operation management method, and storage medium
JP2010009195A (en) Batch processing method, batch processing program, request execution device and database system
JP2000194572A (en) Automatic job operational system by ups cooperation
JP3586943B2 (en) Program loading device and method
JP2002366396A (en) System and program for automatically collecting fault analysis information
JPH06202892A (en) Program restart method
JP3846222B2 (en) Job re-execution method
JP2001166966A (en) Method for managing execution environment of program to be tested in debugger
JP3965678B2 (en) Information processing device
JP3778720B2 (en) Software update method
JP2007066132A (en) Program system
JPH03265033A (en) Terminal program actuation management system
JP4114632B2 (en) Checkpointing method and program
JP2006293582A (en) Automatic job rerun system
JPH05257701A (en) Program revision processing method
JP3079825B2 (en) Electronic computer equipment
JPH10312328A (en) Automatic backup/restore system for environmental setting file
JPH0816431A (en) Debugging process system for user program
JPH07168641A (en) Job automatic operation system
JP2743786B2 (en) Online subsystem execution system
JPH03225434A (en) Job reactuation system
JP3079238B2 (en) Debug device
JP2000187518A (en) Computer system

Legal Events

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

Free format text: PAYMENT UNTIL: 20070731

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080731

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090731

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100731

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110731

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees