JPH0580993A - Job executing sequence control system - Google Patents

Job executing sequence control system

Info

Publication number
JPH0580993A
JPH0580993A JP23925791A JP23925791A JPH0580993A JP H0580993 A JPH0580993 A JP H0580993A JP 23925791 A JP23925791 A JP 23925791A JP 23925791 A JP23925791 A JP 23925791A JP H0580993 A JPH0580993 A JP H0580993A
Authority
JP
Japan
Prior art keywords
job
execution
execution order
result message
registered
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
JP23925791A
Other languages
Japanese (ja)
Inventor
Sukeyoshi Hattori
祐喜 服部
Kenji Yoshida
賢二 吉田
Masumi Shiojima
益美 塩島
Yasuyuki Mogi
泰之 茂木
Katsuo Nishihara
克夫 西原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP23925791A priority Critical patent/JPH0580993A/en
Publication of JPH0580993A publication Critical patent/JPH0580993A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To ensure the flexible job executing sequence in a job executing sequence control system of a computer system by changing optionally the job executing sequence which is previously registered through a job under execution. CONSTITUTION:A job which is executed in a user job executing area 11 calls a subroutine to request a job execution control program 12 to change an executing sequence register area 13. Thus the registered job can be changed. Meanwhile a subroutine is called for reference to a job executing result message recording area 14. Thus the job executing results are transferred among jobs.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、計算機システムにおけ
るジョブ実行順序制御方式に関し、特に実行中のジョブ
から後続のジョブの実行順序を変更したり、先行するジ
ョブの実行結果をジョブ間で連絡し、その結果によって
後続のジョブの実行順序を変更するジョブ実行順序制御
方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a job execution order control method for a computer system, and more particularly to changing the execution order of a job being executed and a succeeding job, and communicating execution results of preceding jobs between jobs. The present invention relates to a job execution order control method that changes the execution order of subsequent jobs according to the result.

【0002】[0002]

【従来の技術】従来のシステムを自動運転するジョブ実
行順序制御方式に関するものとしては、例えば特開昭6
3−293619号公報や特開昭63−317815号
公報に記載された技術が挙げられる。
2. Description of the Related Art A conventional job execution sequence control method for automatically operating a system is, for example, Japanese Patent Laid-Open No.
The techniques described in JP-A-3-293619 and JP-A-63-317815 are mentioned.

【0003】特開昭63−293619号公報において
は、予めファイルに複数のジョブを登録しておき、各ジ
ョブ対応にシミュレーションルーチンを割り付けて実行
する技術が記載されている。
Japanese Patent Laid-Open No. 63-293619 discloses a technique in which a plurality of jobs are registered in a file in advance and a simulation routine is assigned to each job and executed.

【0004】また、特開昭63−317815号公報に
おいては、コンソールに出力されるメッセージに対する
応答、起動ジョブ等を予めファイルに定義しておき、メ
ッセージを受け渡されたときそのメッセージに対する応
答、起動ジョブ等を実行する技術が記載されている。
Further, in Japanese Patent Laid-Open No. 63-317815, a response to a message output to a console, a startup job, etc. are defined in a file in advance, and when the message is delivered, the response to the message and the activation are started. The technology for executing a job or the like is described.

【0005】[0005]

【発明が解決しようとする課題】上記従来技術は、定形
的なジョブの自動実行を目的としたものであり、ジョブ
の実行順序に関して、予めファイルに登録した順序どお
りに実行することしか考慮されておらず、実行中のジョ
ブ(ユーザプログラム)から予めファイルに登録したジ
ョブの実行順序の変更や削除ができず、ダイナミックに
ジョブの実行順序を変更できないという問題があった。
The above-mentioned prior art is intended for automatic execution of fixed jobs, and the execution order of jobs is only considered in the order registered in a file in advance. However, there is a problem in that the execution order of jobs registered in a file cannot be changed or deleted from a job being executed (user program), and the execution order of jobs cannot be dynamically changed.

【0006】また、実行中のジョブ(ユーザプログラ
ム)から他のジョブの実行結果メッセージを参照する配
慮がなされていないため、あるジョブの実行結果によっ
て、後続するジョブの実行順序を変更したいという場合
の実行順序の変更が実行中のジョブ(ユーザプログラ
ム)でできないという問題があった。
Further, since consideration is not given to the execution result message of another job from the job being executed (user program), it is necessary to change the execution order of the succeeding job depending on the execution result of a certain job. There was a problem that the execution order could not be changed in the job (user program) being executed.

【0007】本発明の目的は、予めファイルあるいはメ
モリに登録したジョブの実行順序を実行中のジョブ(ユ
ーザプログラム)から任意に変更可能とし、ジョブの実
行順序に柔軟性を持たせたジョブ実行順序制御方式を提
供することにある。
An object of the present invention is to make it possible to arbitrarily change the execution order of jobs registered in a file or memory in advance from a job being executed (user program), and to give flexibility to the execution order of jobs. To provide a control method.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に本発明は、複数のジョブについてその実行順序が予め
登録された実行順序登録手段を設け、この実行順序登録
手段に登録された実行順序に従ってジョブの実行を行な
うジョブ実行順序制御方式において、実行中のジョブか
ら実行順序登録手段に登録された実行順序に対して変更
を行なう変更手段を設け、実行中のジョブから実行順序
登録手段に対する変更要求があったとき、実行順序登録
手段に登録された実行順序を任意に変更するようにした
ものである。
In order to achieve the above object, the present invention is provided with an execution order registration means in which the execution order of a plurality of jobs is registered in advance, and the execution order registered in the execution order registration means is provided. In the job execution order control method for executing jobs according to the above, a changing means for changing the execution order registered in the execution order registration means from the job being executed is provided, and the execution job is changed to the execution order registration means. When a request is made, the execution order registered in the execution order registration means is arbitrarily changed.

【0009】さらに本発明においては、各ジョブの実行
結果メッセージを逐次記憶する実行結果メッセージ記憶
手段と、実行中のジョブから実行結果メッセージ記憶手
段に記憶された実行結果メッセージを参照する実行結果
メッセージ参照手段設け、実行中のジョブから実行結果
メッセージ記憶手段に対する参照要求があったとき、実
行結果メッセージ記憶手段に記憶された実行結果メッセ
ージを任意に参照し、参照された実行結果メッセージの
内容に従って変更手段を用いて実行順序登録手段に登録
された実行順序を任意に変更するようにしたものであ
る。
Further, in the present invention, the execution result message storage means for sequentially storing the execution result message of each job, and the execution result message reference for referring to the execution result message stored in the execution result message storage means from the job being executed. When the job being executed makes a reference request to the execution result message storage means, the execution result message stored in the execution result message storage means is arbitrarily referred to, and the changing means is provided according to the content of the referred execution result message. Is used to arbitrarily change the execution sequence registered in the execution sequence registration means.

【0010】[0010]

【作用】実行中のジョブ(ユーザプログラム)から、ユ
ーザが任意の時点で、予めジョブ実行順序登録手段に登
録されたジョブの変更や削除を要求するサブルーチンを
コールすると、ジョブ実行管理プログラムでは、予めジ
ョブの実行順序を登録しているファイルあるいはメモリ
をサブルーチンで要求内容(変更、削除)によって更新
し、更新した内容で実行することができる。
When the user calls a subroutine requesting change or deletion of a job registered in advance in the job execution order registration means from a job being executed (user program) at any time, the job execution management program reads the job in advance. It is possible to update the file or memory in which the execution order of the jobs is registered with the requested contents (change or deletion) by the subroutine, and execute the updated contents.

【0011】また、実行中のジョブ(ユーザプログラ
ム)から、ユーザが任意の時点で、他のジョブの実行結
果メッセージを参照するサブルーチンをコールすると、
ジョブ実行管理プログラムでは、各ジョブの実行結果メ
ッセージを逐次記録しているジョブ実行結果メッセージ
記録手段からサブルーチンで要求したジョブの実行結果
メッセージを連絡することができ、その実行結果メッセ
ージの内容に従って後続のジョブの実行順序を変更する
ことができる。
If the user calls a subroutine that references the execution result message of another job from an executing job (user program) at any time,
The job execution management program can notify the execution result message of the job requested by the subroutine from the job execution result message recording means that sequentially records the execution result message of each job. Job execution order can be changed.

【0012】[0012]

【実施例】以下、本発明の一実施例として、先行ジョブ
の異常終了によって登録済の後続ジョブを削除し、新た
に別のジョブを後続ジョブとして登録する方法を図面を
用いて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS As an embodiment of the present invention, a method of deleting a registered succeeding job due to abnormal termination of a preceding job and newly registering another job as a succeeding job will be described in detail with reference to the drawings. ..

【0013】図1は本発明を実現するための計算機シス
テム内の構成を示す図である。
FIG. 1 is a diagram showing the internal configuration of a computer system for implementing the present invention.

【0014】計算機システム1には、複数のエリアに分
割、区分けされたユーザジョブ実行エリア11があり、
各々のエリアでユーザジョブを実行する。
The computer system 1 has a user job execution area 11 divided and divided into a plurality of areas.
Execute user jobs in each area.

【0015】各ユーザジョブ実行エリア11で実行中の
ジョブ(ユーザプログラム)からサブルーチンで変更要
求や削除要求があった時に処理を実行するものとして、
ジョブ実行管理プログラム12がある。ジョブ実行管理
プログラム12は、ジョブの実行順序を登録するための
実行順序登録エリア13を変更し、また、各ユーザジョ
ブの実行結果メッセージを逐次記録するためのジョブ実
行結果メッセージ記録エリア14を参照する。そして、
ジョブ実行管理プログラム12は結果をサブルーチンリ
ターンすることで各ユーザジョブ実行エリア11に連絡
する。
Assuming that processing is executed when a change request or a deletion request is made by a subroutine from a job (user program) being executed in each user job execution area 11.
There is a job execution management program 12. The job execution management program 12 changes the execution order registration area 13 for registering the job execution order, and also refers to the job execution result message recording area 14 for sequentially recording the execution result messages of each user job. .. And
The job execution management program 12 notifies each user job execution area 11 by returning the result as a subroutine.

【0016】図2は、ジョブの実行順序を登録するため
の実行順序登録エリア13のフォーマットを示す図であ
る。
FIG. 2 is a diagram showing the format of the execution order registration area 13 for registering the execution order of jobs.

【0017】実行順序登録エリア13は、実行するユー
ザジョブ実行エリア11の名称と起動するジョブの名称
とが対になって登録され、登録された数だけ対になった
エントリが連続して作成され、最後のエントリには
「*」が登録されている。
In the execution order registration area 13, the name of the user job execution area 11 to be executed and the name of the job to be activated are registered as a pair, and the number of registered pairs of entries is continuously created. , "*" Is registered in the last entry.

【0018】図2においては、ユーザジョブ実行エリア
AでジョブA1,ジョブA2の順番で実行され、その後
ユーザジョブ実行エリアBでジョブB1,ジョブB2の
順番で実行されることが示されている。
FIG. 2 shows that jobs A1 and A2 are executed in order in the user job execution area A, and then jobs B1 and B2 are executed in order in the user job execution area B.

【0019】図3は、各ユーザジョブの実行結果メッセ
ージを逐次記録するためのジョブ実行結果メッセージ記
録エリア14のフォーマットを示す図である。
FIG. 3 is a diagram showing the format of the job execution result message recording area 14 for sequentially recording the execution result messages of each user job.

【0020】ジョブ実行結果メッセージ記録エリア14
は、ジョブ実行結果メッセージのメッセージIDとジョ
ブ実行結果メッセージとが対になって登録され、登録さ
れた数だけ対になったエントリが連続して作成され、最
後のエントリには「*」が登録されている。なお、ジョ
ブ実行結果メッセージには起動したジョブ名称が付加さ
れる。
Job execution result message recording area 14
, The message ID of the job execution result message and the job execution result message are registered as a pair, and the entries are paired as many as the registered number, and "*" is registered as the last entry. Has been done. The name of the job that was started is added to the job execution result message.

【0021】図3においては、メッセージIDとして
「123」が付与されたジョブA1は正常終了し、メッ
セージIDとして「456」が付与されたジョブA2は
異常終了したことを示している。
FIG. 3 shows that the job A1 to which the message ID "123" is added has ended normally, and the job A2 to which the message ID "456" has been added has ended abnormally.

【0022】いま、図2および図3に示す内容の状態
で、すなわちジョブA1が正常終了し、その後続ジョブ
であるジョブA2が異常終了し、現在ユーザジョブ実行
エリア11のうち、ユーザジョブ実行エリアBでジョブ
B1を実行しているものとする。
2 and 3, that is, the job A1 ends normally, the succeeding job A2 ends abnormally, and the user job execution area 11 of the current user job execution area 11 is terminated. It is assumed that job B1 is being executed by B.

【0023】図7にジョブB1の動作を説明するための
フローチャートを示す。
FIG. 7 shows a flowchart for explaining the operation of job B1.

【0024】ユーザジョブ実行エリアBでジョブB1を
実行中の状態で、ジョブB1の先行ジョブ、すなわちジ
ョブA2の実行結果メッセージを参照するサブルーチン
をコールすると(71)、ジョブ実行管理プログラム1
2は要求のあったジョブ実行結果のメッセージIDと実
行結果メッセージ中の起動したジョブ名称(この場合ジ
ョブ名称はA2である)をキーにして、ジョブ実行結果
メッセージ記録エリア14を検索し、ジョブA2が正常
終了したかどうかを判定する(72)。
While the job B1 is being executed in the user job execution area B, when the subroutine for referring to the execution result message of the preceding job of the job B1, that is, the job A2 is called (71), the job execution management program 1
2 uses the message ID of the requested job execution result and the started job name in the execution result message (in this case, the job name is A2) as a key to search the job execution result message recording area 14 and execute job A2 It is determined whether the process has been completed normally (72).

【0025】ステップ72でジョブA2が正常終了した
と判定された場合、ジョブB1はその後通常の処理を実
行して終了する。一方、ステップ72でジョブA2が正
常終了しなかった、すなわち異常終了したと判定された
場合は、ジョブ実行管理プログラム12はジョブA2の
異常終了の実行結果メッセージをユーザジョブ実行エリ
ア11に連絡(サブルーチンリターン)する。
When it is determined in step 72 that the job A2 has ended normally, the job B1 thereafter executes normal processing and ends. On the other hand, when it is determined in step 72 that the job A2 has not ended normally, that is, it has ended abnormally, the job execution management program 12 notifies the user job execution area 11 of an execution result message indicating that the job A2 has ended abnormally (subroutine). Return).

【0026】本実施例の場合、ジョブ実行結果メッセー
ジ記録エリア14のジョブA2に関するメッセージが登
録されたエントリ31を参照することによってジョブA
2が異常終了したことがわかり、ジョブ実行管理プログ
ラム12はジョブA2の異常終了の実行結果メッセージ
をユーザジョブ実行エリア11に連絡(サブルーチンリ
ターン)する。このようにしてジョブB1を実行中の状
態で、ジョブA2が異常終了したことが認知できる。
In the case of the present embodiment, by referring to the entry 31 in which the message regarding the job A2 in the job execution result message recording area 14 is registered, the job A
The job execution management program 12 informs the user job execution area 11 of the execution result message of the abnormal end of the job A2 (subroutine return). In this way, it is possible to recognize that the job A2 has ended abnormally while the job B1 is being executed.

【0027】次にこれをきっかけとして、ジョブB1が
その後続のジョブであるジョブB2を削除するよう、削
除要求でジョブ実行管理プログラム12にサブルーチン
コールすると(73)、ジョブ実行管理プログラム12
は実行順序登録エリア13に対して変更処理を行なう。
Next, with this as a trigger, a subroutine call is made to the job execution management program 12 with a deletion request so that the job B1 deletes the succeeding job B2 (73).
Performs change processing on the execution order registration area 13.

【0028】ジョブ実行管理プログラム12による実行
順序登録エリア13の変更処理を図6に示す。
FIG. 6 shows a process of changing the execution order registration area 13 by the job execution management program 12.

【0029】まず、実行順序登録エリア13に対する変
更処理が削除要求か否かを判定する(61)。削除要求
である場合は、実行順序登録エリア13の該当エントリ
及び追加ジョブストリームを無効にする。すなわち本実
施例においては、ジョブB2が登録されているエントリ
を削除する(62)。
First, it is determined whether or not the change processing for the execution order registration area 13 is a deletion request (61). If it is a deletion request, the corresponding entry in the execution order registration area 13 and the additional job stream are invalidated. That is, in this embodiment, the entry in which the job B2 is registered is deleted (62).

【0030】ステップ62で実行順序登録エリア13の
該当エントリ及び追加ジョブストリームを削除する際に
は、実行順序登録エリア13を検索、該当エントリを無
効化して意味のない表示(何もしないで次に進む表示)
を行う。また、該当エントリに登録された起動ジョブが
すでにユーザジョブ実行エリアに後続ジョブストリーム
として追加されていることもあるため、ユーザジョブ実
行エリアに追加したジョブストリームも削除するように
する。削除処理完了後、サブルーチンリターンすること
でジョブB1の処理に戻る。
When the corresponding entry and the additional job stream in the execution order registration area 13 are deleted in step 62, the execution order registration area 13 is searched, the corresponding entry is invalidated, and a meaningless display is performed ( Forward display)
I do. Further, since the startup job registered in the corresponding entry may have already been added to the user job execution area as a subsequent job stream, the job stream added to the user job execution area is also deleted. After the deletion process is completed, the process returns to the process of job B1 by returning to the subroutine.

【0031】次に、ジョブB1では、ジョブC1を後続
ジョブとして実行順序登録エリア13に登録するためジ
ョブ実行管理プログラム12にサブルーチンコールする
と(74)、ジョブ実行管理プログラム12は実行順序
登録エリア13に対する変更処理を行なう。
Next, in the job B1, a subroutine call is made to the job execution management program 12 to register the job C1 as a succeeding job in the execution order registration area 13 (74). Perform change processing.

【0032】この変更処理について図6を参照して説明
する。
This changing process will be described with reference to FIG.

【0033】まず、実行順序登録エリア13に対する変
更処理が削除要求か否かを判定する(61)。本実施例
のの場合は登録要求であるため「N」に進み、実行順序
登録エリア13の最後のエントリに追加登録するか否か
判断する(63)。本実施例においては、ジョブB2は
すでに削除済みで、図2に示されたジョブは全て起動完
了しているため、実行順序登録エリア13の最後のエン
トリに追加登録するということになり「Y」に進み、実
行順序登録エリア13の最後のエントリ21にユーザジ
ョブ実行エリア名と起動ジョブ名をセットし(64)、
その次のエントリが最後のエントリである旨の表示をす
るためジョブ実行エリア名と起動ジョブ名を「*」表示
にする(65)。そして、起動処理が待ち状態であれば
待ちを解除し(66)、ジョブB1へサブルーチンリタ
ーンする。
First, it is determined whether or not the change processing for the execution order registration area 13 is a deletion request (61). In the case of the present embodiment, since it is a registration request, the process proceeds to "N", and it is determined whether or not to additionally register the last entry in the execution order registration area 13 (63). In this embodiment, the job B2 has already been deleted, and all the jobs shown in FIG. 2 have been started up. Therefore, the job B2 will be additionally registered in the last entry in the execution order registration area 13 "Y". Then, the user job execution area name and the startup job name are set in the last entry 21 of the execution order registration area 13 (64),
In order to display that the next entry is the last entry, the job execution area name and the startup job name are displayed as "*" (65). Then, if the activation process is in the waiting state, the waiting is released (66) and the subroutine returns to the job B1.

【0034】一方、ステップ63で実行順序登録エリア
13の最後のエントリに追加登録しないで、途中のエン
トリに追加登録するように要求された場合は、要求のあ
ったエントリにユーザエリア名、ジョブ名を登録する
(67)。そして追加のあったエントリ以降のエントリ
の内容を1つづつずらし(68)、サブルーチンリター
ンする。
On the other hand, if it is requested in step 63 not to additionally register to the last entry in the execution order registration area 13 but to additionally register to an entry in the middle, the user area name and job name are added to the requested entry. Is registered (67). Then, the contents of the entries after the added entry are shifted one by one (68), and the subroutine returns.

【0035】新たに登録されたジョブC1は、起動処理
によって起動される。起動処理を図4を参照して説明す
る。
The newly registered job C1 is activated by the activation process. The startup process will be described with reference to FIG.

【0036】本実施例では、新たなジョブC1を追加登
録する前の時点で、図2に示されたジョブは全て起動完
了している。つまり新たなジョブC1を追加登録する前
の時点ではジョブの実行は実行順序登録エリア13の最
後のエントリ21まで進んでいる。そのため、実行する
ユーザエリア名が「*」であるかどうかの判断(41)
は「Y」に進み、起動待ちの状態(42)になってい
る。
In this embodiment, all the jobs shown in FIG. 2 have been started up before the additional registration of the new job C1. That is, before the additional registration of the new job C1, the execution of the job has proceeded to the last entry 21 in the execution order registration area 13. Therefore, it is judged whether the user area name to be executed is "*" (41)
Goes to “Y” and is in a waiting state (42) for activation.

【0037】そしてここで新たなジョブC1を追加登録
した後は、前述のステップ66(ジョブ登録処理におけ
る起動待ち解除)によって待ちが解除された後、実行す
るエリアが「*」であるかどうかの判定(41)を行
う。今回のステップ41では、実行順序登録エリア13
のエントリ21は以前のステップ64(実行順序登録エ
リア13への追加登録)、ステップ65でジョブC1が
追加されて変更されているため「N」に進み、実行する
ユーザエリアでジョブが動作中かどうかの判定(43)
に移る。
After the new job C1 is additionally registered, whether the area to be executed is "*" after the waiting is canceled by the above-described step 66 (cancellation of the activation waiting in the job registration processing). A judgment (41) is made. In this step 41, the execution order registration area 13
Entry 21 in step 64 (additional registration in the execution order registration area 13), the job C1 has been added and changed in step 65, so the process proceeds to “N” to see if the job is running in the user area to be executed. Judgment of whether it is (43)
Move on to.

【0038】ここでは、ジョブB2の後続ジョブとして
ジョブC1が登録されたため、ユーザエリア名は同一、
すなわちBで、しかもまだジョブB1は実行中であるた
め「Y」となり、後続ジョブとしてジョブストリームに
追加する(44)。
Here, since the job C1 is registered as the succeeding job of the job B2, the user area names are the same,
That is, the job B1 is B, and the job B1 is still being executed. Therefore, the result is "Y", and the job B1 is added to the job stream as a subsequent job (44).

【0039】ジョブストリームに追加されたジョブC1
はジョブB1の終了後実行される。
Job C1 added to the job stream
Is executed after the end of job B1.

【0040】そして、実行順序登録エリア13内のエン
トリを次に進めて(45)、再びステップ41に戻る。
今度のステップ41の判定では、次エントリが「*」で
あるため起動待ち(42)となる。
Then, the entry in the execution order registration area 13 is advanced to the next (45), and the process returns to step 41 again.
In the next determination at step 41, the next entry is "*", so that the process waits for activation (42).

【0041】またステップ43で、実行するユーザエリ
アでジョブが動作中でないとされた場合は、ジョブを起
動し(46)、その後実行順序登録エリア13内のエン
トリを次に進めて(45)、ステップ41からの処理を
繰り返す。
If it is determined in step 43 that the job is not running in the user area to be executed, the job is activated (46), and then the entry in the execution order registration area 13 is advanced (45). The processing from step 41 is repeated.

【0042】一方、ジョブB1はステップ74でのサブ
ルーチンリターンによってジョブ終了となる。ジョブ終
了となった時点で、ジョブ実行管理プログラム12は、
ジョブ実行結果メッセージ記録エリア14にジョブB1
の実行結果メッセージを記録する。
On the other hand, the job B1 is ended by the subroutine return in step 74. When the job ends, the job execution management program 12
Job B1 in the job execution result message recording area 14
Record the execution result message of.

【0043】図5にジョブ実行結果メッセージの記録処
理を示す。
FIG. 5 shows the recording process of the job execution result message.

【0044】まず、ジョブ実行結果メッセージ記録エリ
ア14のラストエントリに、ジョブB1のメッセージI
Dと実行結果メッセージをセットする(51)。そし
て、次エントリのメッセージIDと実行結果メッセージ
として「*」をセットする(52)。
First, the message I of the job B1 is written in the last entry of the job execution result message recording area 14.
D and the execution result message are set (51). Then, "*" is set as the message ID of the next entry and the execution result message (52).

【0045】以上のようにすることで、先行ジョブの異
常終了によって登録済の後続ジョブを削除し、新たに別
ジョブを後続ジョブとして登録し実行することができ
る。
As described above, the registered succeeding job can be deleted due to the abnormal termination of the preceding job, and another job can be newly registered and executed as the succeeding job.

【0046】[0046]

【発明の効果】本発明によれば、実行中のジョブから予
め実行順序が登録されたジョブの実行順序を変更でき、
また、新たなジョブを追加することができるので、先行
ジョブの実行結果によって後続ジョブの実行順序に変更
が生じる場合など、後続ジョブの実行順序をユーザが任
意に変更でき実行中のジョブの実行順序に柔軟性を持た
せることができるという効果がある。
According to the present invention, it is possible to change the execution order of jobs whose execution order is registered in advance from the job being executed,
In addition, because a new job can be added, the execution order of subsequent jobs can be changed by the user, such as when the execution order of subsequent jobs changes due to the execution results of preceding jobs. There is an effect that can be given flexibility.

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

【図1】図1は、本発明を実現するための計算機システ
ム内の構成を示す図である。
FIG. 1 is a diagram showing a configuration in a computer system for realizing the present invention.

【図2】図2は、ジョブの実行順序を登録するための実
行順序登録エリア13のフォーマットを示す図である。
FIG. 2 is a diagram showing a format of an execution order registration area 13 for registering an execution order of jobs.

【図3】図3は、各ユーザジョブの実行結果メッセージ
を逐次記録するためのジョブ実行結果メッセージ記録エ
リア14のフォーマットを示す図である。
FIG. 3 is a diagram showing a format of a job execution result message recording area 14 for sequentially recording execution result messages of each user job.

【図4】図4は、ジョブ実行管理におけるジョブ起動処
理を説明するための図である。
FIG. 4 is a diagram for explaining a job activation process in job execution management.

【図5】図5は、ジョブ実行管理におけるジョブ実行結
果メッセージの記録処理を説明するための図である。
FIG. 5 is a diagram for explaining a recording process of a job execution result message in job execution management.

【図6】図6は、ジョブ実行管理プログラムによる実行
順序登録エリアの変更処理を説明するための図である。
FIG. 6 is a diagram for explaining a process of changing an execution order registration area by a job execution management program.

【図7】図7は、ジョブB1の動作を説明するためのフ
ローチャートである。
FIG. 7 is a flowchart for explaining the operation of job B1.

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

1……計算機システム、 11……ユーザジョブ実行エリア、 12……ジョブ実行管理プログラム、 13……実行順序登録エリア、 14……ジョブ実行結果メッセージ記録エリア、 1 ... Computer system, 11 ... User job execution area, 12 ... Job execution management program, 13 ... Execution order registration area, 14 ... Job execution result message recording area,

───────────────────────────────────────────────────── フロントページの続き (72)発明者 茂木 泰之 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウエア開発本部内 (72)発明者 西原 克夫 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウエア開発本部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Yasuyuki Mogi 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Inside the Software Development Division, Hitachi, Ltd. (72) Inventor Katsuo Nishihara 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Bachi Co., Ltd. Hitachi, Ltd. Software Development Division

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】複数のジョブについてその実行順序が予め
登録された実行順序登録手段を設け、該実行順序登録手
段に登録された実行順序に従ってジョブの実行を行なう
ジョブ実行順序制御方式において、実行中のジョブから
前記実行順序登録手段に登録された実行順序に対して変
更を行なう変更手段を設け、前記実行中のジョブから前
記実行順序登録手段に対する変更要求があったとき、前
記実行順序登録手段に登録された実行順序を任意に変更
することを特徴とするジョブ実行順序制御方式。
1. A job execution order control method for executing a job according to an execution order registered in the execution order registration means, the execution order registration means preliminarily registering the execution order of a plurality of jobs. Change means is provided for changing the execution order registered in the execution order registration means from the job, and when the execution order registration means makes a change request to the execution order registration means, the execution order registration means A job execution order control method characterized in that the registered execution order is arbitrarily changed.
【請求項2】請求項1記載のジョブ実行順序制御方式に
おいて、各ジョブの実行結果メッセージを逐次記憶する
実行結果メッセージ記憶手段と、前記実行中のジョブか
ら前記実行結果メッセージ記憶手段に記憶された実行結
果メッセージを参照する実行結果メッセージ参照手段設
け、前記実行中のジョブから前記実行結果メッセージ記
憶手段に対する参照要求があったとき、前記実行結果メ
ッセージ記憶手段に記憶された実行結果メッセージを任
意に参照し、参照された実行結果メッセージの内容に従
って前記変更手段を用いて前記実行順序登録手段に登録
された実行順序を任意に変更することを特徴とするジョ
ブ実行順序制御方式。
2. The job execution sequence control method according to claim 1, wherein execution result message storage means for sequentially storing execution result messages of each job, and execution result message storage means for storing the execution result message storage means from the job being executed. Execution result message reference means for referring to the execution result message is provided, and when the job being executed requests a reference to the execution result message storage means, the execution result message stored in the execution result message storage means is arbitrarily referred to. Then, the job execution order control method is characterized in that the execution order registered in the execution order registration means is arbitrarily changed by using the changing means according to the content of the referred execution result message.
JP23925791A 1991-09-19 1991-09-19 Job executing sequence control system Pending JPH0580993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23925791A JPH0580993A (en) 1991-09-19 1991-09-19 Job executing sequence control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23925791A JPH0580993A (en) 1991-09-19 1991-09-19 Job executing sequence control system

Publications (1)

Publication Number Publication Date
JPH0580993A true JPH0580993A (en) 1993-04-02

Family

ID=17042076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23925791A Pending JPH0580993A (en) 1991-09-19 1991-09-19 Job executing sequence control system

Country Status (1)

Country Link
JP (1) JPH0580993A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011083721A1 (en) * 2010-01-06 2011-07-14 Canon Kabushiki Kaisha Control apparatus and processing method therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011083721A1 (en) * 2010-01-06 2011-07-14 Canon Kabushiki Kaisha Control apparatus and processing method therefor
JP2011141697A (en) * 2010-01-06 2011-07-21 Canon Inc Processing method for control device and control device
US9459914B2 (en) 2010-01-06 2016-10-04 Canon Kabushiki Kaisha Processing method for control apparatus involves controlling job subsequent to proceeding job based on execution result acquired by executing the proceeding job

Similar Documents

Publication Publication Date Title
US5781908A (en) File data synchronizer in a distributed data computer network
US20030085924A1 (en) Method and system for displaying categorized information on a user interface
JPH08255106A (en) Network stand-alone file shadowing
JPH04284548A (en) Data base exclusive controlling system
JPH05241923A (en) File converting device
JPH0580993A (en) Job executing sequence control system
JP3586943B2 (en) Program loading device and method
JP3330006B2 (en) Network system including information storage system, input system of the system, and
JPH05334249A (en) Nesting management system for catalog in interactive processing system
JP3019788B2 (en) Media information management device
JPH05298173A (en) Distributed file synchronizing and updating system
JPH0414161A (en) Transaction processing system
JP3079825B2 (en) Electronic computer equipment
JP2787107B2 (en) Buffer control system and device
JPH0713862A (en) Starting method for application program
JPS63196956A (en) File exclusion system
JPH064472A (en) Input/output priority order control system
JP2746952B2 (en) Image processing method
JPH07175641A (en) Distributed program development integration update managing system
JPH0458334A (en) Message output selection system
JPH07114470A (en) Shared data managing system
JPH08320862A (en) System and method for document management
JPH06339169A (en) Virtual protocol control system
JPH07175762A (en) Job scheduling method in distributed processing system
JPH06187377A (en) Data base access system