JPH0797342B2 - How to start a computer job - Google Patents
How to start a computer jobInfo
- Publication number
- JPH0797342B2 JPH0797342B2 JP63128109A JP12810988A JPH0797342B2 JP H0797342 B2 JPH0797342 B2 JP H0797342B2 JP 63128109 A JP63128109 A JP 63128109A JP 12810988 A JP12810988 A JP 12810988A JP H0797342 B2 JPH0797342 B2 JP H0797342B2
- Authority
- JP
- Japan
- Prior art keywords
- job
- file
- recall
- description
- task
- 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
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計算機のジョブ起動方法に関し、特に、ジョブ
記述中で指定された割り当て対象ファイルがマイグレー
トされているファイルのときはそれをリコールした上で
ジョブに割り当ててジョブを起動するようにした計算機
のジョブ起動方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of use] The present invention relates to a job activation method for a computer, and in particular, when an allocation target file specified in a job description is a migrated file, it is recalled. The present invention relates to a method for starting a job of a computer that is assigned to a job and starts the job.
〔従来の技術〕 計算機のファイルシステムにおいて、 ファイルを格納する外部記憶装置に対するアクセスの
負荷バランスの平均化 外部記憶装置の記憶スペースの使用効率の向上 等を図るために、従来より、ファイルのマイグレーショ
ン(移送)およびリコール(呼び戻し)が行われてい
る。すなわち、外部記憶装置に作成されたファイルを、
当該ファイルに対するアクセスが終了した段階でアクセ
ス速度が遅く、かつ大容量の他の外部記憶装置にマイグ
レートし、再び当該ファイルに対するアクセスの開始が
要求されると、アクセス速度が速く入出力の負荷バラン
スの最適な外部記憶装置にリコールするようにしてい
る。[Prior art] In the file system of a computer, file migration (file migration Transfers and recalls are being carried out. That is, the file created in the external storage device,
When access to the file is completed, the access speed becomes slow and the file is migrated to another external storage device with a large capacity, and when the request to start access to the file is requested again, the access speed becomes fast and the input / output load balance I'm trying to recall to the optimal external storage device.
ところで、上記の如きファイルシステムを採用した計算
機システムにおいて、ジョブ起動処理を行う場合、一般
に、ジョブへのファイル(ファイル資源)割り当てに先
立ってマイグレートされたファイルのリコールが行われ
るが、マイグレートされたファイルが多い場合にはその
リコール処理の時間が無視できず、ジョブ起動処理が短
時間に行えないという欠点があった。すなわち、例えば
バッチジョブを実行させる場合には、ジョブ制御言語等
によりそのジョブで使用するファイルの割り当てを指示
し、オペレーティングシステムでは割り当てようとする
ファイルがマイグレートされていることを知ると資源割
り当て処理をいったん中断してリコール処理を呼び出
し、そのリコール処理が完了した時点で始めて起動しよ
うとするジョブにファイルを割り当てる(このようなリ
コール方式を採用しているシステムとしてFACOMOS IV/F
4 MSPにおけるADFシステムがある。参考文献;FACOM OS
IV/F4 MSP ADF運用手引書)ため、 ジョブで割り当てるべきファイルのいくつかがマイグ
レートされているとすると、それらのリコール処理は逐
次的にしか実行されないので、資源割り当てに要する時
間が長くかかる。By the way, in a computer system that employs the file system as described above, when performing a job startup process, generally, a file that has been migrated is recalled prior to allocating a file (file resource) to the job, but If there are many files, the recall processing time cannot be ignored and the job start processing cannot be performed in a short time. In other words, when executing a batch job, for example, the allocation of the file used by the job is instructed by the job control language, etc., and if the operating system knows that the file to be allocated is migrated, it executes the resource allocation process. To call the recall process, and when the recall process is completed, allocate the file to the job to be started for the first time (as a system that employs such a recall method, FACOM OS IV / F
4 There is an ADF system in MSP. References; FACOM OS
IV / F4 MSP ADF Operator's Guide) Therefore, if some of the files to be allocated in the job are migrated, the recall process of those files is executed only sequentially, so it takes a long time to allocate the resources.
リコール処理は資源割り当て処理が実行されるタスク
を専有して実行されるため、後続の他のジョブの資源割
り当て処理が長く待たされる可能性がある。Since the recall process is executed exclusively for the task in which the resource allocation process is executed, there is a possibility that the resource allocation process of another subsequent job may be kept waiting for a long time.
等の欠点があった。There were drawbacks such as.
本発明は上記の点に鑑み提案されたものであり、その目
的とするところは、マイグレートされたファイルのリコ
ール処理を伴うジョブ起動処理の総合的な処理時間を短
縮することができる計算機のジョブ起動方法を提供する
ことにある。The present invention has been proposed in view of the above points, and it is an object of the present invention to provide a job for a computer that can reduce the overall processing time of job startup processing that involves recall processing of migrated files. It is to provide a starting method.
本発明は上記の目的を達成するため、ジョブ記述中で指
定された割り当て対象ファイルがリコールされているフ
ァイルのときはそのファイルをジョブに割り当て、マイ
グレートされているファイルのときはそれをリコールし
た上でジョブに割り当ててジョブを起動するようにした
計算機のジョブ起動方法において、 1つのジョブ記述に基づくジョブ起動処理用タスクにお
けるジョブ起動処理において、割り当て対象ファイルが
マイグレートされたファイルであるときは別のタスクで
あるリコール処理タスクにリコール要求を出してそのリ
コール処理の完了を待ち合わせることなく当該ジョブ記
述に基づくジョブ起動処理を続行し、 当該ジョブ記述の最後のステップまで処理し終えた時点
で、当該ジョブ記述中で指定された何れかのファイルが
未だマイグレート中であった場合、当該ジョブに割り当
てたファイルが存在するときはそのファイルを解放して
前記リコール処理タスクからリコール処理の完了が通知
されるまで当該ジョブ記述に基づくジョブ起動処理を保
留にして、他の未処理のジョブ記述をジョブ起動処理用
タスクで処理するようにしている。In order to achieve the above object, the present invention assigns a file to a job when the file to be assigned specified in the job description is a recalled file, and recalls it when it is a migrated file. In the job start method of the computer that is assigned to the job and starts the job, when the file to be assigned is the migrated file in the job start processing in the job start processing task based on one job description, When a recall request is issued to another task, that is, a recall processing task, the job start processing based on the job description is continued without waiting for the completion of the recall processing, and when the processing up to the last step of the job description is completed, Any file specified in the job description If it is still migrating, if there is a file assigned to the job, release the file and suspend the job activation process based on the job description until the recall process task notifies the completion of the recall process. Then, other unprocessed job descriptions are processed by the job activation processing task.
以下、本発明の実施例につき図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第1図は本発明の計算機のジョブ起動方法の一実施例を
示す図である。第1図において、11はジョブの起動に先
立ってジョブの実行に必要な制御構造体等を作成するジ
ョブ起動前処理ステップ、12はジョブに割り当てるファ
イル(ファイル資源)がマイグレートされているかどう
かをファイル管理ファイルを調べて判断するファイル管
理ファイル検索ステップ、13はマイグレートされていな
いファイル(後述のリコール要求ステップ14によりリコ
ールされたファイルを含む)をジョブに割り当てる資源
割り当てステップ、14はマイグレートされているファイ
ルの場合に別のタスクから構成されるリコール処理タス
クのリコール処理を起動させてファイルのリコールを要
求するリコール要求ステップ、15はジョブで使用するフ
ァイルが全て割り当てられた後にジョブを起動するジョ
ブ起動ステップ、16はジョブ起動にあたってジョブで使
用するファイルの中で1つでもマイグレートされている
ファイルがあった場合にそれまで資源割り当てを行った
全てのファイルを解放し、リコール要求を行ったファイ
ルのリコール処理が全て完了するのを待つジョブ起動保
留ステップである。FIG. 1 is a diagram showing an embodiment of a computer job starting method according to the present invention. In FIG. 1, 11 is a pre-job start processing step for creating a control structure and the like necessary for executing a job prior to starting the job, and 12 is whether a file (file resource) to be allocated to the job has been migrated. File management File search step to judge by checking the file, 13 is a resource allocation step that allocates unmigrated files (including files recalled by the recall request step 14 described later) to the job, and 14 is migrated Recall process that consists of another task for a file that has a specified task Recall request step that requests the recall of the file by activating the recall process of the task, 15 starts the job after all the files to be used in the job are allocated Job start step, 16 for job start Therefore, if at least one of the files used in the job has been migrated, all the files that have been allocated resources are released, and the recall processing for all the requested files is completed. This is a job activation suspending step for waiting for execution.
第2図は第1図をより具体化した実施例を示す図であ
り、以下、第2図に沿って動作を説明する。なお、ジョ
ブ制御言語で記述されたジョブ記述10では、マイグレー
トされているファイルA(アクセス速度が遅く、かつ大
容量の外部記憶装置であるマイグレーションボリューム
32に格納されたファイル)とマイグレートされていない
ファイルB(アクセス速度が速く入出力の負荷バランス
の最適な外部記憶装置であるアクセスボリューム31に格
納されたファイル)とが指定されているものとする。FIG. 2 is a diagram showing an embodiment in which FIG. 1 is made more concrete, and the operation will be described below with reference to FIG. In the job description 10 described in the job control language, the migrated file A (migration volume, which is a large-capacity external storage device with a slow access speed, is used).
File stored in 32) and file B not migrated (file stored in access volume 31 which is an external storage device having a high access speed and optimal load balance of I / O). To do.
しかして、ジョブ起動処理100では、先ず、ジョブ記述1
0の最初の$JOB文を読んでジョブ起動前処理ステップ11
によりジョブを起動するための制御構造体等を作成し、
準備作業を行う。次いで、ジョブ記述10におけるジョブ
で使用されるファイルが指定された$ASSIGN文を1つず
つ読んでファイル管理ファイル検索ステップ12が実行さ
れる。このファイル管理ファイル検索ステップ12では、
ファイルの存在場所を管理しているファイル管理ファイ
ル33を読み、割り当てるべきファイルがファイルAのよ
うにマイグレーションボリューム32にマイグレートされ
ている場合には、リコール要求ステップ14が実行され
る。ここで、リコール要求ステップ14ではジョブ起動処
理100とは別のタスクで構成されるリコール処理タスク2
00にリコール処理の要求をするのみであり、リコール処
理の完了を待ち合わせることはしない。そして、要求を
した後は次の$ASSIGN文を処理するためにファイル管理
ファイル検索ステップ12に戻る。Then, in the job activation process 100, first, the job description 1
Read the first $ JOB statement of 0 and start job preprocessing Step 11
Create a control structure etc. to start the job by
Perform preparatory work. Then, the $ ASSIGN statement in which the files used in the job in the job description 10 are designated is read one by one, and the file management file search step 12 is executed. In this file management file search step 12,
The file management file 33 that manages the location of the file is read, and if the file to be allocated is migrated to the migration volume 32 like the file A, the recall request step 14 is executed. Here, in the recall request step 14, the recall process task 2 including a task different from the job activation process 100
It only requests the recall process to 00, and does not wait for the completion of the recall process. After making the request, the process returns to the file management file search step 12 to process the next $ ASSIGN statement.
また、ファイル管理ファイル検索ステップ12において、
割り当てるベきファイルがファイルBのように即座にア
クセスできるアクセスボリューム31に存在する場合に
は、資源割り当てステップ13が実行され、ファイル管理
ファイル33より提供される当該ファイルが格納されてい
る外部記憶装置情報に基づいて当該ファイルがジョブに
割り当てられる。In the file management file search step 12,
If the file to be allocated exists in the access volume 31 that can be accessed immediately like the file B, the resource allocation step 13 is executed, and the external storage device in which the file provided by the file management file 33 is stored. The file is assigned to the job based on the information.
そして、全てのファイルに対する$ASSIGN文の処理が完
了したら、ジョブ起動処理100はジョブ記述10の最終の
$ENDJOB文を読む。When the processing of the $ ASSIGN statement for all files is completed, the job start processing 100 reads the final $ ENDJOB statement of the job description 10.
この段階で、もし以前の$ASSIGN文の処理で全てのファ
イルをジョブに割り当てることができた場合には、ジョ
ブ起動ステップ15が実行され、ジョブの実行が開始され
る。しかし、この段階で1つでも未だマイグレートされ
ているファイルがある場合には、ジョブ起動保留ステッ
プ16が実行され、このジョブ起動保留ステップ16では、
資源割り当てステップ13により既にジョブに割り当てら
れたファイルの解放を行い、ジョブの起動処理を一時保
留し、リコール処理タスク200からのリコール処理の完
了の通知を待つ。なお、ジョブ起動処理100はこの間も
別のジョブに対する起動処理を続行し、前述したジョブ
起動前処理ステップ11から続く一連のステップを実行す
る。At this stage, if all the files can be assigned to the job by the processing of the previous $ ASSIGN statement, the job starting step 15 is executed and the execution of the job is started. However, if there is at least one file that has been migrated at this stage, the job activation suspension step 16 is executed, and in this job activation suspension step 16,
The file already allocated to the job is released in the resource allocation step 13, the job starting process is temporarily suspended, and the recall process task 200 waits for the completion of the recall process. Note that the job activation process 100 continues the activation process for another job during this period, and executes the series of steps starting from the job activation preprocessing step 11 described above.
一方、リコール処理タスク200ではリコール要求された
全てのファイルのリコール処理を同時に実行し、全ての
リコール処理が完了した時点でジョブ起動処理100に対
してリコール処理の完了を通知する。そして、完了が通
知されたジョブ起動処理100はその時点で実行中の処理
との関係を考慮しつつ当該ジョブに対するジョブ起動処
理を再開し、ジョブ起動前処理ステップ11から続く一連
のステップを実行し、ジョブを起動に導く。On the other hand, the recall processing task 200 simultaneously executes the recall processing of all the files requested to be recalled, and notifies the job activation processing 100 of the completion of the recall processing when all the recall processings are completed. Then, the job activation process 100 notified of the completion restarts the job activation process for the job while considering the relationship with the process being executed at that time, and executes the series of steps following the job activation preprocessing step 11. , Lead to launch the job.
以上のように、本発明の計算機のジョブ起動方法にあっ
ては、1つのジョブ記述に基づくジョブ起動処理用タク
クにおけるジョブ起動処理において、割り当て対象ファ
イルがマイグレートされたファイルであるときは別のタ
スクであるリコール処理タスクにリコール要求を出して
そのリコール処理の完了を待ち合わせることなく当該ジ
ョブ記述に基づくジョブ起動処理を続行するようにした
ので、ジョブ記述に基づくジョブ起動処理とリコール処
理とを並行して進めることができ、個々のジョブ記述に
基づくジョブ起動処理の効率が向上する。As described above, according to the computer job activation method of the present invention, in the job activation process in the job activation process based on one job description, when the allocation target file is a migrated file, another Recall process, which is a task Since the job start process based on the job description is continued without issuing a recall request to the task and waiting for the completion of the recall process, the job start process and the recall process based on the job description are executed in parallel. The efficiency of job activation processing based on individual job descriptions is improved.
また、ジョブ記述の最終のステップまで処理し終えた時
点で、当該ジョブ記述中で指定された何れかのファイル
が未だマイグレート中であった場合、当該ジョブに割り
当てたファイルが存在するときはそのファイルを解放し
て前記リコール処理タスクからリコール処理の完了が通
知されるまで当該ジョブ記述に基づくジョブ起動処理を
保留にして、他の未処理のジョブ記述をジョブ起動処理
用タスクで処理するようにしたので、無駄な待ち時間が
なくなって後続のジョブの起動処理を速やかに開始する
ことができる。In addition, if any of the files specified in the job description is still being migrated when the processing up to the final step of the job description is complete, and if the file assigned to the job exists, the Until the recall processing task notifies the completion of the recall processing by releasing the file, the job activation processing based on the job description is put on hold, and another unprocessed job description is processed by the job activation processing task. Therefore, the unnecessary waiting time is eliminated, and the starting process of the subsequent job can be started promptly.
これにより、ジョブ起動処理の総合的な効率向上を図る
ことができる。As a result, it is possible to improve the overall efficiency of the job activation process.
第1図は本発明の計算機のジョブ起動方法の一実施例を
示す図および、 第2図は第1図をより具体化した実施例を示す図であ
る。 図において、100……ジョブ起動処理、11……ジョブ起
動前処理ステップ、12……ファイル管理ファイル検索ス
テップ、13……資源割り当てステップ、14……リコール
要求ステップ、15……ジョブ起動ステップ、16……ジョ
ブ起動保留ステップ、200……リコール処理タスク、31
……アクセスボリューム、32……マイグレーションボリ
ューム、33……ファイル管理ファイル。FIG. 1 is a diagram showing an embodiment of a computer job starting method of the present invention, and FIG. 2 is a diagram showing an embodiment in which FIG. 1 is more concrete. In the figure, 100 ... Job start processing, 11 ... Job start preprocessing step, 12 ... File management file search step, 13 ... Resource allocation step, 14 ... Recall request step, 15 ... Job start step, 16 …… Job activation hold step, 200 …… Recall processing task, 31
...... Access volume, 32 …… Migration volume, 33 …… File management file.
Claims (1)
ァイルがリコールされているファイルのときはそのファ
イルをジョブに割り当て、マイグレートされているファ
イルのときはそれをリコールした上でジョブに割り当て
てジョブを起動するようにした計算機のジョブ起動方法
において、 1つのジョブ記述に基づくジョブ起動処理用タスクにお
けるジョブ起動処理において、割り当て対象ファイルが
マイグレートされたファイルであるときは別のタスクで
あるリコール処理タスクにリコール要求を出してそのリ
コール処理の完了を待ち合わせることなく当該ジョブ記
述に基づくジョブ起動処理を続行し、 当該ジョブ記述の最後のステップまで処理し終えた時点
で、当該ジョブ記述中で指定された何れかのファイルが
未だマイグレート中であった場合、当該ジョブに割り当
てたファイルが存在するときはそのファイルを解放して
前記リコール処理タスクからリコール処理の完了が通知
されるまで当該ジョブ記述に基づくジョブ起動処理を保
留にして、他の未処理のジョブ記述をジョブ起動処理用
タスクで処理するようにしたことを特徴とす計算機のジ
ョブ起動方法。1. When the allocation target file specified in the job description is a recalled file, the file is assigned to the job, and when the file is migrated, it is recalled and then assigned to the job. In the job activation method of the computer that activates the job, in the job activation process in the task for the job activation process based on one job description, if the allocation target file is a migrated file, another task recall Specified in the job description when the recall request is issued to the processing task and the job activation process based on the job description continues without waiting for the completion of the recall process, and when the last step of the job description has been processed One of the files created is still migrating If there is a file assigned to the job, the file is released and the job activation process based on the job description is suspended until the recall process task notifies the completion of the recall process. A method for starting a job on a computer, wherein an unprocessed job description is processed by a job start processing task.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63128109A JPH0797342B2 (en) | 1988-05-25 | 1988-05-25 | How to start a computer job |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63128109A JPH0797342B2 (en) | 1988-05-25 | 1988-05-25 | How to start a computer job |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01297740A JPH01297740A (en) | 1989-11-30 |
JPH0797342B2 true JPH0797342B2 (en) | 1995-10-18 |
Family
ID=14976610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63128109A Expired - Fee Related JPH0797342B2 (en) | 1988-05-25 | 1988-05-25 | How to start a computer job |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0797342B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009230212A (en) * | 2008-03-19 | 2009-10-08 | Fujitsu Ltd | Virtual tape device and control method for virtual tape device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109376283B (en) * | 2014-09-24 | 2023-02-28 | 创新先进技术有限公司 | Data processing method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4638424A (en) * | 1984-01-12 | 1987-01-20 | International Business Machines Corporation | Managing data storage devices connected to a digital computer |
-
1988
- 1988-05-25 JP JP63128109A patent/JPH0797342B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009230212A (en) * | 2008-03-19 | 2009-10-08 | Fujitsu Ltd | Virtual tape device and control method for virtual tape device |
Also Published As
Publication number | Publication date |
---|---|
JPH01297740A (en) | 1989-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1164485A2 (en) | Apparatus and method for collecting resources which became unnecessary | |
JPH0628053B2 (en) | Resource allocation control method for multiprocessor system | |
CZ290434B6 (en) | Computer system with extended virtual storage concept | |
JPH0820963B2 (en) | Method for operating computer system and computer system | |
JPH02138633A (en) | Monitoring of temporary data structure | |
JP3541212B2 (en) | Processor assignment device | |
US5355488A (en) | Method for adaptively building a library of program threads | |
JP2002259146A (en) | Device and method for executing application | |
JPH0797342B2 (en) | How to start a computer job | |
WO2021253875A1 (en) | Memory management method and related product | |
JPS6077259A (en) | Load dispersion system | |
JPH03141442A (en) | Task control system | |
JPS583177A (en) | Data processing system | |
JP2900438B2 (en) | File recall method | |
JPH01126738A (en) | System for control data set competition in execution of multiple job | |
JPH03225417A (en) | Input/output control system for extended storage device | |
JPH01316830A (en) | Task execution control system | |
JPH0344742A (en) | Task assignment control system for multiprocessor | |
JP2790472B2 (en) | Multiple conversation processing control method | |
JPH1153327A (en) | Multiprocessor system | |
JPS63279327A (en) | Control system for allocation of resources designated by job control sentence | |
JP3301551B2 (en) | Data processing device with sorting function | |
JPS6191728A (en) | Job execution control system | |
JPS6269322A (en) | Parallel starting system for job steps | |
JPH0823826B2 (en) | Urgent job resource allocation method by temporarily holding general jobs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |