JP2000172515A - System and method for resource priority allocation and recording medium where resource priority allocating program is recorded - Google Patents

System and method for resource priority allocation and recording medium where resource priority allocating program is recorded

Info

Publication number
JP2000172515A
JP2000172515A JP11242077A JP24207799A JP2000172515A JP 2000172515 A JP2000172515 A JP 2000172515A JP 11242077 A JP11242077 A JP 11242077A JP 24207799 A JP24207799 A JP 24207799A JP 2000172515 A JP2000172515 A JP 2000172515A
Authority
JP
Japan
Prior art keywords
resource
job
allocated
release
released
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
JP11242077A
Other languages
Japanese (ja)
Inventor
Mitsuru Ando
充 安藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP11242077A priority Critical patent/JP2000172515A/en
Publication of JP2000172515A publication Critical patent/JP2000172515A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To allocate resources preferentially from a job or step having high priority of resource allocation. SOLUTION: A resource allocating means 31 allocates resources to a job and a step 20 at a resource allocation request and suspends the resource allocation when resources are already allocated. A step end means 23 and a job end means 24 receive a step end notice and a job end notice and make a request to release step resources and job resources which are allocated to the step 20 and job. A resource releasing means 32 releases the specified resources at a resource release request and informs the resource allocating means 31 for the job with top allocation priority of the releasing of the resources when jobs waiting for releasing of the released resources are present and resets the wait for the resources.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は資源優先割り当て方
式、資源優先割り当て方法および資源優先割り当てプロ
グラムを記録した記録媒体に関し、特にジョブを実行す
るオペレーティングシステムにおいて、優先度の高いジ
ョブまたはステップに資源を優先的に割り当てる資源優
先割り当て方式、資源優先割り当て方法および資源優先
割り当てプログラムを記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a resource priority assignment method, a resource priority assignment method, and a recording medium on which a resource priority assignment program is recorded. The present invention relates to a resource priority allocation method, a resource priority allocation method, and a recording medium that records a resource priority allocation program.

【0002】[0002]

【従来の技術】従来の資源優先割り当て方式の一例が、
特開平03−288235号公報に記載されている。こ
の従来の資源優先割り当て方式は、複数のプログラム間
あるいは複数のタスク間で同一の資源に対して資源の待
ちが発生した場合には、割り当て優先度が高いものから
優先的に当該資源を割り当てていく技術である。
2. Description of the Related Art An example of a conventional resource priority allocation method is as follows.
It is described in JP-A-03-288235. In this conventional resource priority allocation method, when a resource waits for the same resource among a plurality of programs or a plurality of tasks, the resource is allocated with a higher priority in priority. It is a technique that goes.

【0003】また、従来の資源優先割り当て方式の他の
例が、特開平03−51920号公報に記載されてい
る。この従来の資源優先割り当て方式は、複数のジョブ
による資源の競合が発生した場合には、ジョブの実行ク
ラスが高いものから優先的に競合した当該資源を割り当
てていく技術である。
[0003] Another example of the conventional resource priority allocation system is described in Japanese Patent Application Laid-Open No. 03-51920. This conventional resource priority allocation method is a technique in which, when a resource conflict occurs between a plurality of jobs, the resource that has a higher priority is assigned to the resource with the highest execution class.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、これら
の従来の技術には、資源の割り当ては、当該資源を使用
しているジョブが終了する時点で行われるため、ジョブ
を緊急に実行させたい場合においても、当該ジョブが他
のジョブで使用している資源を使用する場合には、当該
他のジョブが終了して当該資源を解放するまで待ち合わ
せなければならないという問題点があった。
However, according to these conventional techniques, resources are allocated when a job using the resources ends, so that when a job is to be executed urgently, However, when the job uses a resource used by another job, there is a problem that it is necessary to wait until the other job ends and releases the resource.

【0005】本発明の目的は、資源を使用している他の
ジョブの終了を待ちあわせなくても、当該資源をジョブ
に割り当てることができる資源優先割り当て方式を提供
することにある。
[0005] It is an object of the present invention to provide a resource priority allocation system which can allocate a resource to a job without waiting for the end of another job using the resource.

【0006】[0006]

【課題を解決するための手段】本発明の第1の資源優先
割り当て方式は、複数のステップを含むジョブの実行を
制御するオペレーティングシステムにおいて、前記ステ
ップの開始時に、当該ステップが使用する資源を割り当
てることができる場合は当該資源を当該ステップに割り
当て、当該資源がすでに他のジョブまたはステップに割
り当てられていて当該資源を当該ステップに割り当てる
ことができない場合には当該資源を当該ステップに割り
当てずに、当該資源を解放した旨が通知されるのを待ち
合わせ、当該通知を受信した時点で当該資源を当該ステ
ップに割り当てる資源割り当て手段を備えたことを特徴
とする。
According to a first resource priority allocation method of the present invention, in an operating system for controlling execution of a job including a plurality of steps, a resource used by the step is allocated at the start of the step. If it is possible to assign the resource to the step, and if the resource is already assigned to another job or step and cannot assign the resource to the step, do not assign the resource to the step. There is provided a resource allocating unit that waits for a notification that the resource has been released, and allocates the resource to the step when the notification is received.

【0007】本発明の第2の資源優先割り当て方式は、
第1の資源優先割り当て方式において、前記資源割り当
て手段は、さらに、前記通知を待ち合わせているステッ
プが複数ある場合には、当該複数のステップの中で最も
優先度の高いステップに前記資源を割り当てることを特
徴とする。
[0007] A second resource priority allocation method according to the present invention is as follows.
In the first resource priority assignment method, when there are a plurality of steps waiting for the notification, the resource assignment means assigns the resource to the highest priority step among the plurality of steps. It is characterized by.

【0008】本発明の第3の資源優先割り当て方式は、
第1または2の資源優先割り当て方式において、前記資
源優先割り当て方式は、さらに、前記ステップの終了時
に、当該ステップに割り当てられていた資源を解放する
とともに、当該資源を解放した旨を前記資源割り当て手
段に通知する資源解放手段を備えたことを特徴とする。
[0008] A third resource priority allocation method of the present invention is as follows.
In the first or second resource priority allocation method, the resource priority allocation method further includes, at the end of the step, releasing the resource allocated to the step and indicating that the resource has been released by the resource allocation unit. And a resource release unit for notifying the user.

【0009】本発明の第4の資源優先割り当て方式は、
第3の資源優先割り当て方式において、前記資源優先割
り当て方式は、さらに、前記ステップの終了時に、当該
ステップを含むジョブにすでに割り当てられている資源
を待ち合わせている、当該ジョブよりも優先度が高い他
のジョブのステップが存在し、かつ当該ジョブが資源の
一時的な解放を認める場合には、当該資源の解放要求を
前記資源解放手段へ送信する資源一時解放要求手段を備
え、前記資源解放手段は、前記解放要求を受信して前記
ジョブに割り当てられている前記資源を解放することを
特徴とする。
[0009] A fourth resource priority allocation method of the present invention is as follows.
In the third resource priority assignment method, the resource priority assignment method further includes, at the end of the step, waiting for a resource already assigned to a job including the step, the resource having a higher priority than the job. If there is a step of the job and the job permits temporary release of the resource, the resource release unit includes a resource temporary release request unit for transmitting a resource release request to the resource release unit. Receiving the release request and releasing the resources allocated to the job.

【0010】本発明の第1の資源優先割り当て方法は、
オペレーティングシステムにおいて、ジョブに含まれる
ステップの開始時に、当該ステップが使用する資源を割
り当てることができる場合は当該資源を当該ステップに
割り当て、当該資源がすでに他のジョブまたはステップ
に割り当てられていて当該資源を当該ステップに割り当
てることができない場合には当該資源を当該ステップに
割り当てずに、当該資源を解放した旨が通知されるのを
待ち合わせ、当該通知を受信した時点で当該資源を当該
ステップに割り当てることを特徴とする。
[0010] A first resource priority allocation method according to the present invention comprises:
In the operating system, at the start of a step included in a job, if the resource used by the step can be allocated, the resource is allocated to the step, and the resource has already been allocated to another job or step. If the resource cannot be allocated to the step, do not allocate the resource to the step, wait for the notification that the resource has been released, and allocate the resource to the step when the notification is received. It is characterized by.

【0011】本発明の第2の資源優先割り当て方法は、
オペレーティングシステムにおいて、他のジョブまたは
ステップに割り当てられている資源が解放されるのを待
ち合わせている複数のステップがある場合に、当該資源
を解放した旨が通知された時点で当該複数のステップの
中で最も優先度の高いステップに当該資源を割り当てる
ことを特徴とする。
[0011] A second resource priority allocation method according to the present invention comprises:
In the operating system, when there are a plurality of steps awaiting release of a resource allocated to another job or step, the plurality of steps are notified when the release of the resource is notified. And assigning the resource to the step having the highest priority.

【0012】本発明の第3の資源優先割り当て方法は、
オペレーティングシステムにおいて、ジョブに含まれる
ステップの開始時に、当該ステップが使用する資源を割
り当てることができる場合は当該資源を当該ステップに
割り当て、当該資源がすでに他のジョブまたはステップ
に割り当てられていて当該資源を当該ステップに割り当
てることができない場合には当該資源を当該ステップに
割り当てずに、当該資源が解放されるのを待ち合わせ、
前記資源を解放し、さらに前記資源が解放された後に当
該資源を前記ステップに割り当てることを特徴とする。
[0012] A third resource priority allocation method of the present invention comprises:
In the operating system, at the start of a step included in a job, if the resource used by the step can be allocated, the resource is allocated to the step, and the resource has already been allocated to another job or step. If the resource cannot be allocated to the step, the resource is not allocated to the step, and awaiting the release of the resource,
Releasing the resource, and allocating the resource to the step after the resource is released.

【0013】本発明の第4の資源優先割り当て方法は、
オペレーティングシステムにおいて、ステップの終了時
に、当該ステップを含むジョブにすでに割り当てられて
いる資源を待ち合わせている、当該ジョブよりも優先度
が高い他のジョブのステップが存在し、かつ当該ジョブ
が資源の一時的な解放を認める場合には、当該資源の解
放を要求し、前記資源の解放が要求された場合に前記ジ
ョブに割り当てられている前記資源を解放し、前記資源
が解放された後に、当該資源が解放されるのを待ち合わ
せている前記他のジョブまたはステップに当該資源を割
り当てることを特徴とする。
[0013] A fourth resource priority allocation method according to the present invention comprises:
At the end of the step, at the end of the step, there is another job step with a higher priority than the job waiting for resources already assigned to the job containing the step, and the job is temporarily If the release of the resource is requested, the resource allocated to the job is released when the release of the resource is requested, and after the resource is released, the resource is released. The resource is allocated to the other job or step waiting for the release of the job.

【0014】本発明の第1の記録媒体は、ジョブに含ま
れるステップの開始時に、当該ステップが使用する資源
を割り当てることができる場合は当該資源を当該ステッ
プに割り当て、当該資源がすでに他のジョブまたはステ
ップに割り当てられていて当該資源を当該ステップに割
り当てることができない場合には当該資源を当該ステッ
プに割り当てずに、当該資源を解放した旨が通知される
のを待ち合わせ、当該通知を受信した時点で当該資源を
当該ステップに割り当てる処理をコンピュータに行わせ
るプログラムを記録したことを特徴とする。
According to the first recording medium of the present invention, at the start of a step included in a job, if a resource used by the step can be allocated, the resource is allocated to the step, and the resource is already allocated to another job. Or, if the resource is assigned to a step and the resource cannot be assigned to the step, the resource is not assigned to the step and the system waits for notification that the resource has been released and receives the notification. And recording a program for causing a computer to perform a process of allocating the resource to the step.

【0015】本発明の第2の記録媒体は、他のジョブま
たはステップに割り当てられている資源が解放されるの
を待ち合わせている複数のステップがある場合に、当該
資源を解放した旨が通知された時点で当該複数のステッ
プの中で最も優先度の高いステップに当該資源を割り当
てる処理をコンピュータに行わせるプログラムを記録し
たことを特徴とする。
According to the second recording medium of the present invention, when there are a plurality of steps waiting for the release of the resources allocated to another job or step, it is notified that the resources have been released. At the point in time, a program for causing a computer to perform the process of allocating the resource to the highest priority step among the plurality of steps is recorded.

【0016】本発明の第3の記録媒体は、ジョブに含ま
れるステップの開始時に、当該ステップが使用する資源
を割り当てることができる場合は当該資源を当該ステッ
プに割り当て、当該資源がすでに他のジョブまたはステ
ップに割り当てられていて当該資源を当該ステップに割
り当てることができない場合には当該資源を当該ステッ
プに割り当てずに、当該資源が解放されるのを待ち合わ
せ、前記資源を解放し、さらに前記資源が解放された後
に当該資源を前記ステップに割り当てる処理をコンピュ
ータに行わせるプログラムを記録したことを特徴とす
る。
According to the third recording medium of the present invention, at the start of a step included in a job, if a resource used by the step can be allocated, the resource is allocated to the step, and the resource is already allocated to another job. Or, if the resource is allocated to a step and the resource cannot be allocated to the step, the resource is not allocated to the step, the resource is released, the resource is released, and the resource is released. A program for causing a computer to perform a process of allocating the resource to the step after being released is recorded.

【0017】本発明の第4の記録媒体は、ステップの終
了時に、当該ステップを含むジョブにすでに割り当てら
れている資源を待ち合わせている、当該ジョブよりも優
先度が高い他のジョブのステップが存在し、かつ当該ジ
ョブが資源の一時的な解放を認める場合には、当該資源
の解放を要求し、前記資源の解放が要求された場合に前
記ジョブに割り当てられている前記資源を解放し、前記
資源が解放された後に、当該資源が解放されるのを待ち
合わせている前記他のジョブまたはステップに当該資源
を割り当てる処理をコンピュータに行わせるプログラム
を記録したことを特徴とする。
According to the fourth recording medium of the present invention, at the end of a step, there is a step of another job having a higher priority than that of the job, which is waiting for resources already allocated to the job including the step. Requesting the release of the resource when the job permits temporary release of the resource, and releasing the resource allocated to the job when the release of the resource is requested, After the resource is released, a program for causing a computer to perform a process of allocating the resource to the another job or step waiting for the release of the resource is recorded.

【0018】本発明の第1の記録媒体群は、第1の記録
媒体に記録されている前記プログラムを複数の部分に分
割して当該複数の部分をそれぞれ複数の記録媒体に記録
してなる記録媒体群。
A first recording medium group according to the present invention is a recording medium wherein the program recorded on the first recording medium is divided into a plurality of portions, and the plurality of portions are respectively recorded on a plurality of recording media. Media group.

【0019】本発明の第2の記録媒体群は、第2の記録
媒体に記録されている前記プログラムを複数の部分に分
割して当該複数の部分をそれぞれ複数の記録媒体に記録
してなる記録媒体群。
A second recording medium group according to the present invention is a recording medium in which the program recorded on the second recording medium is divided into a plurality of portions, and the plurality of portions are respectively recorded on a plurality of recording media. Media group.

【0020】本発明の第3の記録媒体群は、第3の記録
媒体のに記録されている前記プログラムを複数の部分に
分割して当該複数の部分をそれぞれ複数の記録媒体に記
録してなる記録媒体群。
A third recording medium group according to the present invention is obtained by dividing the program recorded on the third recording medium into a plurality of portions, and recording the plurality of portions on a plurality of recording media, respectively. Recording media group.

【0021】本発明の第4の記録媒体群は、第4の記録
媒体に記録されている前記プログラムを複数の部分に分
割して当該複数の部分をそれぞれ複数の記録媒体に記録
してなる記録媒体群。
A fourth recording medium group according to the present invention is a recording medium wherein the program recorded on the fourth recording medium is divided into a plurality of portions, and the plurality of portions are respectively recorded on a plurality of recording media. Media group.

【0022】[0022]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0023】図1は、本発明の第1の実施の形態に係る
資源優先割り当て方式の構成を示すブロック図である。
本実施の形態に係る資源優先割り当て方式は、プログラ
ム制御により動作するコンピュータ(中央処理装置;プ
ロセッサ;データ処理装置)100と、そのコンピュー
タ100にジョブの実行を指示するジョブ実行要求11
とから、その主要部が構成されている。
FIG. 1 is a block diagram showing a configuration of a resource priority allocation method according to the first embodiment of the present invention.
In the resource priority allocation method according to the present embodiment, a computer (central processing unit; processor; data processing unit) 100 that operates under program control and a job execution request 11 instructing the computer 100 to execute a job
Thus, the main part is constituted.

【0024】コンピュータ100は、このコンピュータ
100を制御するオペレーティングシステム200と、
利用者が指定したプログラムの実行であるステップ20
とから構成されている。
The computer 100 includes an operating system 200 for controlling the computer 100,
Step 20, which is the execution of the program specified by the user
It is composed of

【0025】オペレーティングシステム200は、ジョ
ブ管理情報10と、資源割り当て管理情報30と、ジョ
ブ実行受付手段12と、ジョブ実行手段13と、ジョブ
開始手段21と、ステップ開始手段22と、ステップ終
了手段23と、ジョブ終了手段24と、ステップ強制終
了手段25と、資源割り当て手段31と、資源解放手段
32とを含む。
The operating system 200 includes job management information 10, resource allocation management information 30, job execution reception means 12, job execution means 13, job start means 21, step start means 22, and step end means 23. , A job termination unit 24, a step forced termination unit 25, a resource allocation unit 31, and a resource release unit 32.

【0026】ジョブ実行要求11は、コンピュータ10
0にこのコンピュータ100の利用者がジョブの実行を
要求したもので、ジョブの実行内容を記述したJCLお
よびそのジョブの属性を示す情報を持つ。本実施の形態
では、このジョブ実行要求11またはJCLのいずれか
に緊急ジョブであることを指定可能とする。
The job execution request 11 is sent to the computer 10
0 indicates that the user of the computer 100 has requested the execution of the job, and has a JCL describing the execution contents of the job and information indicating the attribute of the job. In the present embodiment, it is possible to designate an urgent job in either the job execution request 11 or the JCL.

【0027】また、JCLには、実行するプログラムの
指定やプログラムの実行時に必要な資源の指定を行う制
御文を含む。本実施の形態では、ジョブが使用する資源
またはステップが使用する資源の割り当てを指示する制
御文に、資源の割り当て優先度や、ジョブ資源の一時解
放を許すか否か、および一時解放した場合のジョブの動
作を指定可能とする。
The JCL includes a control statement for designating a program to be executed and resources necessary for executing the program. In the present embodiment, the control statement instructing the allocation of the resource used by the job or the resource used by the step includes the priority of resource allocation, whether or not to permit temporary release of the job resource, and the Job operation can be specified.

【0028】ジョブ実行受付手段12は、利用者からの
ジョブ実行要求11を受け付け、ジョブ管理情報10
に、ジョブ識別番号,ジョブ投入者名,ジョブスケジュ
ールクラス,ジョブスケジュール優先度,資源制限値な
どを格納する。このとき、ジョブ実行要求11またはそ
のジョブ実行要求11で指示されたJCLに、緊急ジョ
ブの指定がある場合には、ジョブ実行受付手段12は、
ジョブ管理情報10の緊急ジョブフラグをONにセット
する。
The job execution receiving means 12 receives a job execution request 11 from a user, and
, A job identification number, a job submitter name, a job schedule class, a job schedule priority, a resource limit value, and the like. At this time, if the urgent job is specified in the job execution request 11 or the JCL specified by the job execution request 11, the job execution receiving unit 12
The urgent job flag of the job management information 10 is set to ON.

【0029】ジョブ実行手段13は、ジョブ実行受付手
段12からの新たなジョブの発生通知,ジョブ終了手段
24からのジョブ終了通知などを契機として、ジョブ管
理情報10から未実行で実行可能なジョブが存在するか
否かを検索する。実行可能なジョブが存在する場合は、
ジョブ実行手段13は、ジョブ開始手段21に該当ジョ
ブの実行を要求する。
The job execution means 13 generates an unexecutable job from the job management information 10 in response to a new job occurrence notification from the job execution reception means 12, a job end notification from the job end means 24, or the like. Search for the existence. If there is an executable job,
The job execution unit 13 requests the job start unit 21 to execute the job.

【0030】ジョブ開始手段21は、JCLに記述され
た該当ジョブのジョブ資源の割り当てを資源割り当て手
段31に要求し、ジョブ資源の割り当て完了後、ステッ
プ開始手段22にステップ20の開始を要求する。
The job starting means 21 requests the resource allocating means 31 to allocate the job resources of the corresponding job described in the JCL, and requests the step starting means 22 to start step 20 after the job resource allocation is completed.

【0031】ステップ開始手段22は、JCLに記述さ
れた該当ジョブのステップ20のステップ資源の割り当
てを資源割り当て手段31に要求し、ステップ資源の割
り当て完了後、該当ジョブのステップ20を起動する。
The step starting means 22 requests the resource allocating means 31 to allocate the step resource of the step 20 of the job described in the JCL, and activates the step 20 of the job after the step resource allocation is completed.

【0032】ステップ終了手段23は、ステップ20の
終了通知を受信して、ステップ20に割り当てられてい
たステップ資源の解放を資源解放手段32に要求し、ス
テップ資源の解放後、JCLを検索して、継続すべきス
テップ20が存在する場合はステップ開始手段22に次
のステップ20の開始を要求し、継続すべきステップ2
0が存在しない場合はジョブ終了手段24にジョブの終
了を要求する。
The step ending means 23 receives the end notification of the step 20, requests the resource releasing means 32 to release the step resources allocated to the step 20, and searches the JCL after releasing the step resources. If there is a step 20 to be continued, a request is made to the step start means 22 to start the next step 20, and a step 2 to be continued
If 0 does not exist, the job termination unit 24 is requested to terminate the job.

【0033】ジョブ終了手段24は、該当ジョブに割り
当てられていたジョブ資源の解放を資源解放手段32に
要求し、ジョブ資源の解放後にジョブ実行手段13にジ
ョブの終了を通知する。
The job termination unit 24 requests the resource release unit 32 to release the job resources allocated to the job, and notifies the job execution unit 13 of the end of the job after releasing the job resources.

【0034】ステップ強制終了手段25は、資源割り当
て手段31からの要求に基づいて指定されたステップ2
0を強制的に異常終了させる。
The step forcibly terminating unit 25 is a step 2 designated based on a request from the resource allocating unit 31.
0 is forcibly terminated abnormally.

【0035】資源割り当て手段31は、指定された資源
のジョブ識別番号,外部資源名,内部資源名,割り当て
範囲,割り当て方式等を資源割り当て管理情報30にセ
ットし、資源が使用可能な場合はその資源を確保し、資
源割り当て管理情報30の使用中フラグをONにセット
する。資源が使用不可の場合は、資源割り当て管理情報
30の待ち合わせ中フラグをONにセットするととも
に、既に確保済みの資源がある場合には、当該資源の使
用中フラグをOFFにリセットして当該資源を解放する
ことを要求する。
The resource allocation means 31 sets the job identification number, the external resource name, the internal resource name, the allocation range, the allocation method, and the like of the specified resource in the resource allocation management information 30. The resources are secured, and the busy flag of the resource allocation management information 30 is set to ON. If the resource cannot be used, the waiting flag of the resource allocation management information 30 is set to ON. If there is a resource already reserved, the busy flag of the resource is reset to OFF to reset the resource. Request to be released.

【0036】資源解放手段32は、指定された資源の解
放を資源割り当て管理情報30の該当資源のエントリを
削除することにより行い、資源割り当て管理情報30を
検索し、解放した資源の解放を待ち合わせているジョブ
が存在する場合には、資源割り当て管理情報30の割り
当て優先度が最も高いジョブの資源の解放待ちを行って
いる資源割り当て手段31に資源が解放されたことを通
知し、その待ち合わせを解除する。
The resource release means 32 releases the designated resource by deleting the entry of the corresponding resource in the resource allocation management information 30, searches the resource allocation management information 30 and waits for release of the released resource. If a job exists, the resource allocation management unit 30 notifies the resource allocation unit 31 that is waiting for release of the resource of the job having the highest allocation priority in the resource allocation management information 30 that the resource has been released, and releases the waiting. I do.

【0037】図2を参照すると、ジョブ管理情報10
は、その1エントリが、ジョブ識別番号と、ジョブ投入
者名と、ジョブスケジュールクラスと、ジョブスケジュ
ール優先度と、資源制御値と、緊急ジョブフラグとを含
んで構成されている。
Referring to FIG. 2, the job management information 10
Each entry has a job identification number, a job submitter name, a job schedule class, a job schedule priority, a resource control value, and an urgent job flag.

【0038】ジョブ管理情報10は、ジョブの投入時
に、ジョブ実行受付手段12によって、ジョブ実行要求
11の内容およびJCLの指定をもとに作成される。シ
ステム内に存在するジョブは、すべてジョブ管理情報1
0により管理され、1つのジョブに対して1つのエント
リが作成される。他の手段においてジョブの状態や属性
を認識する場合には、ジョブ管理情報10を検索し、該
当ジョブの情報を取得し行う。ジョブ管理情報10は、
ジョブの終了時に、ジョブ終了手段24によって削除さ
れる。
The job management information 10 is created by the job execution receiving means 12 based on the contents of the job execution request 11 and the designation of the JCL when the job is submitted. Jobs existing in the system are all job management information 1
0 and one entry is created for one job. When recognizing the status or attribute of a job by another means, the job management information 10 is searched and information on the job is acquired. The job management information 10 includes
At the end of the job, the job is deleted by the job ending means 24.

【0039】ジョブ識別番号は、このジョブを識別する
ための情報が格納され、ジョブ管理情報10内からの検
索に使用される。システムに投入された全てのジョブに
は、ジョブを一意に識別するための識別情報としてジョ
ブ識別番号が付加される。
The job identification number stores information for identifying the job, and is used for searching the job management information 10. A job identification number is added to every job submitted to the system as identification information for uniquely identifying the job.

【0040】ジョブ投入者名は、そのジョブを投入した
利用者を示す識別名が格納される。
The job submitter name stores an identification name indicating a user who has submitted the job.

【0041】ジョブスケジュールクラスは、ジョブを実
行させるためのどの区分けに属するかを示す情報が格納
される。その区分け毎にジョブのスケジュールの開始お
よび停止や実行多重度の制限等が行われる。
The job schedule class stores information indicating to which category the job is to be executed. The start and stop of a job schedule, the limitation on the number of executions, and the like are performed for each division.

【0042】ジョブスケジュール優先度は、ジョブクラ
ス内でのジョブを開始させる優先度が格納される。
The job schedule priority stores the priority for starting a job in a job class.

【0043】資源制限値は、そのジョブで使用する各種
資源の制限を示す情報が格納される。例えば、CPU
(Central Processing Unit)
の最大使用可能制限値,ジョブの最長実行可能時間,ス
プールファイルの最大使用可能量などが格納される。
The resource limit value stores information indicating the limit of various resources used in the job. For example, CPU
(Central Processing Unit)
The maximum usable limit value, the longest executable time of a job, and the maximum usable amount of a spool file are stored.

【0044】緊急ジョブフラグは、該当ジョブが緊急ジ
ョブか否かを示す情報が格納される。
The urgent job flag stores information indicating whether the job is an urgent job.

【0045】図3を参照すると、資源割り当て情報30
は、その1エントリが、ジョブ識別番号と、外部資源名
と、内部資源名と、割り当て範囲と、割り当て方式と、
割り当て優先度と、一時解放可能フラグと、一時解放時
ジョブ動作と、使用中フラグと、一時解放中フラグと、
待ち合わせ中フラグとを含んで構成されている。
Referring to FIG. 3, resource allocation information 30
Indicates that one entry has a job identification number, an external resource name, an internal resource name, an allocation range, an allocation method,
Assignment priority, temporary release enable flag, temporary release job operation, busy flag, temporary release flag,
And a waiting flag.

【0046】資源割り当て情報30は、ジョブおよびス
テップ20の実行開始時に、資源割り当て手段31によ
り、JCLの資源の割り当て指定文の内容をもとに作成
および参照される。コンピュータ100内で実行中のジ
ョブが使用する資源は、全て資源割り当て情報30によ
り管理され、各ジョブで使用する1つの資源に対して1
つのエントリが作成される。資源割り当て情報30は、
ジョブやステップ20の終了時に、資源解放手段32に
より削除される。
The resource allocation information 30 is created and referenced by the resource allocation means 31 based on the contents of the JCL resource allocation designation statement at the start of execution of the job and step 20. The resources used by the jobs being executed in the computer 100 are all managed by the resource allocation information 30, and one resource is used for each job.
One entry is created. The resource allocation information 30
At the end of the job or step 20, it is deleted by the resource release means 32.

【0047】ジョブ識別番号は、その資源を使用するジ
ョブの識別情報が格納され、ジョブ管理情報10内のジ
ョブ識別番号に対応する。
The job identification number stores the identification information of the job using the resource, and corresponds to the job identification number in the job management information 10.

【0048】外部資源名は、ファイル名などの使用する
資源を識別する情報が格納される。資源割り当て情報3
0を検索する場合には、ジョブ識別番号と外部資源名と
により行う。
The external resource name stores information for identifying a resource to be used, such as a file name. Resource allocation information 3
When searching for 0, the search is performed using the job identification number and the external resource name.

【0049】内部資源名は、該当資源を使用するプログ
ラムで使用する、プログラム内での識別名である。
The internal resource name is an identification name in the program used by the program using the resource.

【0050】割り当て範囲は、該当資源が該当ジョブで
ジョブ資源として割り当てが行われているのか、ステッ
プ資源として割り当てが行われているのかを示す情報、
およびステップ資源の場合には該当するステップ番号が
格納される。
The allocation range includes information indicating whether the relevant resource is allocated as a job resource in the relevant job or whether it is allocated as a step resource.
In the case of a step resource, the corresponding step number is stored.

【0051】割り当て方式は、該当資源が該当ジョブに
対して共有割り当てされるか占有割り当てされるかを示
す情報が格納される。
The allocation method stores information indicating whether the relevant resource is shared or exclusively allocated to the relevant job.

【0052】割り当て優先度は、資源待ちになった場合
に、次にどのジョブに資源を割り当てるか決定するため
の優先度が格納される。
The assignment priority stores the priority for deciding which job is to be assigned the resource next when waiting for a resource.

【0053】一時解放可能フラグは、ジョブ資源として
割り当てられた資源が一時解放可能か否かを示す情報が
格納される。
The temporary release flag stores information indicating whether the resources allocated as job resources can be temporarily released.

【0054】一時解放時ジョブ動作は、ジョブ資源を一
時解放した場合に該当ジョブを実行継続するか異常終了
させるかを示す情報が格納される。
The temporary release job operation stores information indicating whether the job is to be continuously executed or abnormally terminated when the job resource is temporarily released.

【0055】使用中フラグは、該当ジョブが該当資源を
使用中であることを示す情報が格納される。
The in-use flag stores information indicating that the corresponding job is using the corresponding resource.

【0056】一時解放中フラグは、該当ジョブが該当資
源を一時解放中であることを示す情報が格納される。
The temporary release flag stores information indicating that the relevant job is temporarily releasing the relevant resource.

【0057】待ち合わせ中フラグは、他のジョブで使用
中の該当資源の解放を該当ジョブが待ち合わせているこ
とを示す情報が格納される。
The waiting flag stores information indicating that the job is waiting for release of the resource being used by another job.

【0058】図4を参照すると、資源割り当て手段31
の処理は、指定資源種別判断工程31−1と、資源解放
待ち工程31−2と、該当ジョブの一時解放されていな
いジョブ資源を全て検索する工程31−11と、一時解
放判断工程31−12と、割り当て優先度の高い割り当
て要求判断工程31−13と、資源一時解放工程31−
14と、資源解放通知工程31−15と、繰り返し工程
31−16と、一時解放資源判断工程31−17と、該
当ジョブの一時解放されているジョブ資源をすべて検索
する工程31−21と、資源割り当て判断工程31−2
2と、待ち情報登録工程31−23と、確保ジョブ資源
解放待ち判断工程31−24と、資源解放要求工程31
−25と、資源割り当て工程31−26と、繰り返し工
程31−27と、該当ジョブの指定されたジョブ/ステ
ップ資源全てについての実行工程31−31と、資源割
り当て判断工程31−32と、待ち情報登録工程31−
33と、確保ジョブ資源解放待ち判断工程31−34
と、資源解放要求工程31−35と、資源割り当て工程
31−36と、繰り返し工程31−37と、該当ジョブ
の指定された確保済みジョブ/ステップ資源の全てにつ
いて実行工程31−41と、資源解放工程31−42
と、繰り返し工程31−43とからなる。
Referring to FIG. 4, resource allocation means 31
Is a designated resource type determination step 31-1, a resource release waiting step 31-2, a step 31-11 of searching for all the job resources of the job that have not been released temporarily, and a temporary release determination step 31-12. An allocation request determining step 31-13 having a high allocation priority; and a resource temporary releasing step 31-.
14, a resource release notification step 31-15, a repetition step 31-16, a temporarily released resource determination step 31-17, a step 31-21 of searching for all the temporarily released job resources of the job, Assignment determination step 31-2
2, a wait information registration step 31-23, a reserved job resource release wait determination step 31-24, and a resource release request step 31
-25, a resource allocation step 31-26, a repetition step 31-27, an execution step 31-31 for all the designated job / step resources of the job, a resource allocation determination step 31-32, and waiting information. Registration process 31-
33 and reserved job resource release wait determination step 31-34
A resource release requesting step 31-35, a resource allocating step 31-36, a repetition step 31-37, an execution step 31-41 for all specified reserved job / step resources of the job, and a resource release. Step 31-42
And repeating steps 31-43.

【0059】図5を参照すると、待ち情報登録工程31
−23および31−33のより詳細な処理は、待ち合わ
せ中フラグON工程31−52と、該当ジョブ緊急ジョ
ブフラグ判定工程31−52と、確保ジョブ緊急ジョブ
フラグ判定工程31−53と、割り当て優先度比較工程
31−54と、ステップ強制終了要求工程31−55と
からなる。
Referring to FIG. 5, wait information registration step 31
-23 and 31-33 are a waiting flag ON step 31-52, a corresponding job urgent job flag judging step 31-52, a secured job urgent job flag judging step 31-53, an assignment priority It comprises a comparison step 31-54 and a step forced termination request step 31-55.

【0060】図6を参照すると、資源解放手段32の処
理は、該当ジョブの指定種別資源検索工程32−1と、
資源解放工程32−2と、資源解放待ちジョブ判断工程
32−3と、最高割り当て優先度資源解放待ちジョブ検
索工程32−4と、資源解放通知工程32−5と、割り
当て方式判定工程32−6と、同じ資源に対する共有割
り当て指定資源解放待ちジョブ工程32−7と、資源解
放通知工程32−8と、繰り返し工程32−9と、繰り
返し工程32−10とからなる。
Referring to FIG. 6, the processing of the resource release means 32 includes a designated type resource search step 32-1 of the job,
Resource release step 32-2, resource release waiting job determination step 32-3, highest allocation priority resource release waiting job search step 32-4, resource release notification step 32-5, and allocation method determination step 32-6. , A shared allocation designated resource release waiting job process 32-7 for the same resource, a resource release notification process 32-8, a repetition process 32-9, and a repetition process 32-10.

【0061】次に、このように構成された第1の実施の
形態に係る資源優先割り当て方式の動作について、図1
ないし図6を参照して説明する。
Next, the operation of the resource priority allocation system according to the first embodiment thus configured will be described with reference to FIG.
This will be described with reference to FIG.

【0062】利用者からジョブ実行要求11があると、
ジョブ実行受付手段12は、ジョブ実行要求11を受け
付け、ジョブ管理情報10のエントリを1つ生成して、
ジョブ管理情報10にジョブ実行要求11およびJCL
の内容をもとにジョブ識別番号,ジョブ投入者名,ジョ
ブスケジュールクラス,ジョブスケジュール優先度,資
源制限値等を格納する。このとき、ジョブ実行要求11
またはそのジョブ実行要求11で指示されたJCLに緊
急ジョブの指定がある場合には、ジョブ実行受付手段1
2は、ジョブ管理情報10の緊急ジョブフラグをONに
セットする。この後、ジョブ実行受付手段12は、ジョ
ブ実行手段13に新たなジョブが発生したことを通知す
る。
When there is a job execution request 11 from the user,
The job execution receiving unit 12 receives the job execution request 11, generates one entry of the job management information 10, and
A job execution request 11 and a JCL are included in the job management information 10.
, The job identification number, the job submitter name, the job schedule class, the job schedule priority, the resource limit value, etc. At this time, the job execution request 11
Alternatively, if the JCL specified by the job execution request 11 specifies an urgent job, the job execution receiving unit 1
No. 2 sets the emergency job flag of the job management information 10 to ON. Thereafter, the job execution receiving unit 12 notifies the job executing unit 13 that a new job has occurred.

【0063】ジョブ実行受付手段12からの新たなジョ
ブの発生通知があると、ジョブ実行手段13は、ジョブ
管理情報10を検索し、実行可能なジョブが存在するか
否かを判断する。実行可能なジョブが存在する場合は、
ジョブ実行手段13は、ジョブ開始手段21に該当ジョ
ブの実行を要求する。
When a new job occurrence notification is received from the job execution receiving unit 12, the job executing unit 13 searches the job management information 10 and determines whether there is an executable job. If there is an executable job,
The job execution unit 13 requests the job start unit 21 to execute the job.

【0064】ジョブ実行手段13からのジョブ実行要求
があると、ジョブ開始手段21は、該当ジョブのJCL
の内容をもとに、資源割り当て手段31にジョブ資源の
一括割り当てを要求する。
When there is a job execution request from the job execution means 13, the job start means 21
Is requested to the resource allocating unit 31 on the basis of the contents of (1).

【0065】ジョブ開始手段21からのジョブ資源の一
括割り当て要求があると、資源割り当て手段31は、ジ
ョブ資源の割り当てと判断し(工程31−1)、指定さ
れた全てのジョブ資源に関して資源の割り当て処理を行
う(工程31−31,32,36,37)。
When there is a batch resource allocation request from the job initiating means 21, the resource allocating means 31 determines that job resources are to be allocated (step 31-1), and allocates resources for all designated job resources. Processing is performed (steps 31-31, 32, 36, 37).

【0066】詳しくは、資源割り当て手段31は、各資
源に対して資源割り当て管理情報30を検索し、割り当
てを行う資源を他のジョブで使用中(異なるジョブ識別
番号が指定され、同じ外部資源名が指定されている資源
割り当て管理情報30のエントリが存在する)か、また
使用中のジョブが存在する場合は資源解放待ち(前記資
源割り当て管理情報30の割り当て方式が占有割り当て
またはこれから行う資源割り当ての割り当て方式が占有
割り当て)となる条件か否かの判断を行い(工程31−
32)、資源解放待ちとならない条件の場合には、資源
割り当て管理情報30にエントリを作成するとともに使
用中フラグをONにセットして資源を割り当てる(工程
31−36)。全てのジョブ資源が割り当て完了となっ
た時点で、資源割り当て手段31は、ジョブ開始手段2
1にその旨を通知して処理を終了する。
More specifically, the resource allocating means 31 searches the resource allocation management information 30 for each resource, and the resource to be allocated is being used by another job (a different job identification number is designated and the same external resource name is used). Is present in the resource allocation management information 30 in which the resource allocation management information 30 is specified), or waits for resource release when there is a job in use (the allocation method of the resource allocation management information 30 indicates the exclusive allocation or the resource allocation to be performed in the future). It is determined whether or not the condition is such that the allocation method is occupation allocation (step 31-).
32) If the condition does not indicate that the resource is to be released, an entry is created in the resource allocation management information 30 and the busy flag is set to ON to allocate resources (steps 31-36). When all the job resources have been allocated, the resource allocation unit 31
1 is notified to that effect, and the process is terminated.

【0067】ジョブ開始手段21は、資源割り当て手段
31からジョブ資源の割り当てが完了した旨の通知を受
けると、ステップ開始手段22にステップの起動を要求
する。
When the job starting means 21 receives the notification from the resource allocating means 31 that the allocation of the job resources has been completed, it requests the step starting means 22 to start the step.

【0068】ステップ開始手段22は、指定されたジョ
ブのJCLの内容をもとに資源割り当て手段31に該当
ステップ20のステップ資源の一括割り当てを要求す
る。
The step starting means 22 requests the resource allocating means 31 to collectively allocate the step resources of the corresponding step 20 based on the contents of the JCL of the designated job.

【0069】ステップ開始手段22からステップ資源の
一括割り当て要求があると、資源割り当て手段31は、
ステップ資源の割り当てと判断し(工程31−1)、既
に確保済みのジョブ資源(該当ジョブのジョブ識別番号
が指定されており、割り当て範囲にジョブを示す値がセ
ットされており、使用中フラグがONの資源割り当て管
理情報30のエントリ)を待ち合わせている割り当て優
先度のより高い他のジョブまたはステップがあるか(前
記資源割り当て管理情報30のエントリに指定された外
部資源名と同じものが指定されて、待ち合わせ中フラグ
がONのエントリが存在しないか)を確認する(工程3
1−11〜16)。
When there is a batch resource allocation request from the step starting means 22, the resource allocating means 31
It is determined that the step resource is to be allocated (step 31-1), the job resource already secured (the job identification number of the job is specified, the value indicating the job is set in the allocation range, and the busy flag is set. Whether there is another job or step with a higher allocation priority waiting for the ON resource allocation management information 30 entry (the same external resource name specified in the entry of the resource allocation management information 30 is specified). To check if there is any entry whose waiting flag is ON (step 3).
1-11 to 16).

【0070】詳しくは、資源割り当て手段31は、資源
割り当て管理情報30の一時解放中フラグがOFFで、
かつ使用中フラグがONのジョブ資源であって、資源割
り当て管理情報30の一時解放可能フラグがONか否か
(工程31−12)、および割り当て優先度のより高い
資源割り当てが資源解放待ち(異なるジョブ識別番号を
指定され、同じ外部資源名が指定され、待ち合わせ中フ
ラグがONとなっている資源割り当て管理情報30のエ
ントリが存在)になっていないかどうかを調べ(工程3
1−13)、資源解放待ちとなっている場合には、資源
割り当て管理情報30の一時解放中フラグをONにして
資源を一時解放状態とするとともに(工程31−1
4)、その資源の解放待ちを行っている資源割り当て手
段31に資源の解放通知を行い(工程31−15)、そ
の資源割り当て手段31は資源解放待ちを解除する。そ
の資源を必要とするジョブとは、割り当て優先度が最も
高いジョブと、割り当て優先度が最も高いジョブが共有
割り当てを行う場合には同じ資源を共有割り当てするた
めに資源解放待ちを行っている全てのジョブのことであ
る。
More specifically, the resource allocation unit 31 sets the temporary release flag of the resource allocation management information 30 to OFF,
Also, whether the busy flag is ON and the temporary release enable flag of the resource allocation management information 30 is ON (step 31-12), and the resource allocation with a higher allocation priority is waiting for resource release (different It is checked whether the job identification number is specified, the same external resource name is specified, and an entry of the resource allocation management information 30 whose waiting flag is ON is present (step 3).
1-13) If the resource is waiting to be released, the temporary release flag in the resource allocation management information 30 is turned on to put the resource in the temporary release state (step 31-1).
4) The resource allocation unit 31 that is waiting for the release of the resource is notified of the release of the resource (step 31-15), and the resource allocation unit 31 cancels the release of the resource. Jobs that require the resources are the jobs with the highest allocation priority and all the jobs that are waiting to release resources to share the same resources when the jobs with the highest allocation priority perform shared allocation. Job.

【0071】一時解放した資源の指定で、一時解放した
場合のジョブの動作として異常終了が指定されている場
合(工程31−17)には、資源割り当て手段31は、
ステップ開始手段22に一時解放した資源が存在するこ
とを通知し、資源の割り当てを終了する。
If the temporarily released resources are specified to indicate abnormal termination as a job operation when the resources are temporarily released (step 31-17), the resource allocating means 31
The step start means 22 is notified that the temporarily released resource exists, and the resource allocation ends.

【0072】次に、一時解放された資源について、資源
割り当て手段31は、再度割り当てを行う(工程31−
21〜27)。
Next, the resource allocating means 31 re-allocates the temporarily released resources (step 31-).
21-27).

【0073】詳しくは、資源割り当て手段31は、ジョ
ブ管理情報10を参照し、ジョブ管理情報10の緊急ジ
ョブフラグがONであり、緊急ジョブが必要とする資源
を割り当て優先度のより低いジョブが確保していて(異
なるジョブ識別番号が指定されていて、同じ外部資源名
が指定されていて、使用中フラグがONで割り当て優先
度がより低い資源割り当て管理情報30のエントリが存
在していて)、資源の解放待ちとなる条件(前記資源割
り当て管理情報30の割り当て方式が占有割り当てまた
は緊急ジョブの割り当て方式が占有割り当て)か否かの
判断を行い(工程31−22)、資源解放待ちとならな
い条件の場合は、エントリを資源割り当て管理情報30
に作成する(工程31−26)。全てのジョブ資源が割
り当て完了となった時点で、資源割り当て手段31は、
続いてステップ資源の割り当てを行う(工程31−31
〜37)。
More specifically, the resource allocating unit 31 refers to the job management information 10 and, if the urgent job flag in the job management information 10 is ON, allocates the resources required by the urgent job to a job with a lower priority. (A different job identification number is specified, the same external resource name is specified, an in-use flag is ON, and an entry of the resource allocation management information 30 with a lower allocation priority exists), It is determined whether or not the condition for waiting for the release of the resource (the allocation method of the resource allocation management information 30 is the exclusive allocation or the allocation method of the urgent job is the exclusive allocation) (step 31-22). In the case of, the entry is stored in the resource
(Step 31-26). When all the job resources have been allocated, the resource allocation unit 31
Subsequently, step resources are allocated (steps 31-31).
~ 37).

【0074】一方、各資源に対して資源解放待ちとなる
と判断された場合(工程31−22)、資源割り当て手
段31は、資源割り当て管理情報30に資源の待ち情報
を登録する(工程31−23)。詳しくは、工程31−
23において、資源割り当て手段31は、待ち合わせ中
フラグをONにした後(工程31−51)、ジョブ管理
情報10を参照し、該当ジョブの緊急ジョブフラグに基
づいて緊急ジョブの資源割り当てか否かを判断し(工程
31−52でON)、緊急ジョブの資源割り当てでは、
現在資源を割り当てられているジョブが緊急ジョブでは
なく(工程31−53でOFF)、割り当て優先度がよ
り低い場合に(工程31−54)、現在資源を割り当て
られているジョブのステップ20を強制終了させること
をステップ強制終了手段25に要求する(工程31−5
5)。
On the other hand, when it is determined that the resource is to be released for each resource (step 31-22), the resource allocating unit 31 registers the resource waiting information in the resource allocation management information 30 (step 31-23). ). For details, see step 31-
In step 23, after turning on the waiting flag (step 31-51), the resource allocating unit 31 refers to the job management information 10 and determines whether or not to allocate resources for the urgent job based on the urgent job flag of the job. Judgment (ON in steps 31-52), and in the resource assignment of the urgent job,
If the job to which resources are currently assigned is not an urgent job (OFF in steps 31-53) and the assignment priority is lower (steps 31-54), step 20 of the job to which resources are currently assigned is forced. A request is made to the step forced termination means 25 to terminate the processing (step 31-5).
5).

【0075】ジョブ強制終了手段25は、資源割り当て
手段31からの要求に基づいて指定されたステップ20
を強制的に異常終了させる。
The job forcibly terminating means 25 determines whether or not the job has been specified in step 20 based on the request from the resource allocating means 31.
Is abnormally terminated.

【0076】次に、資源割り当て手段31は、現在資源
を確保しているジョブが他の資源解放待ちとなっている
かどうかを判断し(工程31−24)、資源解放待ちと
なっている場合は、資源解放要求を行い(工程31−2
5)、資源の解放待ち(工程31−2)を解除する。そ
の後、資源割り当て手段31は、資源が解放されるのを
待ち合わせる(工程31−2)。
Next, the resource allocating means 31 determines whether or not the job currently securing resources is waiting for release of another resource (step 31-24). Makes a resource release request (step 31-2).
5) Release the resource release waiting (step 31-2). Thereafter, the resource allocating unit 31 waits for the release of the resources (step 31-2).

【0077】全てのジョブ資源に対して割り当てが完了
後、資源割り当て手段31は、指定された全てのステッ
プ資源に関して資源の割り当て処理を行う(工程31−
31,32,36,37)。このとき、資源割り当て手
段31は、各資源に対して資源解放待ちとなる条件か否
かの判断を行い(工程31−32)、資源待ちとならな
い条件の場合は、資源の割り当て情報を資源割り当て管
理情報30に追加する(工程31−36)。この工程3
1−36で、資源割り当て手段31は、JCLのジョブ
資源の割り当て指定文にステップ20の切り替え時にジ
ョブ資源の一時的な解放を可能とするか否か、および一
時解放を行った場合のジョブの動作(実行継続/異常終
了)が指定されていれば、これらに情報を資源割り当て
管理情報30に付加する。
After the allocation to all the job resources is completed, the resource allocation means 31 performs a resource allocation process for all the specified step resources (step 31-).
31, 32, 36, 37). At this time, the resource allocating means 31 determines whether or not each resource is in a condition of waiting for resource release (steps 31-32). It is added to the management information 30 (steps 31-36). This step 3
In step 1-36, the resource allocating unit 31 determines in the JCL job resource allocation designation statement whether or not the temporary release of the job resource is possible at the time of switching to step 20, and whether the job is temporarily released. If an operation (execution continuation / abnormal termination) is specified, information is added to the resource allocation management information 30.

【0078】全てのステップ資源が割り当て完了となっ
た時点で、資源割り当て手段31はステップ開始手段2
2にその旨を通知し、処理を終了する。
When all the step resources have been allocated, the resource allocation means 31
2 is notified to that effect, and the process ends.

【0079】一方、資源割り当て手段31は、各資源に
対して資源待ちとなると判断された場合は(工程31−
32)、資源割り当て管理情報30に資源の待ち情報を
登録する(工程31−33)。詳しくは、工程31−3
3において、資源割り当て手段31は、待ち合わせ中フ
ラグをONにした後(工程31−51)、ジョブ管理情
報10を参照し、該当ジョブの緊急ジョブフラグに基づ
いて緊急ジョブの資源割り当てか否かを判断し(工程3
1−52でON)、緊急ジョブの資源割り当てでは、現
在資源を割り当てられているジョブが緊急ジョブではな
く(工程31−53でOFF)、割り当て優先度がより
低い場合に(工程31−54)、現在資源を割り当てら
れているジョブのステップ20を強制終了させることを
ステップ強制終了手段25に要求する(工程31−5
5)。
On the other hand, when it is determined that each resource is to wait for a resource (step 31-
32), resource waiting information is registered in the resource allocation management information 30 (steps 31-33). For details, Step 31-3
In step 3, the resource allocating means 31 turns on the waiting flag (step 31-51), and then refers to the job management information 10 to determine whether or not to allocate resources for the urgent job based on the urgent job flag of the job. Judgment (Step 3
In the resource assignment of the emergency job, if the job to which the resource is currently assigned is not an emergency job (OFF in step 31-53) and the assignment priority is lower (step 31-54). Request the step forcibly terminating means 25 to forcibly terminate step 20 of the job to which the resource is currently assigned (step 31-5).
5).

【0080】ジョブ強制終了手段25は、資源割り当て
手段31からの要求に基づいて指定されたステップ20
を強制的に異常終了させる。
The job forcibly terminating unit 25 determines whether or not the job has been specified in step 20 based on the request from the resource allocating unit 31.
Is abnormally terminated.

【0081】次に、資源割り当て手段31は、現在資源
を確保しているジョブが他の資源解放待ちとなっている
(この資源を確保しているジョブのジョブ識別番号が同
じで待ち合わせ中フラグがONとなっている資源割り当
て管理情報30のエントリが存在する)かどうかを判断
し(工程31−34)、資源解放待ちとなっている場合
は、資源解放手段32に資源解放要求を行い(工程31
−35)、資源の解放待ち(工程31−2)を解除す
る。
Next, the resource allocating means 31 determines that the job currently securing the resource is waiting for another resource release (the job identification number of the job securing this resource is the same and the waiting flag is set). It is determined whether or not there is an entry of the resource allocation management information 30 that is ON (steps 31-34). If it is waiting for resource release, a resource release request is made to the resource release means 32 (step 31-34). 31
-35), release the resource release waiting (step 31-2).

【0082】続いて、資源割り当て手段31は、既に割
り当て済みのステップ資源を全て解放し(工程31−4
1〜43)、資源割り当て管理情報30から解放したス
テップ資源の情報を削除し(工程31−42)、資源が
解放されるのを待ち合わせる(工程31−2)。
Subsequently, the resource allocating means 31 releases all of the allocated step resources (step 31-4).
1 to 43), the information of the released step resource is deleted from the resource allocation management information 30 (step 31-42), and the process waits until the resource is released (step 31-2).

【0083】資源解放待ち(工程31−2)は、資源解
放通知または資源解放要求を受けた時点で、処理を継続
可能となる。資源解放待ちが解除された場合、資源割り
当て手段31は、再度、同じ処理を繰り返し行う。
In the resource release waiting (step 31-2), the process can be continued when the resource release notification or the resource release request is received. When the resource release waiting is released, the resource allocation unit 31 repeats the same processing again.

【0084】ステップ開始手段22は、資源割り当て手
段31からステップ資源の割り当てが完了した旨の通知
を受けると、ステップ20を起動する。
When the step starting means 22 receives the notification from the resource allocating means 31 that the allocation of the step resources has been completed, the step starting means 22 starts step 20.

【0085】ステップ20の動作が終了すると、ステッ
プ終了手段23は、終了したステップ20のステップ資
源の一括解放を資源解放手段32に要求するとともに、
後続のステップがある場合は、ステップ開始手段22を
起動し、後続のステップが無い場合には、ジョブ終了手
段24を起動する。
When the operation of step 20 is completed, the step ending means 23 requests the resource releasing means 32 to release the step resources of step 20 which has been completed at once,
If there is a subsequent step, the step start means 22 is started, and if there is no subsequent step, the job end means 24 is started.

【0086】資源解放手段32は、ステップ終了手段2
3から要求された場合には、資源割り当て管理情報30
を検索し、該当資源の資源割り当て管理情報30のエン
トリを削除して該当する資源の解放を行い(工程32−
2)、その資源の解放を待ち合わせを行っているジョブ
が存在する(異なるジョブ識別番号が指定され、同じ外
部資源名が指定された資源割り当て管理情報30で待ち
合わせ中フラグがONのエントリが存在する)場合(工
程32−3)は、最も割り当て優先度の高いジョブの資
源解放待ちジョブを検索し(工程32−4)、当該資源
の解放待ちを行っている資源割り当て手段31に資源を
解放した旨の通知を行う(工程32−5)。
The resource releasing means 32 is a step ending means 2
3, the resource allocation management information 30
, And delete the entry of the resource allocation management information 30 of the corresponding resource to release the corresponding resource (step 32-).
2) There is a job waiting for release of the resource (an entry whose waiting job flag is ON in the resource allocation management information 30 in which a different job identification number is specified and the same external resource name is specified). In the case (step 32-3), a resource release waiting job of the job having the highest allocation priority is searched (step 32-4), and the resource is released to the resource allocating unit 31 waiting to release the resource. A notification to that effect is sent (step 32-5).

【0087】次に、資源解放手段32は、その最も割り
当て優先度の高いジョブの資源割り当てが共有割り当て
であるかどうかを判定し(工程32−6)、共有割り当
てであった場合には、同じ資源に対する共有割り当て指
定の資源解除待ちに資源解放通知を行い(工程32−7
〜9)、資源の解放待ちを解除する。
Next, the resource release means 32 determines whether or not the resource allocation of the job having the highest allocation priority is a shared allocation (step 32-6). A resource release notification is issued while waiting for the resource release of the shared allocation designation for the resource (step 32-7).
To 9), release the resource release wait.

【0088】ステップ終了手段23により起動されたジ
ョブ終了手段24は、終了したジョブのジョブ資源を一
括して解放することを資源解放手段32に要求する。
The job ending means 24 started by the step ending means 23 requests the resource releasing means 32 to release the job resources of the completed job collectively.

【0089】資源解放手段32は、ステップ資源の場合
と同様にして、ジョブ資源を一括解放する。
The resource releasing means 32 releases the job resources in a batch in the same manner as the step resources.

【0090】資源解放手段32によるジョブ資源の一括
解放が終了すると、ジョブ終了手段24は、ジョブが終
了したことをジョブ実行手段13に通知する。ジョブ実
行手段13は、ジョブ終了通知を受けると、該当するジ
ョブ管理情報10のエントリを削除する。
When the batch release of the job resources by the resource release unit 32 ends, the job end unit 24 notifies the job execution unit 13 that the job has ended. When receiving the job end notification, the job execution unit 13 deletes the corresponding entry of the job management information 10.

【0091】他方、資源を確保していた確保ジョブの資
源割り当て手段31は、新たなステップ20の開始時お
よび資源解放待ちが解除された時点で、指定された資源
の割り当てを再度行うが、ステップ資源の割り当て時
に、資源割り当て管理情報30を検索し(工程31−1
1〜16)、そのジョブに割り当てられているジョブ資
源が一時解放可能(該当ジョブのジョブ識別番号が同じ
で、割り当て範囲がジョブを示す値であり、使用中フラ
グがONであり、一時解放可能フラグがONとなってい
る資源割り当て管理情報30のエントリが存在する)で
あり(工程31−12)、他のジョブでより高い割り当
て優先度の資源解放待ちが存在する(該当ジョブのジョ
ブ識別番号が異なり、待ち合わせ中フラグがONであ
り、割り当て優先度がより高い資源割り当て管理情報3
0のエントリが存在する)場合(工程31−13)に
は、一時解放中フラグをONにセットしてその資源を全
て解放し(工程31−14)、その資源の解放待ちを行
っている資源割り当て手段31に資源の解放を通知する
(工程31−15)。この一時解放された資源に、資源
割り当て管理情報30の一時解放時のジョブの動作が異
常終了を示す値がセットされているものが存在した場合
(工程31−17)には、資源割り当て手段31は、ス
テップ開始手段22に一時解放された資源が存在するこ
とを示す情報を返却し、資源の割り当てを終了する。
On the other hand, the resource allocating means 31 of the secured job that has secured the resource allocates the specified resource again at the start of the new step 20 and at the time of releasing the resource release wait. When allocating resources, the resource allocation management information 30 is searched (step 31-1).
1 to 16), the job resources assigned to the job can be temporarily released (the job identification number of the job is the same, the allocation range is a value indicating the job, the busy flag is ON, and the job can be temporarily released) (There is an entry of the resource allocation management information 30 whose flag is ON) (step 31-12), and there is a resource release wait of a higher allocation priority in another job (job identification number of the relevant job) , The waiting flag is ON, and the resource allocation management information 3 having a higher allocation priority.
If there is an entry of 0) (step 31-13), the temporary release flag is set to ON to release all the resources (step 31-14), and the resources waiting to be released are released. The allocation means 31 is notified of the release of the resources (step 31-15). If any of the temporarily released resources has a value indicating that the job operation at the time of the temporary release in the resource allocation management information 30 is abnormally terminated (step 31-17), the resource allocation unit 31 Returns information indicating that the temporarily released resource exists to the step starting means 22, and ends the resource allocation.

【0092】資源割り当て手段31は、一時解放する資
源が存在しない場合には、資源割り当て管理情報30を
検索し(工程31−21〜27)、既に一時解放されて
いるジョブ資源の割り当てを行い、資源の割り当てがで
きない場合は前記と同様に待ち合わせを行い、全てのジ
ョブ資源が割り当て完了後、ステップ資源の割り当てを
行う。
If there is no resource to be temporarily released, the resource allocating means 31 searches the resource allocation management information 30 (steps 31-21 to 27) and allocates the temporarily released job resource. If resources cannot be allocated, a wait is performed in the same manner as described above, and after all job resources have been allocated, step resources are allocated.

【0093】ステップ開始手段22は、資源割り当て手
段31から一時解放された資源が存在すると通知された
場合は、ジョブを異常終了とする。
When the resource starting means 22 is notified from the resource allocating means 31 that there is a temporarily released resource, the step starting means 22 terminates the job abnormally.

【0094】このようにして、割り当て優先度の低いジ
ョブのジョブ資源を一時的に解放し、割り当て優先度の
高いジョブに優先的に資源を割り当てることが可能とな
る。
In this way, it is possible to temporarily release the job resources of a job having a low allocation priority and to preferentially allocate resources to a job having a high allocation priority.

【0095】次に、本発明の第2の実施の形態について
図面を参照して説明する。
Next, a second embodiment of the present invention will be described with reference to the drawings.

【0096】図7を参照すると、本発明の第2の実施の
形態は、資源優先割り当てプログラムを記録した記録媒
体300を備える。この記録媒体300はフロッピーデ
ィスク、磁気ディスク、半導体メモリその他の記録媒体
であってよい。資源優先割り当てプログラムは、記録媒
体300からコンピュータ100に読み込まれ、コンピ
ュータ100の動作を制御する。コンピュータ100は
資源優先割り当てプログラムの制御により上述の処理、
すなわち第1の実施の形態における処理と同一の処理を
実行する。
Referring to FIG. 7, the second embodiment of the present invention includes a recording medium 300 on which a resource priority assignment program is recorded. The recording medium 300 may be a floppy disk, a magnetic disk, a semiconductor memory, or another recording medium. The resource priority assignment program is read into the computer 100 from the recording medium 300 and controls the operation of the computer 100. The computer 100 performs the above-described processing under the control of the resource priority allocation program,
That is, the same processing as the processing in the first embodiment is executed.

【0097】[0097]

【発明の効果】以上説明したように、本発明は、ステッ
プのみが使用する資源は、当該ステップが終了したとき
に解放するので、他のジョブまたはステップは、ジョブ
の終了を待ちあわせなくても当該資源を使用することが
できる。
As described above, according to the present invention, the resources used only by a step are released when the step is completed, so that other jobs or steps can execute the job without waiting for the end of the job. Resources can be used.

【0098】したがって、効率的に資源を使用すること
ができるので、ジョブのスループットが高まるという効
果がある。
Therefore, the resources can be used efficiently, and the job throughput can be increased.

【0099】また、資源の割り当て優先度の高いジョブ
またはステップから資源を割り当てていくので、緊急を
要するジョブまたはステップを優先的に実行することが
できるという効果がある。
Further, since resources are allocated from jobs or steps having a high resource allocation priority, an urgent job or step can be preferentially executed.

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

【図1】本発明の第1の実施の形態に係る資源優先割り
当て方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a resource priority allocation method according to a first embodiment of the present invention.

【図2】図1中のジョブ管理情報の内容を例示する図で
ある。
FIG. 2 is a diagram illustrating contents of job management information in FIG. 1;

【図3】図1中の資源割り当て管理情報の内容を例示す
る図である。
FIG. 3 is a diagram illustrating contents of resource allocation management information in FIG. 1;

【図4】図1中の資源割り当て手段の処理を示す流れ図
である。
FIG. 4 is a flowchart showing processing of a resource allocation unit in FIG. 1;

【図5】図5中の待ち情報登録工程のより詳細な処理を
示す流れ図である。
FIG. 5 is a flowchart showing a more detailed process of a wait information registration step in FIG. 5;

【図6】図1中の資源解放手段の処理を示す流れ図であ
る。
FIG. 6 is a flowchart showing a process of a resource release unit in FIG. 1;

【図7】本発明の第2の実施の形態に係る資源優先割り
当て方式の構成を示すブロック図である。
FIG. 7 is a block diagram illustrating a configuration of a resource preferential allocation method according to a second embodiment of the present invention.

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

10 ジョブ管理情報 11 ジョブ実行要求 12 ジョブ実行受付手段 13 ジョブ実行手段 21 ジョブ開始手段 22 ステップ開始手段 23 ステップ終了手段 24 ジョブ終了手段 25 ステップ強制終了手段 30 資源割り当て管理情報 31 資源割り当て手段 32 資源解放手段 100 コンピュータ 200 オペレーティングシステム 300 記録媒体 DESCRIPTION OF SYMBOLS 10 Job management information 11 Job execution request 12 Job execution accepting means 13 Job executing means 21 Job starting means 22 Step starting means 23 Step ending means 24 Job ending means 25 Step forced ending means 30 Resource allocation management information 31 Resource allocating means 32 Resource release Means 100 Computer 200 Operating system 300 Recording medium

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 複数のステップを含むジョブの実行を制
御するオペレーティングシステムにおいて、 前記ステップの開始時に、当該ステップが使用する資源
を割り当てることができる場合は当該資源を当該ステッ
プに割り当て、当該資源がすでに他のジョブまたはステ
ップに割り当てられていて当該資源を当該ステップに割
り当てることができない場合には当該資源を当該ステッ
プに割り当てずに、当該資源を解放した旨が通知される
のを待ち合わせ、当該通知を受信した時点で当該資源を
当該ステップに割り当てる資源割り当て手段を備えたこ
とを特徴とする資源優先割り当て方式。
1. An operating system for controlling execution of a job including a plurality of steps, wherein at the start of the step, if a resource used by the step can be allocated, the resource is allocated to the step, and the resource is If the resource cannot be assigned to the step because it has already been assigned to another job or step, wait for the notification that the resource has been released without assigning the resource to the step. A resource allocation means for allocating the resource to the step when the resource is received.
【請求項2】 前記資源割り当て手段は、さらに、 前記通知を待ち合わせているステップが複数ある場合に
は、当該複数のステップの中で最も優先度の高いステッ
プに前記資源を割り当てることを特徴とする請求項1記
載の資源優先割り当て方式。
2. The method according to claim 1, wherein the resource allocating unit allocates the resource to a step having the highest priority among the plurality of steps when there are a plurality of steps waiting for the notification. The resource priority allocation method according to claim 1.
【請求項3】 前記資源優先割り当て方式は、さらに、 前記ステップの終了時に、当該ステップに割り当てられ
ていた資源を解放するとともに、当該資源を解放した旨
を前記資源割り当て手段に通知する資源解放手段を備え
たことを特徴とする請求項1または2のいずれかに記載
の資源優先割り当て方式。
3. The resource allocating method further comprising: releasing resource allocated to the step at the end of the step and notifying the resource allocating means that the resource has been released at the end of the step. 3. The resource priority allocation method according to claim 1, further comprising:
【請求項4】 前記資源優先割り当て方式は、さらに、 前記ステップの終了時に、当該ステップを含むジョブに
すでに割り当てられている資源を待ち合わせている、当
該ジョブよりも優先度が高い他のジョブのステップが存
在し、かつ当該ジョブが資源の一時的な解放を認める場
合には、当該資源の解放要求を前記資源解放手段へ送信
する資源一時解放要求手段を備え、 前記資源解放手段は、前記解放要求を受信して前記ジョ
ブに割り当てられている前記資源を解放することを特徴
とする請求項3記載の資源優先割り当て方式。
4. The method according to claim 1, further comprising: at the end of the step, waiting for a resource already allocated to a job including the step, the step of another job having a higher priority than the job. Is present, and when the job permits temporary release of the resource, the resource release unit includes a resource temporary release request unit for transmitting a resource release request to the resource release unit. 4. The resource priority allocation method according to claim 3, wherein said resource is allocated and said resource is released.
【請求項5】 ジョブに含まれるステップの開始時に、
当該ステップが使用する資源を割り当てることができる
場合は当該資源を当該ステップに割り当て、当該資源が
すでに他のジョブまたはステップに割り当てられていて
当該資源を当該ステップに割り当てることができない場
合には当該資源を当該ステップに割り当てずに、当該資
源を解放した旨が通知されるのを待ち合わせ、当該通知
を受信した時点で当該資源を当該ステップに割り当てる
ことを特徴とするオペレーティングシステムにおける資
源優先割り当て方法。
5. At the start of a step included in a job,
If the resource used by the step can be allocated, the resource is allocated to the step.If the resource is already allocated to another job or step and the resource cannot be allocated to the step, the resource is allocated. Allocating the resource to the step without waiting for the notification of the release of the resource without allocating the resource to the step, and allocating the resource to the step when the notification is received.
【請求項6】 他のジョブまたはステップに割り当てら
れている資源が解放されるのを待ち合わせている複数の
ステップがある場合に、当該資源を解放した旨が通知さ
れた時点で当該複数のステップの中で最も優先度の高い
ステップに当該資源を割り当てることを特徴とするオペ
レーティングシステムにおける資源優先割り当て方法。
6. When there are a plurality of steps awaiting release of a resource allocated to another job or step, when the notification that the resource has been released is given, the plurality of steps are deleted. A resource priority assignment method in an operating system, wherein the resource is assigned to a step having the highest priority.
【請求項7】 ジョブに含まれるステップの開始時に、
当該ステップが使用する資源を割り当てることができる
場合は当該資源を当該ステップに割り当て、当該資源が
すでに他のジョブまたはステップに割り当てられていて
当該資源を当該ステップに割り当てることができない場
合には当該資源を当該ステップに割り当てずに、当該資
源が解放されるのを待ち合わせ、 前記資源を解放し、 さらに前記資源が解放された後に当該資源を前記ステッ
プに割り当てることを特徴とするオペレーティングシス
テムにおける資源優先割り当て方法。
7. At the start of a step included in a job,
If the resource used by the step can be allocated, the resource is allocated to the step.If the resource is already allocated to another job or step and the resource cannot be allocated to the step, the resource is allocated. Waiting for the resource to be released without allocating the resource to the step, releasing the resource, and further allocating the resource to the step after the resource is released. Method.
【請求項8】 ステップの終了時に、当該ステップを含
むジョブにすでに割り当てられている資源を待ち合わせ
ている、当該ジョブよりも優先度が高い他のジョブのス
テップが存在し、かつ当該ジョブが資源の一時的な解放
を認める場合には、当該資源の解放を要求し、 前記資源の解放が要求された場合に前記ジョブに割り当
てられている前記資源を解放し、 前記資源が解放された後に、当該資源が解放されるのを
待ち合わせている前記他のジョブまたはステップに当該
資源を割り当てることを特徴とするオペレーティングシ
ステムにおける資源優先割り当て方法。
8. At the end of a step, there is a step of another job having a higher priority than the job, waiting for a resource already allocated to the job including the step, and When the temporary release is permitted, the release of the resource is requested, and when the release of the resource is requested, the resource allocated to the job is released. Allocating the resource to the other job or step waiting for the release of the resource;
【請求項9】 ジョブに含まれるステップの開始時に、
当該ステップが使用する資源を割り当てることができる
場合は当該資源を当該ステップに割り当て、当該資源が
すでに他のジョブまたはステップに割り当てられていて
当該資源を当該ステップに割り当てることができない場
合には当該資源を当該ステップに割り当てずに、当該資
源を解放した旨が通知されるのを待ち合わせ、当該通知
を受信した時点で当該資源を当該ステップに割り当てる
処理をコンピュータに行わせるプログラムを記録したこ
とを特徴とする記録媒体。
9. At the start of a step included in a job,
If the resource used by the step can be allocated, the resource is allocated to the step.If the resource is already allocated to another job or step and the resource cannot be allocated to the step, the resource is allocated. Without assigning the resource to the step, waiting for a notification that the resource has been released, and recording a program for causing the computer to perform the process of assigning the resource to the step when the notification is received. Recording medium.
【請求項10】 他のジョブまたはステップに割り当て
られている資源が解放されるのを待ち合わせている複数
のステップがある場合に、当該資源を解放した旨が通知
された時点で当該複数のステップの中で最も優先度の高
いステップに当該資源を割り当てる処理をコンピュータ
に行わせるプログラムを記録したことを特徴とする記録
媒体。
10. When there are a plurality of steps awaiting release of a resource allocated to another job or step, when the notification that the resource has been released is given, the plurality of steps are deleted. A recording medium on which a program for causing a computer to perform a process of allocating the resource to a step having the highest priority is recorded.
【請求項11】 ジョブに含まれるステップの開始時
に、当該ステップが使用する資源を割り当てることがで
きる場合は当該資源を当該ステップに割り当て、当該資
源がすでに他のジョブまたはステップに割り当てられて
いて当該資源を当該ステップに割り当てることができな
い場合には当該資源を当該ステップに割り当てずに、当
該資源が解放されるのを待ち合わせ、 前記資源を解放し、 さらに前記資源が解放された後に当該資源を前記ステッ
プに割り当てる処理をコンピュータに行わせるプログラ
ムを記録したことを特徴とする記録媒体。
11. At the start of a step included in a job, if a resource used by the step can be allocated, the resource is allocated to the step, and the resource has already been allocated to another job or step, and If the resource cannot be allocated to the step, do not allocate the resource to the step, wait for the resource to be released, release the resource, and further release the resource after the resource is released. A recording medium on which a program for causing a computer to perform a process assigned to a step is recorded.
【請求項12】 ステップの終了時に、当該ステップを
含むジョブにすでに割り当てられている資源を待ち合わ
せている、当該ジョブよりも優先度が高い他のジョブの
ステップが存在し、かつ当該ジョブが資源の一時的な解
放を認める場合には、当該資源の解放を要求し、 前記資源の解放が要求された場合に前記ジョブに割り当
てられている前記資源を解放し、 前記資源が解放された後に、当該資源が解放されるのを
待ち合わせている前記他のジョブまたはステップに当該
資源を割り当てる処理をコンピュータに行わせるプログ
ラムを記録したことを特徴とする記録媒体。
12. At the end of a step, there is a step of another job having a higher priority than the job, waiting for a resource already allocated to the job including the step, and When the temporary release is permitted, the release of the resource is requested, and when the release of the resource is requested, the resource allocated to the job is released. A recording medium recording a program for causing a computer to perform a process of allocating the resource to the another job or step waiting for the release of the resource.
【請求項13】 請求項9記載の前記プログラムを複数
の部分に分割して当該複数の部分をそれぞれ複数の記録
媒体に記録してなる記録媒体群。
13. A recording medium group obtained by dividing the program according to claim 9 into a plurality of portions and recording the plurality of portions on a plurality of recording media.
【請求項14】 請求項10記載の前記プログラムを複
数の部分に分割して当該複数の部分をそれぞれ複数の記
録媒体に記録してなる記録媒体群。
14. A recording medium group obtained by dividing the program according to claim 10 into a plurality of portions and recording the plurality of portions on a plurality of recording media.
【請求項15】 請求項11記載の前記プログラムを複
数の部分に分割して当該複数の部分をそれぞれ複数の記
録媒体に記録してなる記録媒体群。
15. A recording medium group obtained by dividing the program according to claim 11 into a plurality of portions and recording the plurality of portions on a plurality of recording media.
【請求項16】 請求項12記載の前記プログラムを複
数の部分に分割して当該複数の部分をそれぞれ複数の記
録媒体に記録してなる記録媒体群。
16. A recording medium group obtained by dividing the program according to claim 12 into a plurality of parts and recording the plurality of parts on a plurality of recording media.
JP11242077A 1998-09-29 1999-08-27 System and method for resource priority allocation and recording medium where resource priority allocating program is recorded Pending JP2000172515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11242077A JP2000172515A (en) 1998-09-29 1999-08-27 System and method for resource priority allocation and recording medium where resource priority allocating program is recorded

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-274119 1998-09-29
JP27411998 1998-09-29
JP11242077A JP2000172515A (en) 1998-09-29 1999-08-27 System and method for resource priority allocation and recording medium where resource priority allocating program is recorded

Publications (1)

Publication Number Publication Date
JP2000172515A true JP2000172515A (en) 2000-06-23

Family

ID=26535598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11242077A Pending JP2000172515A (en) 1998-09-29 1999-08-27 System and method for resource priority allocation and recording medium where resource priority allocating program is recorded

Country Status (1)

Country Link
JP (1) JP2000172515A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006018806A (en) * 2004-07-02 2006-01-19 Seagate Technology Llc Resource allocation method in computer-based system
JP2008158921A (en) * 2006-12-26 2008-07-10 Toshiba Corp Unit and program for resource management
US7565398B2 (en) 2002-06-27 2009-07-21 International Business Machines Corporation Procedure for dynamic reconfiguration of resources of logical partitions
JP2011081813A (en) * 2010-10-21 2011-04-21 Seiko Epson Corp Method for managing resources
JP2011145967A (en) * 2010-01-18 2011-07-28 Nec Corp Cpu resource management system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7565398B2 (en) 2002-06-27 2009-07-21 International Business Machines Corporation Procedure for dynamic reconfiguration of resources of logical partitions
JP2006018806A (en) * 2004-07-02 2006-01-19 Seagate Technology Llc Resource allocation method in computer-based system
US7917906B2 (en) 2004-07-02 2011-03-29 Seagate Technology Llc Resource allocation in a computer-based system
JP2011165223A (en) * 2004-07-02 2011-08-25 Seagate Technology Llc Method for allocating resource computer-based system
JP2008158921A (en) * 2006-12-26 2008-07-10 Toshiba Corp Unit and program for resource management
JP2011145967A (en) * 2010-01-18 2011-07-28 Nec Corp Cpu resource management system
JP2011081813A (en) * 2010-10-21 2011-04-21 Seiko Epson Corp Method for managing resources

Similar Documents

Publication Publication Date Title
JP6954267B2 (en) Network Functions Virtualization Management Orchestration Equipment, Methods and Programs
US7024668B2 (en) Application execution apparatus and method
US5642508A (en) Distributed control method and apparatus for job execution
US8458712B2 (en) System and method for multi-level preemption scheduling in high performance processing
US20060206894A1 (en) Method of scheduling jobs using database management system for real-time processing
JPH07319714A (en) Method and system for selective application of proper object ownership model
JP4992408B2 (en) Job allocation program, method and apparatus
JP3664021B2 (en) Resource allocation method by service level
CN113886069A (en) Resource allocation method and device, electronic equipment and storage medium
JP2000172515A (en) System and method for resource priority allocation and recording medium where resource priority allocating program is recorded
JP4862056B2 (en) Virtual machine management mechanism and CPU time allocation control method in virtual machine system
JPH0628323A (en) Process execution control method
JP2015148909A (en) Parallel computer system, control method of parallel computer system, and control program of management node
JP2004246592A (en) Job execution management device
JP2008225641A (en) Computer system, interrupt control method and program
JP2000259430A (en) Processing method for computer system
JP2003186686A (en) Resource control apparatus, method and recording medium
JPH0452942A (en) File transfer system
JPH0778090A (en) Priority scheduling method for job
JP2004145598A (en) Restriction method for shared resource use of computer
JPH10134100A (en) Fault simulation system and allocating method for job
JP2000148512A (en) Method for scheduling job
JPS62226236A (en) Intermission and restart processing system for state waiting resources in transaction processing system
JP2004287838A (en) Interrupt controller, interrupt control method, device with interrupt controller, interrupt control program, and recording medium
JPH0816456A (en) Resource management device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010911