JP2575761B2 - Job management method - Google Patents
Job management methodInfo
- Publication number
- JP2575761B2 JP2575761B2 JP62312138A JP31213887A JP2575761B2 JP 2575761 B2 JP2575761 B2 JP 2575761B2 JP 62312138 A JP62312138 A JP 62312138A JP 31213887 A JP31213887 A JP 31213887A JP 2575761 B2 JP2575761 B2 JP 2575761B2
- Authority
- JP
- Japan
- Prior art keywords
- job
- execution
- processing
- input
- replaced
- 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
Links
Landscapes
- Stored Programmes (AREA)
Description
【発明の詳細な説明】 〔概 要〕 ジョブ投入後、実行待ち状態においてそのジョブの内
容を変更する必要が生じた場合のジョブ管理方法に関
し、 ジョブ内容変更のための再投入ジョブが内容変更を受
ける入替え対象ジョブの実行資格を継続できるととも
に、入替え対象ジョブについての無駄な処理と課金を無
くすることを目的とし、 ジョブ投入後、実行待ち状態においてそのジョブ内容
を変更する場合のジョブ管理方法において、投入される
ジョブが既に投入された入替対象ジョブの内容を変更す
るための再投入ジョブであること及び前記入替え対象ジ
ョブを認識させる専用制御文を追加したジョブ制御文で
生成された再投入ジョブを処理システムに投入し、投入
されたジョブが再投入ジョブでかつ入替え対象ジョブが
存在する場合に、再投入ジョブにその入替え対象ジョブ
の実行資格を継続させて実行待ち状態にするように構成
する。DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a job management method in a case where it is necessary to change the contents of a job in a waiting state after the job is submitted. A job management method for changing the job contents in a waiting state after the job is input, with the aim of continuing the qualification of the job to be replaced and eliminating unnecessary processing and charging for the job to be replaced. , The job to be submitted is a resubmission job for changing the content of the already-substituted job to be replaced, and the resubmission generated by a job control statement to which a dedicated control statement for recognizing the job to be replaced has been added. Submits a job to the processing system, and if the submitted job is a resubmitted job and there is a job To continue with qualifications of the replacement target job to input job configured to execute wait state.
本発明は、ジョブ投入後、実行待ち状態でそのジョブ
制御文(JCL)及びSYSINデータ(入力ジョブの流れの中
に入っているデータ)等のジョブの内容を変更する必要
が生じた場合のジョブ管理方法に関する。According to the present invention, when a job needs to be changed after job submission, such as job control statements (JCL) and SYSIN data (data included in the flow of an input job) in the execution waiting state, the job needs to be changed. Regarding management methods.
ジョブ処理システムは、多数のジョブを処理するた
め、投入された各ジョブを一旦実行待ち行列に入れて待
ち状態とし、優先順位等で決められた順位に従って投入
ジョブを順番に処理するようにしている。In order to process a large number of jobs, the job processing system temporarily puts each input job in an execution queue and puts it in a waiting state, and processes the input jobs in order according to an order determined by a priority or the like. .
第5図は、従来のジョブ管理方式をジョブの流れで示
したものである。図において211,212等はジョブで、各
ジョブの内容はJCL及びSYSINデータで生成される。FIG. 5 shows a conventional job management system in the form of a job flow. 21 1, 21 2, etc. In the figure the job, contents of each job is generated by the JCL and SYSIN data.
22は入力処理ルーチンで、ジョブの読込み処理を行
う。Reference numeral 22 denotes an input processing routine for performing job reading processing.
23は実行待ち行列で、処理の実行を待つ各ジョブの識
別子を含むジョブ管理情報が格納される。各ジョブは、
共通の種類のものがクラスに分類され、取出し条件の大
小に従って配置される。例えば、JA1,JA2等はクラスA
のジョブで、ジョブJA1の取出し条件が最も大きく、取
出し条件の大きい順に処理が実行される。新規のジョブ
の取出し条件は最も小さく、各ジョブの最後尾に登録さ
れる。An execution queue 23 stores job management information including an identifier of each job waiting for execution of a process. Each job is
Common types are classified into classes and arranged according to the magnitude of the extraction condition. For example, JA 1 and JA 2 are Class A
In the job extraction condition of the job EN 1 is the largest, the process is performed in descending order of extraction conditions. The condition for taking out a new job is the smallest, and is registered at the end of each job.
24は実行処理ルーチンで、所定のジョブクラスから取
出し条件の最も高いジョブを取り出して、そのジョブス
テップを順番に実行する。Reference numeral 24 denotes an execution processing routine which extracts a job having the highest extraction condition from a predetermined job class and sequentially executes the job steps.
25は出力処理ルーチンで、ジョブの実行結果の出力処
理を行う。Reference numeral 25 denotes an output processing routine, which performs output processing of a job execution result.
26はパージ処理ルーチンで、処理を終了したジョブが
使用していたスプールスペースや実行待ち行列スペース
等のすべての資源を解放し、ジョブを処理システムから
パージ(purge)する。Reference numeral 26 denotes a purge processing routine which releases all resources such as a spool space and an execution queue space used by the completed job, and purges the job from the processing system.
27はスプール(SPOOL:Simultaneous Peripheral Outp
ut On Line)で、各ジョブのJCLやSYSINデータが格納さ
れる。27 is a spool (SPOOL: Simultaneous Peripheral Outp)
ut On Line), JCL and SYSIN data of each job are stored.
これらのルーチンにおいて、入力処理ルーチン22、実
行待ち行列23、出力ルーチン24及びパージ処理ルーチン
25は入力サブシステム(JES:JOB Entry Subsystem)を
構成する。In these routines, an input processing routine 22, an execution queue 23, an output routine 24, and a purge processing routine
Reference numeral 25 forms an input subsystem (JES: JOB Entry Subsystem).
この構成で、1つのジョブ(213とする)が入力サブ
システムJESに投入されると、入力処理ルーチン22はジ
ョブ213の読込みを行い、そのJCL及びSYSINデータをス
プール27に格納するとともに、ジョブ213にプライオリ
ティや実行順序等の実行資格を与え、そのジョブ管理情
報を実行待ち行列23に登録する。入力ジョブ213のクラ
スがAならばジョブクラスAの所に入れられる。ジョブ
管理情報中には、ジョブ213の処理システム内の識別子
が含まれている。In this configuration, when one job (to 21 3) is turned to the input subsystem JES, input processing routine 22 performs reading of the job 21 3 stores the JCL and SYSIN data in the spool 27, given execution qualifications such as priority and execution order job 21 3, and registers the job management information to the execution queue 23. Input job 21 3 of the class is placed in the place of A if job class A. The job management information includes an identifier of the job 21 3 of the processing system.
実行処理ルーチン24は、その開始プログラムの指示す
るジョブクラスから最も取出し条件の大きい(例えば優
先順位の最も高い)ジョブ(211とする)を実行待ち行
列23より取り出し、ジョブ21のジョブの実行に必要な入
出力装置等の資源の割振りを行った後、スプール27から
ジョブ211のJCL及びSYSINデータを取り出してそのジョ
ブステップを順番に実行する。Executing processing routine 24 is taken out of the execution queue 23 the most of the extraction conditions large (for example the highest priority) (a 21 1) job from the job class of instructions of the start program, the execution of the job with job 21 after the allocation of resources of the input and output devices such as required, from the spool 27 takes out the job 21 1 of JCL and SYSIN data executes the job step in order.
ジョブ211の処理が終了すると、出力処理ルーチン25
により出力データの書出しが行われる。出力データは一
旦スプール27に格納され、そのジョブ管理情報が出力待
ち行列(図示せず)に入れられた後、順番に取り出され
て所定の出力装置に書き出される。When the processing of the job 21 1 is completed, output processing routine 25
Output data is written. The output data is temporarily stored in the spool 27, and the job management information is put in an output queue (not shown), and is sequentially taken out and written out to a predetermined output device.
ジョブ211のすべての出力処理を終了すると、ジョブ2
11が使用していたスプールスペースや実行待ち行列、出
力待ち行列の各スペース等のすべての資源を解放し、ジ
ョブ211を処理システムからパージする。When all output processing of job 21 1 is completed, job 2
1 1 the spool space and run queue has been used, and releases any resources of each space and the output queue, purging the job 21 1 from the processing system.
ところで、1つのジョブ(第6図(A)のJOB3とす
る)が投入され、その実行待ち行列23において実行待ち
状態にあるときにJOB3のJCL及びSYSINデータの変更が必
要になる場合が生じる。しかし、ジョブの内容はジョブ
投入後はジョブ終了まで変更できない。そこで、JOB3を
キャンセルし、JCL及びSYSINデータが変更されたジョブ
(JOB3′とする)が、新規に再投入され、JOB3′の処理
が最初から実行される。By the way, when one job (referred to as JOB 3 in FIG. 6 (A)) is submitted and is in the execution waiting state in the execution queue 23, the JCL and SYSIN data of JOB 3 may need to be changed. Occurs. However, the content of the job cannot be changed after the job is input until the job ends. Therefore, JOB 3 is canceled, the job whose JCL and SYSIN data have been changed (referred to as JOB 3 ′) is resubmitted, and the processing of JOB 3 ′ is executed from the beginning.
この場合、入替え対象JOB3の取出し条件が第6図
(A)の(a)に示すように3位の位置にあっても、再
投入されたJOB3′はJOB3に割り当てられたプライオリテ
ィ及び実行順序等の実行資格を継続することができず、
新規なジョブとして第6図(A)の(b)に示すように
実行待ち行列の最後に入れられる。In this case, even if the extraction condition of the replacement target Job 3 is at the third position as shown in FIG. 6A, (a), the re-input Job 3 ′ has the priority and the priority assigned to Job 3. Execution qualifications such as execution order cannot be continued,
A new job is placed at the end of the execution queue as shown in FIG. 6A (b).
再投入されたJOB3′に対しては、第6図(B)の
(a)に示すように前述の入力処理からパージ処理まで
行われる。これに対し入替え対象となったJOB3は、その
ジョブは実行されないが、第6図(B)の(b)に示す
ようにJOB3がキャンセルされた旨の出力処理と、JOB3を
処理システムから解放するパージ処理が行われる。For the re-input JOB 3 ′, the above-described input processing to purge processing is performed as shown in FIG. 6B (a). On the other hand, the job is not executed for the job 3 to be replaced, but as shown in (b) of FIG. 6B, an output process indicating that the job 3 has been canceled, and a processing system for the job 3 Purge processing is performed to release the pressure.
従来のジョブ管理方法は、投入されたJOBの実行待ち
状態でそのJCLやSYSINデータを変更した場合には、入替
え対象のジョブは実行前にシステム上からパージされる
ため、ユーザ課金が無駄になり、また、実行待ち状態中
にシステムから割り当てられた実行資格についても、再
投入することで新規ジョブとして扱われ、入替え対象ジ
ョブの実行資格を継続できないという問題があった。With the conventional job management method, if the JCL or SYSIN data is changed while the submitted job is waiting to be executed, the job to be replaced is purged from the system before execution, and user billing is wasted. In addition, there is a problem that the execution qualification assigned from the system during the execution waiting state is treated as a new job by re-input, and the execution qualification of the replacement target job cannot be continued.
本発明は、再投入ジョブが入替え対象ジョブの処理シ
ステム内の実行資格を継続でき、入替え対象ジョブにつ
いての無駄な処理と課金を無くするように改良したジョ
ブ管理方法を提供することを目的とする。SUMMARY OF THE INVENTION It is an object of the present invention to provide a job management method improved so that a re-submission job can continue its execution qualification in a processing system for a replacement target job and eliminate wasteful processing and charging for the replacement target job. .
本発明の採用した解決手段を、第1図を参照して説明
する。第1図は、本発明の基本構成の説明図である。The solution adopted by the present invention will be described with reference to FIG. FIG. 1 is an explanatory diagram of the basic configuration of the present invention.
処理1においては、投入されるジョブが既に投入され
た入替え対象ジョブの内容を変更するための再投入ジョ
ブであることを認識させ、かつ前記入替え対象ジョブを
認識させる専用制御文を追加したJCLで生成された再投
入ジョブが投入される。In processing 1, the JCL that recognizes that the job to be submitted is a resubmission job for changing the content of the replacement target job that has already been submitted, and adds a dedicated control statement that recognizes the replacement target job The re-submission job generated in step is submitted.
処理2においては、投入されたジョブのJCLを解釈
し、投入されたジョブが既に投入された入替え対象ジョ
ブの内容を変更するための再投入ジョブであるか否かを
判定し、再投入ジョブである場合はその入替え対象ジョ
ブが実行待ち状態である場合には、再投入ジョブにその
入替え対象ジョブの処理システム内の実行資格を継続さ
せて実行待ち状態とする処理が行われる。In the process 2, the JCL of the input job is interpreted, and it is determined whether or not the input job is a reinput job for changing the content of the job to be replaced which has already been input. In some cases, if the replacement target job is in an execution waiting state, a process is performed in which the resubmission job continues its execution qualification in the processing system for the replacement target job to be in an execution waiting state.
先に投入された入替え対象ジョブの内容を変更する必
要が生じた場合は、投入されるジョブが入替え対象ジョ
ブの内容を変更するための再投入ジョブであることを認
識させ、かつ前記入替え対象ジョブを認識させる専用制
御文を追加したJCLで生成された再投入ジョブが処理シ
ステムに投入される(処理1)。If it is necessary to change the content of the job to be replaced earlier, it is recognized that the job to be submitted is a re-submission job for changing the content of the job to be replaced, and The re-submission job generated by the JCL to which the exclusive control statement for recognizing the job is added is submitted to the processing system (Process 1).
処理システムは投入されたジョブのJCLを解釈し、投
入されたジョブが既に投入された入替え対象ジョブの内
容を変更するための再投入ジョブであるか否かを判定
し、再投入ジョブである場合はその入替え対象ジョブが
実行待ち状態である場合には、再投入ジョブにその入替
え対象ジョブの処理システム内の実行資格を継続させて
実行待ち状態とする。The processing system interprets the JCL of the submitted job, determines whether the submitted job is a resubmitted job for changing the content of the already-submitted job to be replaced, and if the job is a resubmitted job. When the replacement target job is in the execution waiting state, the resubmission job keeps the execution qualification of the replacement target job in the processing system and enters the execution waiting state.
以降は、従来方法と同様に入替え対象ジョブに代って
再投入ジョブの実行,出力及びパージの各処理が実行さ
れる。したがって、入替え対象ジョブについての実行,
出力及びパージの各処理は実行されることなく終了し
て、処理システムからパージされる。Thereafter, in the same manner as in the conventional method, the re-execution job execution, output, and purge processes are executed in place of the replacement target job. Therefore, execution of the job to be replaced
Each processing of output and purge ends without being executed, and is purged from the processing system.
以上のようにして、ジョブ投入後にジョブの業務や実
行資源の変更等、ジョブ内容の変更が必要になった場合
には、該ジョブを入替え対象ジョブとして実行待ち状態
において再投入ジョブに入替え対象ジョブの処理システ
ム内の実行資格を継続させることにより、再投入ジョブ
が入替え対象ジョブの実行資格を維持でき、かつ容易に
その内容を変更することができる。また、これにより広
範囲でのジョブの編集が可能となった。更に、入替え対
象ジョブはその後の処理を実行することなく処理システ
ムからパージされるので、入替え対象ジョブについて処
理と課金の無駄を無くすることができる。As described above, if it is necessary to change the job content after the job is submitted, such as a change in the job operation or the execution resource, the job is set as a job to be replaced, and the job to be re-submitted to the re-submission job in the execution waiting state. Continuation of the execution qualification in the processing system, the requalification job can maintain the execution qualification of the job to be replaced, and its contents can be easily changed. In addition, this makes it possible to edit a job in a wide range. Further, since the job to be replaced is purged from the processing system without executing the subsequent processing, it is possible to eliminate waste of processing and charging for the job to be replaced.
本発明の実施例を、第2図〜第4図を参照して説明す
る。第2図は本発明の一実施例におけるジョブ処理の全
体の流れの説明図、第3図は同実施例の実行待ち行列の
説明図、第4図は同実施例のJCL解釈制御ルーチンの処
理フローチャートである。An embodiment of the present invention will be described with reference to FIGS. FIG. 2 is an explanatory diagram of the overall flow of job processing in one embodiment of the present invention, FIG. 3 is an explanatory diagram of an execution queue of the embodiment, and FIG. 4 is a process of a JCL interpretation control routine of the embodiment. It is a flowchart.
(A)ジョブ処理の全体の流れ 第2図において、111,112等はジョブで、各ジョブの
内容は、JCL及びSYSINデータで生成される。ジョブが入
替え対象ジョブの内容を変更するための再投入ジョブで
ある場合、再投入ジョブであることと入替え対象ジョブ
とを認識させる専用の制御文がJCLに新規に追加され
る。(A) Overall Flow of Job Processing In FIG. 2, 11 1 , 11 2, etc. are jobs, and the contents of each job are generated by JCL and SYSIN data. If the job is a resubmission job for changing the contents of the replacement target job, a new control statement for recognizing the resubmission job and the replacement target job is newly added to the JCL.
この専用制御文として、例えば、次のような制御文が
用いられる。For example, the following control statement is used as the dedicated control statement.
再投入ジョブの専用制御文の例 最初の“/*RELOCATE"は、投入されたジョブが再投
入ジョブであることを示す。次の“JOBID=JOBnnnn"
は、ジョブID(JOBID:処理システム内の識別子)がJOBn
nnn(nnnnは識別番号)であることを示す。“LOBN=ジ
ョブ名”(JOBN)が右側に具体的に示される名称である
ことを示す。JOBIDとJOBNの両者で、入替え対象ジョブ
が指示される。 Example of dedicated control statement for resubmitted job The first "/ * RELOCATE" indicates that the submitted job is a resubmitted job. Next “JOBID = JOBnnnn”
Indicates that the job ID (JOBID: identifier in the processing system) is JOBn
nnn (nnnn is an identification number). “LOBN = job name” (JOBN) is a name specifically shown on the right side. The job to be replaced is designated by both JOBID and JOBN.
なお、この専用制御文の指示形式は、システムのジョ
ブ管理形式に対応してそれぞれ異なった形式のものが用
いられる。Note that the instruction format of the dedicated control statement has a different format corresponding to the job management format of the system.
12は入力処理ルーチンで、入力制御ルーチン121及びJ
CL解釈制御ルーチン122からなり、ジョブの読込み、登
録及び再投入ジョブ処理を行う。An input processing routine 12 is an input control routine 121 and J
It comprises a CL interpretation control routine 122, which performs job reading, registration and resubmission job processing.
入力制御ルーチン121は、ジョブの読込み及びジョブ
制御文の解析を行う。JCL解釈制御ルーチン122は、JCL
を解釈し、各ジョブの登録処理及び再投入ジョブ処理を
行う。The input control routine 121 reads a job and analyzes a job control statement. The JCL interpretation control routine 122
Is interpreted, and registration processing and re-submission job processing of each job are performed.
13は、実行待ち行列で、処理の実行を待つ各ジョブの
ジョブ管理情報が格納される。An execution queue 13 stores job management information of each job waiting to be executed.
第3図は、実行待ち行列の一例を示したものである。
ジョブクラスAはジョブJA1〜JA4が実行待ち状態にあ
り、ジョブクラスBにはジョブJB1〜JB4が実行待ち状態
にあり、以下同様にしてジョブクラスQにはジョブJQ1
及びJQ2が実行待ち状態にある。ジョブJB3は、次の動作
説明の項で説明するように再投入ジョブの入替え対象ジ
ョブとなるものである。各クラスでは先頭(左端)のジ
ョブの取り出し条件が最も大きく、取り出し条件の大き
い順に処理が実行される。新規のジョブの取出し条件は
最も小さく、ジョブクラスBのジョブJB5で例示するよ
うに、そのジョブクラスの最後尾(右端)に登録され
る。FIG. 3 shows an example of the execution queue.
Job class A is the job JA 1 ~JA 4 is the execution wait job class B of interest job JB 1 ~JB 4 is the execution wait, similar to the job JQ 1 to job classes Q by less
And JQ 2 are waiting for execution. Job JB 3 is to be the replacement target job reintroduction job as described in the section next operation explanation. In each class, the retrieval condition of the first (leftmost) job is the largest, and processing is executed in descending order of the retrieval condition. Extraction conditions of the new job is the smallest, as illustrated by the job JB 5 job class B, are registered at the end (right end) of the job class.
14は実行処理ルーチンで、所定のジョブクラスから取
出し条件の最も高いジョブを取り出して、そのジョブス
テップを順番に実行する。Reference numeral 14 denotes an execution processing routine for extracting a job having the highest extraction condition from a predetermined job class and sequentially executing the job steps.
15は出力処理ルーチンで、ジョブの実行結果の出力処
理を行う。Reference numeral 15 denotes an output processing routine which performs output processing of a job execution result.
16はパージ処理ルーチンで、処理が終了したジョブが
使用していたスプールスペースや実行待ち行列スペース
等のすべての資源を解放し、ジョブを処理システムから
パージする。Reference numeral 16 denotes a purge processing routine which releases all resources such as a spool space and an execution queue space used by the processed job and purges the job from the processing system.
17はスプールで、各ジョブのJCLやSYSINデータが格納
される。Reference numeral 17 denotes a spool which stores JCL and SYSIN data of each job.
これらのルーチンにおいて、入力処理ルーチン12,実
行待ち行列13,出力ルーチン15及びパージルーチン16は
入力サブシステム(JES)を構成する。In these routines, the input processing routine 12, the execution queue 13, the output routine 15, and the purge routine 16 constitute an input subsystem (JES).
(B)実施例の動作 実施例の動作を、第2図及び第3図を参照して説明す
る。(B) Operation of Embodiment The operation of the embodiment will be described with reference to FIGS. 2 and 3. FIG.
1つのジョブが入力サブシステムJESに投入される
と、入力処理ルーチン12の入力制御ルーチン121はジョ
ブの読込みを行い、そのジョブ制御文の解析を行ってそ
のJCL及びSYSINデータをスプール17に格納するととも
に、JCLをJCL解釈制御ルーチン122に送る。When one job is submitted to the input subsystem JES, the input control routine 121 of the input processing routine 12 reads the job, analyzes the job control statement, and stores the JCL and SYSIN data in the spool 17. At the same time, the JCL is sent to the JCL interpretation control routine 122.
次に、第4図の処理フローチャートを参照し、そのス
テップに従って、JCL解釈制御ルーチン122の行う処理内
容について説明する。Next, the contents of the processing performed by the JCL interpretation control routine 122 will be described according to the steps with reference to the processing flowchart of FIG.
ステップS1 JCLを解釈し、再投入ジョブ用の専用制御文(前掲の
“/*RELOCATE"の有無により、投入ジョブが先に投入
されたジョブ(入替え対象ジョブ)の内容を変更するた
めの再投入ジョブであるかを判定する。再投入ジョブ用
の専用制御文が無いときは、通常のジョブとしてステッ
プS5の処理を行う。Step S 1 interprets JCL, the presence or absence of a dedicated control statements for cycling job (supra "/ * RELOCATE", re for changing the contents of the job-on job is applied first (interchange target job) It determines whether the charged job. when dedicated control statements for cycling there is no job, the process of step S 5 as a normal job.
ステップS2 ステップS1において再投入ジョブ用の専用制御文があ
るときは、再投入ジョブであると判定し、専用制御文の
指示する入替え対象ジョブのシステム内識別子及びジョ
ブ名から、実行待ち状態にある各ジョブ中に所望の入替
え対象ジョブが存在するか判定する。存在しない場合に
は、通常のジョブとしてステップS5の処理に移る。When there is a dedicated control statements for cycling job in step S 2 Step S 1, determines that the reintroduction job, from system identifier and a job name of replacement target job that instructs the dedicated control statements, execution wait It is determined whether or not a desired job to be replaced exists among the jobs in. If not, it proceeds to processing in step S 5 as a normal job.
ステップS3 ステップS2において入替え対象ジョブが存在した場合
は、入替え対象ジョブの実行資格を再投入ジョブにマー
ジ(merge)し、入替え対象ジョブの実行資格を再投入
ジョブに継続させて実行待ち行列13に登録する。Step S 3 If replacement target job at step S 2 exists, merge (merge) the reintroduction job execution qualified replacement target job, replacement target job execution qualifications reintroduction job waiting for execution by continuous matrix Register to 13.
例えば、入替え対象ジョブが第3図の実行待ち行列13
中のジョブクラスBのジョブJB3であるとすると、再投
入ジョブは、入替え対象ジョブJB3の実行資格を継続し
て、ジョブJB3の位置に登録される(ジョブクラスBの
新規ジョブの場合は、最後端(右端)のジョブJB5の位
置に登録される)。For example, the job to be replaced is the execution queue 13 shown in FIG.
Assuming that the job JB 3 belongs to the middle job class B, the re-submission job continues to be executed for the replacement target job JB 3 and is registered at the position of the job JB 3 (in the case of a new job of the job class B, It is registered to the position of the job JB 5 tail end (right end)).
ステップS4 再投入ジョブの登録処理が終了すると、入替え対象ジ
ョブのスプールスペースを解放し、入替え対象ジョブを
処理システムからパージする。Step S 4 registration processing reintroduction job ends, releases the spool space replacement target job, to purge the replacement target job from the processing system.
ステップS5,S6 前述のステップS1〜S3の処理を経たジョブが再投入ジ
ョブであるかどうか判別する(ステップS5)。再投入ジ
ョブである場合は、実行処理ルーチン14に移行する。Step S 5, S 6 process a job having undergone the above steps S 1 to S 3 is to determine whether a cycling job (Step S 5). If the job is a re-submission job, the process proceeds to the execution processing routine 14.
再投入ジョブでない場合は、新規ジョブとして登録す
る処理が行われ(ステップS5)、その後、実行処理ルー
チン15に移行する。If not turned on again job, processing of registering as a new job is performed (step S 5), then proceeds to execute the processing routine 15.
例えば、ジョブがクラスBの新規ジョブの場合は、第
3図の場合、ジョブクラスBの最後端(右端)のジョブ
JB5の位置に登録される。For example, if the job is a new job of class B, the job at the end (right end) of job class B in FIG.
Registered at the location of JB 5 .
以上の入力処理ルーチン12の処理が終了すると。従来
方式と同様に、実行処理,出力処理及びパージ処理の各
ルーチンが行われる。When the processing of the above input processing routine 12 ends. As in the conventional system, execution processing, output processing, and purge processing are performed.
すなわち、実行処理ルーチン14は、その開始プログラ
ムの指示するジョブクラス(ジョブクラスBとする)か
ら最も取出し条件の大きい(例えば優先順位の最も高
い)ジョブ(JB1とする)を実行待ち行列23より取り出
し、ジョブJB1のジョブの実行に必要な入出力装置等の
資源の割振りを行った後、スプール17からジョブJB1のJ
CL及びSYSINデータを取り出してそのジョブステップを
順番に実行する。In other words, the execution processing routine 14 assigns the job (JB 1 ) having the highest extraction condition (for example, the highest priority) from the job class (JB 1 ) indicated by the start program to the execution queue 23. extraction, after the allocation of resources of the input and output devices and the like necessary for execution of the job the job JB 1, the spool 17 of the job JB 1 J
Retrieve CL and SYSIN data and execute the job steps in order.
ジョブJB1の処理が終了すると、出力処理ルーチン15
により出力データの書出しが行われる。出力データは一
旦スプール17に格納され、そのジョブ管理情報が出力待
ち行列(図示せず)に入れられた後、順番に取り出され
て所定の出力装置に書き出される。When the processing of job JB 1 is completed, output processing routine 15
Output data is written. The output data is temporarily stored in the spool 17, the job management information is put into an output queue (not shown), and is sequentially taken out and written out to a predetermined output device.
ジョブJB1のすべての出力処理を終了すると、ジョブJ
B1が使用していたスプールスペースや実行待ち行列,出
力待ち行列の各スペース等のすべての資源を解放し、ジ
ョブJB1を処理システムからパージする。When all output processing of job JB 1 is completed,
B 1 is the spool space and run queue has been used, and releases any resources of each space and the output queue, to purge the job JB 1 from the processing system.
以上説明したように、本発明によれば次の諸効果が得
られる。As described above, according to the present invention, the following effects can be obtained.
(1) 実行待ち状態において、再投入ジョブに入替え
対象ジョブの処理システム内の実行資格を継続させるこ
とにより、再投入ジョブが入替え対象ジョブの実行資格
を維持でき、かつ容易に入替え対象ジョブの内容を変更
することができる。また、これにより、広範囲でのジョ
ブの編集が可能となった。(1) In the execution waiting state, by continuing the execution qualification in the processing system of the job to be replaced with the job to be replaced, the job to be replaced can maintain the execution qualification of the job to be replaced, and the content of the job to be replaced easily. Can be changed. In addition, this makes it possible to edit a job in a wide range.
(2) 入替え対象ジョブは、その後の処理を実行する
ことなく処理システムからパージされるので、入替え対
象ジョブについての処理と課金の無駄を無くすることが
できる。(2) Since the job to be replaced is purged from the processing system without executing the subsequent processing, it is possible to eliminate waste of processing and charging for the job to be replaced.
第1図は、本発明の基本構成の説明図、 第2図は、本発明の一実施例におけるジョブ処理の全体
の流れの説明図、 第3図は、同実施例の実行待ち行列の説明図、 第4図は、同実施例のJCL解釈・制御ルーチンの処理フ
ローチャート、 第5図は、従来のジョブ管理方式におけるジョブ処理の
全体の流れの説明図、 第6図は、従来のジョブ管理方式の動作説明図である。 第1図及び第2図において、 11(111,112等)……ジョブ、12……入力処理ルーチ
ン、121……入力制御ルーチン、122……JCL解釈・制御
ルーチン、13……実行待ち行列、14……実行処理ルーチ
ン、15……出力処理ルーチン、16……パージ処理ルーチ
ン、17……スプール。FIG. 1 is an explanatory diagram of a basic configuration of the present invention, FIG. 2 is an explanatory diagram of an overall flow of job processing in one embodiment of the present invention, and FIG. 3 is an explanation of an execution queue of the embodiment. FIG. 4 is a processing flowchart of a JCL interpretation / control routine of the embodiment. FIG. 5 is an explanatory diagram of the entire flow of job processing in the conventional job management method. FIG. 6 is a conventional job management method. It is operation | movement explanatory drawing of a system. In FIG. 1 and FIG. 2, 11 (11 1 , 11 2 etc.): job, 12: input processing routine, 121: input control routine, 122: JCL interpretation / control routine, 13: waiting for execution Matrix, 14 execution processing routine, 15 output processing routine, 16 purge processing routine, 17 spool.
Claims (1)
ジョブの内容を変更する場合のジョブ管理方法におい
て、 投入されたジョブのジョブ制御文を解釈し、投入された
ジョブが既に投入された入替え対象ジョブの内容を変更
するための再投入ジョブであるか否かを判定し、再投入
ジョブである場合はその入替え対象ジョブが実行待ち状
態である場合には、再投入ジョブにその入替え対象ジョ
ブの処理システム内の実行資格を継続させて実行待ち状
態とする、 ことを特徴とするジョブ管理方法。In a job management method for changing the contents of a job in an execution waiting state after the job is input, a job control statement of the input job is interpreted, and the input job is replaced. Determines whether the job is a resubmission job to change the job contents. If the resubmission job is the job to be replaced, and if the job to be replaced is in a waiting state, the resubmission job A job management method, wherein the execution qualification in the processing system is continued to be in an execution waiting state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62312138A JP2575761B2 (en) | 1987-12-11 | 1987-12-11 | Job management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62312138A JP2575761B2 (en) | 1987-12-11 | 1987-12-11 | Job management method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01154235A JPH01154235A (en) | 1989-06-16 |
| JP2575761B2 true JP2575761B2 (en) | 1997-01-29 |
Family
ID=18025712
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62312138A Expired - Fee Related JP2575761B2 (en) | 1987-12-11 | 1987-12-11 | Job management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2575761B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2741994B2 (en) * | 1992-08-28 | 1998-04-22 | 富士通株式会社 | Processing apparatus having job environment dynamic change function and processing method |
-
1987
- 1987-12-11 JP JP62312138A patent/JP2575761B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01154235A (en) | 1989-06-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9870252B2 (en) | Multi-threaded processing with reduced context switching | |
| WO1993009492A2 (en) | Out of order job processing method and apparatus | |
| US20030005022A1 (en) | Methods and apparatus for implementing a progress reporting interface | |
| JPH08286932A (en) | Parallel execution control method for jobs | |
| JP2575761B2 (en) | Job management method | |
| JPS63231613A (en) | Command setting method | |
| JPH11305998A (en) | Computer system | |
| CN118277064B (en) | Picture processing method and device, storage medium and electronic equipment | |
| JPH0895810A (en) | Batch job execution system | |
| JP2001101310A (en) | Prior work method of workflow system | |
| CN117273881A (en) | Universal method and device for operating trace by using message queue asynchronization | |
| JP3559581B2 (en) | Job execution control method | |
| JP2001166956A (en) | Job scheduling method in complex system | |
| JPH0659913A (en) | Batch job scheduling system | |
| CN117609160A (en) | Distributed importing method and system based on PPT | |
| CN85104907B (en) | Hierarchical multiprocessor system and control method thereof | |
| JPH0221329A (en) | Report output system | |
| JP3931883B2 (en) | Job scheduling method, computer system, and job scheduling program | |
| EP0222443A2 (en) | Multiprocess computer and method for operating same | |
| JPH09167142A (en) | Job dispatch device for parallel computer system | |
| CN114706701A (en) | Input/output request detection method, apparatus, device and medium | |
| JPH0634618A (en) | Chromatograph data processor | |
| JPS58165126A (en) | Output controlling system of related job group | |
| JPH05313916A (en) | Interrupt processing method in electronic computer and electronic computer | |
| JPH02257337A (en) | Emergency job resource allocation system by temporary holding of general job |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |