JPH0689263A - System for controlling batch processing program under on-line environment - Google Patents

System for controlling batch processing program under on-line environment

Info

Publication number
JPH0689263A
JPH0689263A JP23926192A JP23926192A JPH0689263A JP H0689263 A JPH0689263 A JP H0689263A JP 23926192 A JP23926192 A JP 23926192A JP 23926192 A JP23926192 A JP 23926192A JP H0689263 A JPH0689263 A JP H0689263A
Authority
JP
Japan
Prior art keywords
job
processing
execution
line
online
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
JP23926192A
Other languages
Japanese (ja)
Inventor
Yoshihiro Morijiri
芳弘 森尻
Yoshio Tanaka
芳男 田中
Sadao Ebihara
貞雄 蛯原
Toshiyuki Kobayashi
利幸 小林
Masaru Kawakami
勝 川上
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 Software Engineering Co Ltd
Hitachi Ltd
Hitachi Information Systems Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Hitachi Information Systems 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 Software Engineering Co Ltd, Hitachi Ltd, Hitachi Information Systems Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP23926192A priority Critical patent/JPH0689263A/en
Publication of JPH0689263A publication Critical patent/JPH0689263A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To promote manpower saving and a rationalization by incorporating a batch processing control function in an on-line system so as to recognize an execution result and obtain a result list in an early stage. CONSTITUTION:An on-line environment setting part 1-1 is provided with a start processing function 1-10 which generates a temporary storage memory, sets initialization and registers a timer transaction and an interruption job re-starting function 1-11 which re-starts a job completed on a preceding day in an interrupted state. An on-line job executing part 1-2 is provided with an on-line operation managing part 1-20, an on-line execution control part 1-21 and an on-line job processing part 1-22. A common table/data base(DB) part 1-4 is commonly used on-line and is provided with a common table part 1-40 and a common DB part 1-41. Then, a job client can freely start the job, instantaneously recognizes the execution conditions or processing result of the start- requested job from a terminal by a inquiry function and can freely output a execution result list by a slip output function as necessary.

Description

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

【0001】[0001]

【産業上の利用分野】コンピュータの利用方法として ・大量のデータが随時発生する。[Industrial field of application] As a method of using a computer-A large amount of data is generated at any time.

【0002】・短いターンアランド時間を要求する。Require a short turnaround time.

【0003】・利用元が多数あり、かつコンピュータセ
ンタと離れた場所にある。
There are many users and they are located away from the computer center.

【0004】この様なユーザにおいてバッチジョブの受
付けからバッチジョブの実行まで一連の作業をユーザの
端末から制御する制御方式に関する。
The present invention relates to a control system for controlling a series of operations from acceptance of a batch job to execution of the batch job from the user's terminal.

【0005】[0005]

【従来の技術】センターオペレータがジョブ実行条件に
基づいたジョブスケジュールの作成からJCL/データ
の準備、ジョブの起動操作、長時間実行時のジョブの中
断操作及びリラン操作、異常終了時の原因追及/依頼者
への連絡等を人手又はそれを支援する運用管理機能を使
って行っていた。
2. Description of the Related Art A center operator prepares a job schedule based on job execution conditions, prepares JCL / data, starts a job, interrupts and reruns a job during long-time execution, and investigates the cause of abnormal termination / The requester was contacted, etc. manually or using the operation management function that supports it.

【0006】なお、オンライン処理に関する関連技術と
して、特開平2−43656号公報、同2−22643
6号公報、同3−5865号公報などがある。
As related arts related to online processing, JP-A-2-43656 and JP-A-2-22643 are known.
No. 6 and No. 3-5865.

【0007】[0007]

【発明が解決しようとする課題】従来の人手又は運用管
理機能はセンター集中型の運用であり、大規模システム
になればなるほどセンター運用者への負担が大きくな
り、運用の融通性の劣化、ターンアランド時間の増大、
障害発生時のトラブル回復の遅延を招いていた。
The conventional manpower or operation management function is center-concentrated operation, and the larger the system, the greater the burden on the center operator, the deterioration of operational flexibility, and the Increase in Aland time,
This caused a delay in trouble recovery when a failure occurred.

【0008】本発明の目的は、上記の点を鑑み、オンラ
イン環境下でバッチジョブを動かすためのジョブ制御方
式、ジョブ管理方式、異常発生時の障害回復方式、ジョ
ブの中断/再開始方式等を提供することにより、ユーザ
がセンターオペレータの介在なしに直接ジョブの起動か
ら結果の確認まで自由に行える様にすることにある。
In view of the above points, an object of the present invention is to provide a job control method for moving batch jobs in an online environment, a job management method, a failure recovery method when an error occurs, a job interruption / restart method, and the like. By providing the information, the user can freely start the job and check the result without the intervention of the center operator.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明では、ジョブの定義情報等を共通のデータベー
ス(DB)としてもち、オンラインシステムの開始時に
おいてこれらの情報をメモリテーブル上に展開し、ジョ
ブの実行時においては共通DB、共通テーブル情報をも
とに実行の制御/管理を行い、ジョブ終了時においては
更新引継ぎ情報をDBに書き込み、後日に引継ぐ手段を
有する。
In order to achieve the above object, the present invention has a job definition information and the like as a common database (DB), and expands this information on a memory table at the start of an online system. However, when the job is executed, the execution control / management is performed based on the common DB and common table information, and when the job ends, the updated takeover information is written in the DB and taken over at a later date.

【0010】また、ジョブの実行状況や処理結果を随時
照会する手段や障害発生時に管理者に連絡するとともに
詳細エラー情報を取得し業務を閉塞する手段、バッチジ
ョブを実行するのに必要なデータをまとめて送信する一
括データ送信手段、実行結果リストを必要な時に端末側
に出力する帳票出力手段、不要データを削除する手段等
を有する。
Further, means for inquiring the execution status and processing result of the job at any time, means for contacting the administrator when a failure occurs and means for acquiring detailed error information and blocking the work, data necessary for executing the batch job, It has a batch data transmitting means for transmitting collectively, a form output means for outputting the execution result list to the terminal side when necessary, a means for deleting unnecessary data, and the like.

【0011】[0011]

【作用】前記手段により、ジョブ依頼者は自由な時にジ
ョブ起動要求をすることができる。起動要求したジョブ
の実行状況や処理結果は照会機能により端末より即座に
確認でき、実行結果リストは帳票出力機能により必要な
時に自由に出力することができる。また、長時間かかる
ジョブは終了時刻到達時に自動的に中断し、翌日再起動
されるため一切の操作介入は不要である。さらに不要デ
ータスペースは自動的に消去されるので、ディスク領域
の効果的使用が行える。
With the above means, the job requester can make a job activation request at any time. The execution status and processing result of the job requested to be activated can be immediately confirmed from the terminal by the inquiry function, and the execution result list can be freely output when necessary by the form output function. Further, a job that takes a long time is automatically interrupted when the end time is reached and restarted the next day, so no operation intervention is required. In addition, the unnecessary data space is automatically deleted, so that the disk area can be effectively used.

【0012】[0012]

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

【0013】図1は本発明の全体の機能ブロック図であ
る。図1に示す様に本発明はオンライン環境設定部1-
1、オンライン業務実行部1-2、オンライン終了処理部1-
3 および共通テーブル/データ部1-4 の4つの処理部よ
り構成される。オンライン環境設定部は、オンラインで
共通的に使用する一時記憶メモリの生成および初期設
定、タイマトランザクションの登録を行う開始処理機能
1-10と、前日中断状態で終了した業務を再起動する中断
業務再起動機能1-11とを有する。オンライン業務実行部
は、オンライン運用管理部1-20とオンライン実行制御部
1-21とオンライン業務処理1-22からなり、オンライン運
用管理部には業務の実行状況を監視する実行状況管理機
能1-20-1と業務の処理結果を監視する処理結果管理機能
1-20-2と業務の異常終了状況を監視する異常終了管理機
能1-20-3と異常終了業務を閉塞/解除する業務閉塞/解
除管理機能1-20-4と不要データスペースをまとめて削除
する一括DB削除機能1-20-5とを有する。オンライン実
行制御部1-21は操作者の審査を行う資格審査処理1-21-1
と起動要求されたバッチ処理業務の受付審査を行う一括
起動審査1-21-2とを有する。また、オンライン業務処理
部1-22は業務の処理形態により、問合せ系業務1-22-1と
一括処理系業務1-22-2とデータを一括送信する伝送系業
務1-22-3と処理結果リストを一括出力する帳票出力系業
務1-22-4から構成される。オンライン終了処理部1-3 は
オンラインの終了時刻制御を行うオンライン終了予約1-
30とオンラインの終了処理を行うオンライン終了処理1-
31を有する。共通テーブル/DB部1-4 はオンラインで
共通に使用するもので共通テーブル部1-40と共通DB部
1-41から成り、図2にその詳細を示す。職員情報DB2-
1 は職員の氏名や役職ランク等の操作者に関する情報を
登録したDBであり、コマンド(業務の処理単位をコマ
ンドと称す)DB2-2 は業務を行うに当っての操作者ラ
ンク条件2-21や排他業務関連情報2-22、コマンドの有効
期間2-23等の制御情報を登録したDBである。コマンド
閉塞DB2-3 は業務の実行不可情報(閉塞有無)を登録す
るDBで閉塞のレベルに応じシステムレベル2-31、グル
ープレベル2-32、ユニットレベル2-33で閉塞管理を行え
るようになっている。プログラム関連DB2-4 は業務
(コマンド)を実行するために動かすプログラム関連情
報2-41を登録したDBであり、業務実行管理DB2-5 は
多重度条件2-51、業務の順序性の関連情報2-52等を登録
したDBで、かつ業務の実行状況2-53や実行数2-54等を
登録するDBである。処理結果DB2-6 はプログラムの
処理結果や処理件数等の実績を履歴として登録するDB
で、プログラム関連DBをもとに一括起動受付審査でダ
ミーレコードを作成する。中断情報DB2-7 はオンライ
ンサービスが終了時刻に達した時にプログラムを停止
し、翌日再開始するための引継ぎ情報2-71を登録するD
Bである。異常終了DB2-8 は異常発生時の異常情報2-
81とプログラム引継ぎ情報2-82を登録するDBである。
また、終了管理テーブル2-9 はオンラインサービス時間
の制御を行うテーブルで、終了フラグ情報2-91と終了時
刻情報2-92を登録したテーブルで、オンライン開始処理
時にて展開される。端末テーブル2-10は端末対応の各種
引継ぎ情報を登録するテーブルで、操作開始時(資格審
査時)に作成される。なお、コマンドテーブル及びコマ
ンド閉塞テーブルはDBの内容をメモリ上に展開したテ
ーブルである。
FIG. 1 is an overall functional block diagram of the present invention. As shown in FIG. 1, the present invention is an online environment setting unit 1-
1, online work execution part 1-2, online end processing part 1-
3 and common table / data section 1-4. The online environment setting part is a start processing function that creates and initializes temporary storage memory commonly used online and registers timer transactions.
It has 1-10 and an interrupted job restart function 1-11 for restarting a job ended in the interrupted state the day before. The online business execution unit is the online operation management unit 1-20 and the online execution control unit.
1-21 and online job processing 1-22. The online operation management unit has an execution status management function 1-20-1 that monitors the execution status of jobs and a processing result management function that monitors the processing results of jobs.
1-20-2 and abnormal termination management function that monitors the abnormal termination status of tasks 1-20-3 and abnormal termination business shutdown / release management function 1-20-4 and unnecessary data spaces It has a batch DB deletion function 1-20-5 to delete. The online execution control unit 1-21 is a qualification screening process 1-21-1 that screens the operator.
And a batch activation inspection 1-21-2 that performs acceptance inspection of batch processing jobs requested to be activated. Depending on the processing type of the business, the online business processing unit 1-22 processes the query business 1-22-1, the batch processing business 1-22-2, and the transmission business 1-22-3 that collectively transmits data. It consists of the form output work 1-22-4 that outputs the result list in batch. Online end processing unit 1-3 controls online end time Online end reservation 1-
30 and online termination processing online termination processing 1-
Has 31. The common table / DB section 1-4 is commonly used online. The common table section 1-40 and the common DB section
It consists of 1-41 and the details are shown in FIG. Staff information DB2-
1 is a DB that registers information about operators such as staff names and job ranks, and commands (a processing unit of a job is called a command) DB 2-2 is an operator rank condition for performing a job 2-21 This is a DB in which control information such as information about exclusive work, exclusive work related information 2-22, and command valid period 2-23 is registered. The command block DB2-3 is a database for registering information about the inability to execute a job (whether there is blockage). It is now possible to manage blockages at system level 2-31, group level 2-32, and unit level 2-33 according to the block level. ing. The program-related DB 2-4 is a DB in which program-related information 2-41 that is moved to execute a job (command) is registered, and the job execution management DB 2-5 is a multiplicity condition 2-51 and job-related information. This is a DB in which 2-52 and the like are registered, and in which the execution status 2-53 and the number of executions 2-54 are registered. The processing result DB2-6 is a DB that records the processing results of the program and the actual results such as the number of processings as a history.
Then, a dummy record is created in the batch activation acceptance examination based on the program-related DB. The interruption information DB 2-7 registers the takeover information 2-71 for stopping the program when the online service reaches the end time and restarting it the next day D
B. Abnormal end DB2-8 is abnormal information when an abnormality occurs 2-
This is a DB for registering 81 and program takeover information 2-82.
Further, the end management table 2-9 is a table for controlling the online service time, and is a table in which the end flag information 2-91 and the end time information 2-92 are registered, and is expanded during the online start processing. The terminal table 2-10 is a table for registering various types of transfer information for terminals, and is created at the start of operation (at the time of qualification examination). The command table and the command block table are tables in which the contents of the DB are expanded on the memory.

【0014】図3は、オンライン開始及びオンライン終
了処理の処理概要をしたものである。オンラインの起動
は自動コマンドライブラリ3-1 に登録されたコマンドス
ケジュール表3-10により自動的に起動(空間、端末等の
起動)される。オンライン開始処理3-20は上記処理の完
了後起動され、オンラインで共通的に使用する一時記憶
メモリ3-24を生成するとともにコマンドテーブル3-25、
コマンド閉塞テーブル3-26の初期設定を行う。また、オ
ンライン終了時刻情報3-22をパラメータとして読込み、
終了管理テーブル3-27を初期設定するとともにタイマト
ランザクションの登録3-28を行い、中断業務再起動処理
3-21を起動する。中断業務再起動処理では、中断情報D
B3-23を見に行き、中断レコードがあれば中断業務を再
開するために業務トランザクション3-29を登録し、処理
結果DBの処理状況3-30を更新する。オンライン終了予
約処理3-4 は、受付け拒否時刻制御3-41、中断時刻制御
3-42の2段階の終了制御を行っており、オンライン開始
処理で登録したタイマトランザクションにより起動され
る。受付け拒否時刻とは当時刻以降入力された業務は拒
否するもので、中断時刻とは当時刻到達時業務プログラ
ム側で処理を中断するためのものである。
FIG. 3 shows an outline of online start and online end processing. The online startup is automatically started according to the command schedule table 3-10 registered in the automatic command library 3-1 (startup of space, terminal, etc.). The online start processing 3-20 is started after the above processing is completed, and the temporary storage memory 3-24 commonly used online is generated and the command table 3-25,
Initialize command block table 3-26. Also, read the online end time information 3-22 as a parameter,
Initialize termination management table 3-27, register timer transaction 3-28, and restart suspended work
Start 3-21. In the suspended job restart process, the suspension information D
Go to B3-23, if there is an interruption record, register a business transaction 3-29 to restart the suspended business, and update the processing status 3-30 in the processing result DB. Online termination reservation processing 3-4 is for acceptance refusal time control 3-41, interruption time control
3-42 end control is performed, and it is started by the timer transaction registered in the online start process. The acceptance refusal time is for rejecting the work input after this time, and the interruption time is for interrupting the process on the side of the business program at the arrival of this time.

【0015】図4は、資格審査及び一括起動受付審査の
処理概要を示したものである。資格審査4-1 は、端末操
作者の職員番号及びパスワードを入力し、職員の審査4-
10を行うもので、審査完了後端末対応の一時記憶4-11を
生成し、操作者情報(職員情報)4-12等を登録し次処理に
引き継ぐ。一括起動受付審査4-2 は、端末操作者より実
行したい業務ID(コマンドID)を入力し、受付け拒
否時刻に到達していないかのチェック4-21-1を行う受付
拒否チェック4-21、操作者のランク4-12-1は業務を起動
できる操作ランク4-22-1以上かのチェックを行う起動資
格チェック4-22、起動要求された業務は起動有効期間4-
23-1内かのチェックを行う有効期間チェック4-23、起動
要求された業務は閉塞中4-24-1〜3かのチェックを行う
業務閉塞チェック4-24、起動要求された業務は排他業務
4-25-1があるかどうかまたその排他業務は動作中4-25-2
かどうかのチェックを行う業務排他チェック4-25、起動
要求された業務は業務間の連続性(前後関係)4-26-1があ
るかどうかまたその業務は事前に完了済みか4-26-2どう
かのチェックを行う前業務チェック4-26、業務の実行数
は許容多重度内かのチェック4-27-1を行う多重度チェッ
ク4-27のチェック処理より構成される。全ての審査条件
を満たしたら、業務トランザクションデータ4-28を生成
し、入力キュー4-3 に登録する。また、業務プログラム
が実行する時に処理結果等を登録するための処理結果レ
コード4-29を処理結果DBに生成する。入力キューに登
録された業務トランザクションは、DB/DCシステム
のスケジューリング機能によりスケジュールされ実行さ
れる。
FIG. 4 shows an outline of the processing of the qualification examination and the batch activation acceptance examination. Qualification examination 4-1 enters the staff number and password of the terminal operator, and examines the staff 4-
10, the temporary storage 4-11 corresponding to the terminal is generated after the examination is completed, the operator information (staff information) 4-12 and the like are registered and taken over to the next process. In the batch activation acceptance examination 4-2, enter the business ID (command ID) you want to execute from the terminal operator and perform a check 42-1-1 to see if the acceptance refusal time has been reached. The operator rank 4-12-1 is able to activate the operation. Checks whether the operation rank 4-22-1 or higher is required. Activation qualification check 4-22.
23-1 Valid period check 4-23 to check if it is inside, Blocking of the requested work is blocked 4-24 Checking to check if the work is blocked 4-24, Jobs to be started are exclusive Business
Whether there is 4-25-1 or not, its exclusive work is operating 4-25-2
Exclusion check 4-25 to check whether or not the requested job has continuity (context) between tasks 4-26-1 and whether it has been completed in advance 4-26 2 Pre-work check 4-26 that checks whether or not it is performed, and multiplicity check 4-27 that checks whether the number of executed jobs is within the allowable multiplicity. When all the examination conditions are satisfied, business transaction data 4-28 is generated and registered in input queue 4-3. Further, the processing result record 4-29 for registering the processing result and the like when the business program executes is generated in the processing result DB. The business transaction registered in the input queue is scheduled and executed by the scheduling function of the DB / DC system.

【0016】図5は入力キューに登録する業務トランザ
クションのデータ形式を示したものである。トランザク
ションデータは、共通部5-1 と業務固有部5-2 から構成
され、共通部は端末及び操作者の情報が入った端末共通
テーブル部5-11と中断再開の状態を示す再開フラグ部5-
12と処理結果DBのキーを持つキー部5-13と業務を構成
するプログラム情報をもつプログラム情報部5-14から構
成される。業務固有部は各業務処理プログラムで独自に
設定する領域である。
FIG. 5 shows the data format of a business transaction registered in the input queue. The transaction data is composed of a common part 5-1 and a work specific part 5-2. The common part is a terminal common table part 5-11 containing information on terminals and operators and a restart flag part 5 showing the status of interruption and restart. -
12 and a key portion 5-13 having a key of the processing result DB and a program information portion 5-14 having program information constituting a job. The business specific section is an area that is individually set by each business processing program.

【0017】図6は業務処理の概要を示したものであ
る。資格審査/一括起動受付審査で入力キューに登録さ
れた業務トランザクション6-1 は、DB/DCシステム
のスケジューリング機能6-2 によりスケジューリングさ
れ、空間が使用可能になった時点で先頭の業務処理プロ
グラム6-3 に制御が渡される。先頭の業務処理プログラ
ムでは、実行管理DB6-4、処理結果DB6-5 の各々の
実行状況エリア6-41、6-51に業務開始のステータス情報6
-31、6-32 を登録し処理を開始する。プログラム終了時
は終了ステータス情報6-33を処理結果DBに登録し、次
に起動する業務処理プログラムのトランザクションデー
タ6-34を生成し入力キューに登録することにより終了す
る。この様にして、業務処理を構成するプログラムが次
々に実行される。業務処理の最終プログラムでは業務実
行管理DBに終了ステータス情報6-35を登録し全ての処
理を完了する。
FIG. 6 shows an outline of business processing. The business transaction 6-1 registered in the input queue in the qualification examination / collective activation acceptance examination is scheduled by the scheduling function 6-2 of the DB / DC system, and when the space becomes available, the first business processing program 6 Control is passed to -3. In the top job processing program, the job start status information 6 is stored in the execution status areas 6-41 and 6-51 of the execution management DB 6-4 and the processing result DB 6-5, respectively.
Register -31 and 6-32 and start processing. When the program ends, the end status information 6-33 is registered in the processing result DB, the transaction data 6-34 of the business processing program to be started next is generated, and registered in the input queue to end the program. In this way, the programs constituting the business process are executed one after another. In the final program for business processing, the completion status information 6-35 is registered in the business execution management DB and all processing is completed.

【0018】図7は実行管理DBの実行ステータスの遷
移を示したものである。図7において、継続業務あり7-
2 とは自業務の後に引き続き処理すべき業務が続くこと
を示し、なし7-1 とは自業務の完了を持って処理完了と
なる業務のことである。実行状況は開始時点においては
未実行状態7-10であり、資格審査/一括起動受付審査が
端末からの起動要求を受付けると実行待ち7-11となり、
業務開始時に実行中7-12となり、業務終了を持って未実
行7-13となる。多重処理を行っている場合では、実行待
ち状態での再度の実行待ち7-14、実行終了での実行中ス
テータスの継続7-15が発生する。また継続業務ありの場
合、業務終了を持って実行完7-21ステータスとし、次業
務完了を持って未実行ステータス7-22となる。図8に処
理タイミングと処理区分毎のステータスの詳細を示す。
図8において複数のステータスがあるのは多重処理の場
合を示すものである。また図中のエラー8-1 は次業務完
了前に起動要求があった場合を示すものである。
FIG. 7 shows the transition of the execution status of the execution management DB. In Figure 7, there is ongoing work 7-
2 indicates that the work to be processed continues after the own work, and none 7-1 is the work that is completed when the own work is completed. At the time of start, the execution status is in the unexecuted status 7-10. When the qualification examination / collective activation acceptance examination accepts the activation request from the terminal, the execution waits 7-11.
When the job starts, it becomes 7-12, and when it finishes, it becomes 7-13. When multiple processes are being performed, waiting for execution again 7-14 in the waiting state and continuation of the running status 7-15 at the end of execution occurs. In addition, when there is a continuous operation, the status of execution completed is 7-21 when the operation is completed, and the status of unexecuted is 7-22 when the next operation is completed. FIG. 8 shows details of the processing timing and the status for each processing category.
In FIG. 8, the presence of a plurality of statuses indicates a case of multiple processing. Error 8-1 in the figure shows the case where there is a start request before the completion of the next work.

【0019】図9は処理結果DBの処理ステータスの遷
移を示したものである。資格審査/一括起動受付審査で
初期状態にセットした実行待ちステータス9-1 は、業務
開始時点で実行中ステータス9-2 に、業務終了を持って
実行完了ステータス9-3 に更新する。業務処理中に中断
時刻に達した場合は中断ステータス9-4 とし、異常終了
時には異常終了ステータス9-5 となる。図10に処理タ
イミングと処理区分毎のセット内容の詳細を示す。図に
おいて異常終了時10-1のステータスのセットは異常終了
後処理が、異常終了再開時10-2の実行中ステータスのリ
セットは異常終了再起動処理が、中断再開時10-3の実行
中ステータスのリセットは中断業務再起動処理が行う。
FIG. 9 shows the transition of the processing status of the processing result DB. The pending status 9-1 set in the initial state in the qualification examination / batch activation acceptance examination is updated to the running status 9-2 at the start of the work and the execution completion status 9-3 with the end of the work. If the suspension time is reached during business processing, the suspension status is 9-4, and if the termination is abnormal, the termination status is 9-5. FIG. 10 shows details of processing timing and set contents for each processing category. In the figure, the status set at abnormal termination 10-1 is the post-abnormal termination processing, the reset of the running status at abnormal termination restart 10-2 is the abnormal termination restart processing, and the interrupted restart processing is at 10-3. Is reset by the interrupted work restart process.

【0020】図11は中断処理の概要を示したものであ
る。業務処理プログラムでは、定期的に終了管理テーブ
ル11-1 の処理中断フラグ11-10を参照し、中断要否の状
況を確認する。中断時刻到達時は、オンライン開始処理
プログラムで登録したタイマトランザクションにより中
断時刻制御処理11-2が起動され、終了管理テーブルの処
理中断フラグ部11-10に中断フラグ11-11がセットされ
る。業務処理プログラムで処理中断フラグを検知11-3し
たら、それまで処理していた内容を引き継ぎ情報として
トランザクションデータの業務固有部にセットし、中断
DB11-4に登録する。また、処理結果DB11-5の処理結
果11-51 に中断終了のステータスをセットし処理を終了
する。中断終了した業務処理プログラムは、翌日のオン
ライン開始処理の中断業務再起動処理11-6にて読み出さ
れ,入力キューに再登録されたのち実行される。
FIG. 11 shows an outline of the interruption process. The business processing program periodically refers to the processing interruption flag 11-10 of the end management table 11-1 to check the status of necessity of interruption. When the interruption time is reached, the interruption time control processing 11-2 is activated by the timer transaction registered by the online start processing program, and the interruption flag 11-11 is set in the processing interruption flag portion 11-10 of the end management table. When the processing interruption flag is detected 11-3 by the business processing program, the contents processed up to that point are set as the takeover information in the business-specific part of the transaction data and registered in the interruption DB 11-4. Further, the status of interruption end is set in the processing result 11-51 of the processing result DB 11-5, and the processing is ended. The suspended business processing program is read out in the suspended business restart processing 11-6 of the online start processing on the next day, re-registered in the input queue, and then executed.

【0021】図12は異常発生時の処理概要を示したも
のである。業務処理プログラムで異常状態を検知し異常
終了する12-1とDB/DCシステムでDBの自動回復12
-2がされ、異常終了後処理プログラム12-3を起動する。
異常終了後処理プログラムでは、異常終了した要因を解
析し、その影響度に応じて閉塞範囲を決定し、コマンド
閉塞テーブル12-31 に登録する。さらに、処理ステータ
スの仕掛り中の実行管理DB、処理結果DBを更新し、
異常終了DBに異常終了情報12-32 を格納したのち管理
者端末に通知12-4する。管理者は異常終了情報を端末よ
り照会12-5し、障害状況の把握を行うとともに異常終了
原因の追及に当たる。異常終了原因が判明し、その障害
要因が除去されたなら、管理者はコマンドの閉塞を解除
12-6し、異常終了した業務を再起動12-7する。
FIG. 12 shows an outline of processing when an abnormality occurs. An abnormal condition is detected and abnormally terminated by the business processing program 12-1 and the DB is automatically recovered by the DB / DC system 12
-2 is executed and the post-abnormal end processing program 12-3 is started.
The abnormal termination post-processing program analyzes the cause of the abnormal termination, determines the blocking range according to the degree of its impact, and registers it in the command blocking table 12-31. Furthermore, update the execution management DB and the processing result DB in the process status,
After storing the abnormal end information 12-32 in the abnormal end DB, the administrator terminal is notified 12-4. The administrator inquires 12-5 of the abnormal termination information from the terminal, grasps the failure status, and seeks the cause of the abnormal termination. If the cause of the abnormal termination is found and the cause of the failure is removed, the administrator releases the command block.
12-6 and restart the job that ended abnormally 12-7.

【0022】図13は不要データスペースを自動的に削
除する一括DB削除処理の概要を示したものである。本
方式では、ジョブで使用するデータスペースを一々確保
/削除する方式では運用面及び性能面で問題があるため
固定割当て方式とし、不要となったデータを随時削除す
る方法をとっている。不要データスペース一括削除処理
は、オンライン開始処理にてコマンドスケジュール表13
-1よりタイマ起動され、保存期限DB13-2上にあるカレ
ンダー情報13-21、保存期間情報13-22をもとに削除対象
データを選定し削除する。カレンダー情報は曜日に応じ
た対象ファイル群を、保存期間情報はファイル単位のデ
ータ保存期間を持つもので、保存期間を過ぎたデータが
削除対象13-3となる。一括削除処理中に中断時刻に達し
た場合は、中断情報を中断管理情報13-23に登録し、翌
日に引き継ぐ。この様にしてデータの保守とディスクス
ペースの有効利用を図っている。
FIG. 13 shows an outline of the collective DB deletion process for automatically deleting unnecessary data spaces. In this method, the method of allocating / deleting the data space to be used for each job has a problem in operation and performance. Therefore, the fixed allocation method is adopted, and unnecessary data is deleted at any time. The process for deleting all unnecessary data spaces is performed by the online start process.
The timer is started from -1, and the deletion target data is selected and deleted based on the calendar information 13-21 and the storage period information 13-22 on the storage time limit DB 13-2. The calendar information has a target file group according to the day of the week, and the storage period information has a data storage period for each file, and the data that has passed the storage period is the deletion target 13-3. If the suspension time is reached during the batch deletion process, the suspension information is registered in the suspension management information 13-23 and taken over the next day. In this way, data is maintained and disk space is effectively used.

【0023】[0023]

【発明の効果】以上説明した様に、本発明はオンライン
システムにバッチ処理制御機能を組み込むことにより、
センターオペレータの介在なしにユーザが自由にバッチ
ジョブを起動でき、早期に実行結果の確認および結果リ
ストの入手が行え合理化に有効である。また、バッチジ
ョブの自動中断/再開処理機能等によりセンターオペレ
ータの負担が大幅に低減できるとともに、障害発生時の
詳細エラー情報取得機能やレベルに応じた業務閉塞機能
により障害の早期把握や局所化が行え保守性の向上の面
からも有効である。
As described above, according to the present invention, by incorporating the batch processing control function in the online system,
The user can freely start the batch job without the intervention of the center operator, can confirm the execution result early and can obtain the result list, which is effective for rationalization. In addition, the load on the center operator can be greatly reduced by the batch job automatic suspend / resume processing function, etc., and the early detection and localization of the failure can be performed by the detailed error information acquisition function when a failure occurs and the work blocking function according to the level. This is also effective from the standpoint of improving maintainability.

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

【図1】本発明による制御方式を説明するための全体の
機能関連図である。
FIG. 1 is an overall functional diagram for explaining a control system according to the present invention.

【図2】共通テーブル/共通DBの関連図である。FIG. 2 is a related diagram of a common table / common DB.

【図3】オンライン開始及び終了処理の概要図である。FIG. 3 is a schematic diagram of online start and end processing.

【図4】資格審査及び一括起動受付審査の処理概要図で
ある。
FIG. 4 is a schematic diagram of processing of qualification examination and batch activation acceptance examination.

【図5】プログラム間通信で引継ぐトランザクションデ
ータの構成図である。
FIG. 5 is a configuration diagram of transaction data taken over by inter-program communication.

【図6】業務処理プログラムでの処理概要図である。FIG. 6 is a schematic diagram of processing in a business processing program.

【図7】実行管理DBのステータス遷移図である。FIG. 7 is a status transition diagram of the execution management DB.

【図8】同じくステータスマトリックス図である。FIG. 8 is a status matrix diagram of the same.

【図9】処理結果DBのステータス遷移図である。FIG. 9 is a status transition diagram of a processing result DB.

【図10】同じくステータスマトリックス図である。FIG. 10 is also a status matrix diagram.

【図11】中断処理の概要図である。FIG. 11 is a schematic diagram of interruption processing.

【図12】異常終了時の処理概要図である。FIG. 12 is a schematic diagram of processing at abnormal end.

【図13】不要データスペースの一括削除処理の概要図
である。
FIG. 13 is a schematic diagram of collective deletion processing of unnecessary data spaces.

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

1-1…オンライン環境設定部、 1-2…オンライン業務実行部、 1-3…オンライン終了処理部、 1-4…共通テーブル/DB部、 1-10…オンライン開始処理、 1-11…中断業務再起動処理、 1-20…オンライン運用管理部、 1-21…オンライン実行制御部、 1-22…オンライン業務処理部、 1-20-1…実行状況管理機能部、 1-20-2…処理結果管理機能部、 1-20-3…異常終了管理機能部、 1-20-4…業務閉塞管理機能部、 1-20-5…一括DB削除機能部、 1-21-1…資格審査処理機能部、 1-21-2…一括起動審査機能部、 1-22-1…問合せ業務機能部、 1-22-2…一括業務機能部、 1-22-3…データ伝送機能部、 1-22-4…帳票出力機能部、 1-30…オンライン終了予約機能部、 1-31…オンライン終了処理機能部、 1-40…共通テーブル部、 1-41…共通DB部。 1-1 ... Online environment setting section, 1-2 ... Online job execution section, 1-3 ... Online end processing section, 1-4 ... Common table / DB section, 1-10 ... Online start processing, 1-11 ... Interruption Business restart processing, 1-20 ... Online operation management section, 1-21 ... Online execution control section, 1-22 ... Online business processing section, 1-20-1 ... Execution status management function section, 1-20-2 ... Processing result management function section, 1-20-3 ... Abnormal termination management function section, 1-20-4 ... Business block management function section, 1-20-5 ... Collective DB deletion function section, 1-21-1 ... Qualification examination Processing function part, 1-21-2 ... Batch activation examination function part, 1-22-1 ... Inquiry work function part, 1-22-2 ... Batch work function part, 1-22-3 ... Data transmission function part, 1 -22-4 ... Form output function part, 1-30 ... Online end reservation function part, 1-31 ... Online end processing function part, 1-40 ... Common table part, 1-41 ... Common DB part.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 森尻 芳弘 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株式会 社内 (72)発明者 田中 芳男 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株式会 社内 (72)発明者 蛯原 貞雄 東京都千代田区三番町28番地 日立公共シ ステムエンジニアリング株式会社内 (72)発明者 小林 利幸 東京都渋谷区道玄坂一丁目16番5号 株式 会社日立情報システムズ内 (72)発明者 川上 勝 神奈川県川崎市幸区鹿島田890番地の12 株式会社日立製作所情報システム開発本部 内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yoshihiro Moriziri 6-81 Onoue-cho, Naka-ku, Yokohama-shi, Kanagawa Hitachi Software Engineering Co., Ltd. (72) Inventor Yoshio Tanaka 6-81, Onoue-cho, Naka-ku, Yokohama, Kanagawa Address Hitachi Software Engineering Co., Ltd. In-house (72) Inventor Sadao Ebihara 28 Sanbancho, Chiyoda-ku, Tokyo Within Hitachi Public System Engineering Co., Ltd. (72) Toshiyuki Kobayashi 1-16-5 Dogenzaka, Shibuya-ku, Tokyo Stocks Hitachi Information Systems, Ltd. (72) Inventor Masaru Kawakami 12 Information Systems Development Division, Hitachi, Ltd., 890 Kashimada, Sachi-ku, Kawasaki-shi, Kanagawa

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】バッチジョブをオンライン環境下で動かす
ための制御方式及び運用管理方式であって、 バッチジョブをオンライン環境下で制御するのに必要な
情報とその管理方式と、 バッチジョブを実行するのに必要な資格審査方式ならび
にバッチジョブ起動制御方式と、 バッチジョブを構成するプログラム名および各プログラ
ムの実行順序の決定方式と起動する方式と、 バッチジョブプログラムの実行状況を管理する方式およ
びそのバッチジョブプログラムの処理結果を確認する方
式と、 バッチジョブの受付け時に行う受付け制御方式と、 オンライン終了時刻到達時にバッチジョブプログラムを
中断する方式及びそのバッチジョブを再開する方式と、 バッチジョブが異常終了したときの障害情報取得方式及
び障害を局所化する方式ならびにリラン方式と、 データスペースを有効的に使うことを特徴とするオンラ
イン環境下のバッチ処理プログラムの制御方式。
1. A control method and an operation management method for operating a batch job in an online environment, including information necessary for controlling the batch job in the online environment, its management method, and executing the batch job. Qualification examination method and batch job activation control method required for execution, method of determining the program name and execution order of each program that make up the batch job, method of activating, method of managing the execution status of batch job program and its batch A method to check the processing result of the job program, a reception control method to perform when a batch job is received, a method to suspend the batch job program when the online end time is reached and a method to restart the batch job, and a batch job ends abnormally. And method of localizing fault information and time of fault information acquisition The rerun method and the control method of the batch processing program in the online environment characterized by effectively using the data space.
JP23926192A 1992-09-08 1992-09-08 System for controlling batch processing program under on-line environment Pending JPH0689263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23926192A JPH0689263A (en) 1992-09-08 1992-09-08 System for controlling batch processing program under on-line environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23926192A JPH0689263A (en) 1992-09-08 1992-09-08 System for controlling batch processing program under on-line environment

Publications (1)

Publication Number Publication Date
JPH0689263A true JPH0689263A (en) 1994-03-29

Family

ID=17042137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23926192A Pending JPH0689263A (en) 1992-09-08 1992-09-08 System for controlling batch processing program under on-line environment

Country Status (1)

Country Link
JP (1) JPH0689263A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08227368A (en) * 1995-02-20 1996-09-03 Nec Corp Job reexecution system
WO2001014980A1 (en) * 1999-08-19 2001-03-01 Fujitsu Limited Method for controlling operation of operating system of computer system, and recorded medium on which program therefor is recorded
JP2007521547A (en) * 2003-04-14 2007-08-02 エイ・ティ・アンド・ティ・コーポレーション Session start protocol end system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08227368A (en) * 1995-02-20 1996-09-03 Nec Corp Job reexecution system
WO2001014980A1 (en) * 1999-08-19 2001-03-01 Fujitsu Limited Method for controlling operation of operating system of computer system, and recorded medium on which program therefor is recorded
JP2007521547A (en) * 2003-04-14 2007-08-02 エイ・ティ・アンド・ティ・コーポレーション Session start protocol end system and method
US8239554B2 (en) 2003-04-14 2012-08-07 At&T Intellectual Property Ii, L.P. Systems and methods for termination of session initiation protocol

Similar Documents

Publication Publication Date Title
US5247664A (en) Fault-tolerant distributed database system and method for the management of correctable subtransaction faults by the global transaction source node
JPS6275739A (en) Assigning method for task
US8074222B2 (en) Job management device, cluster system, and computer-readable medium storing job management program
US7127635B2 (en) Method for correcting a program running on a computer system
JPH08328880A (en) Computer operation management system for operating system capable of simultaneous executing of plural application programs
US20100251248A1 (en) Job processing method, computer-readable recording medium having stored job processing program and job processing system
US20070124547A1 (en) Method, apparatus and computer program product for managing access to storage
JPH07311749A (en) Multiprocessor system and kernel substituting method
JP2723068B2 (en) Job re-execution method
JPH0689263A (en) System for controlling batch processing program under on-line environment
US20080244596A1 (en) Computer program product and system for deferring the deletion of control blocks
JPH11259326A (en) Hot standby system, automatic re-execution method for the same and storage medium therefor
JP3508513B2 (en) Operation management method of computer system
JP2001022709A (en) Cluster system and computer-readable storage medium storing program
JPH06274354A (en) Method and system for control of operation of destructive hardware
JPH06348664A (en) Controller for computer system constituted of plural cpus provided with different instruction characteristics
JP2001166943A (en) Method for distributing software
JP2654612B2 (en) Exclusive weight reduction control method
JP2003345638A (en) Method for controlling storage controller, the storage controller, and program
JP3524961B2 (en) Multiprocessor system and task scheduling method in the system
JPH11120147A (en) Load distributed control method
JP3984948B2 (en) Computer system operation management method
JPH0784967A (en) Process pipeline processing system
JPH07168794A (en) Job managing method for computer system
JPH06110850A (en) Load distribution system for on-line system