JPS63201826A - Processing system for preventing abnormal termination of job - Google Patents

Processing system for preventing abnormal termination of job

Info

Publication number
JPS63201826A
JPS63201826A JP3532087A JP3532087A JPS63201826A JP S63201826 A JPS63201826 A JP S63201826A JP 3532087 A JP3532087 A JP 3532087A JP 3532087 A JP3532087 A JP 3532087A JP S63201826 A JPS63201826 A JP S63201826A
Authority
JP
Japan
Prior art keywords
space
job
capacity
idle
amount
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.)
Granted
Application number
JP3532087A
Other languages
Japanese (ja)
Other versions
JPH0816869B2 (en
Inventor
Minoru Kawachi
河内 実
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3532087A priority Critical patent/JPH0816869B2/en
Publication of JPS63201826A publication Critical patent/JPS63201826A/en
Publication of JPH0816869B2 publication Critical patent/JPH0816869B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the abnormal termination due to the lack of space by setting a job requesting a space larger than the idle space of a DASD (direct access storage device), to a waiting state. CONSTITUTION:A space managing function 2 manages a bit of space managing information of a volume table of contents (VTOC) 4 to allocate a data storage area 6 with respect to the space acquisition request of a DASD volume 3 from plural jobs 1A and 1B. When the capacity of the space whose acquisition is requested from the job is smaller than an idle space capacity 10, the function 2 segment a required capacity from an idle space 7 and gives it to the job. When the capacity of the space whose acquisition is requested from the job is larger than the idle space capacity 100 and is smaller than the capacity resulting from the addition of the idle space capacity 10 and a space capacity 11 used as a temporary file, this job is set to the waiting state, and the requested space capacity is given to the job when the idle space can be acquired. Thus, the frequency of job abnormal termination due to the lack of space is sufficiently reduced.

Description

【発明の詳細な説明】 〔概要〕 DASDボリュームに対するスペース獲得要求に当って
、当該要求が現在の空きスペースの大きさを超えかつ当
該空きスペースと一時ファイルの使用スペースとの合計
を超えない範囲である場合に、当該要求をジョブの異常
終了としないで待ち状態に置くよう構成し2例えば夜間
の無人運転時などにおいてスペース不足による異常終了
を少なくするようにしたことが開示されている。
[Detailed Description of the Invention] [Summary] When making a space acquisition request for a DASD volume, as long as the request exceeds the size of the current free space and does not exceed the sum of the free space and the space used by temporary files. It has been disclosed that in some cases, the request is placed in a waiting state without causing the job to terminate abnormally, thereby reducing the occurrence of abnormal termination due to lack of space, for example, during unmanned operation at night.

(産業上の利用分野〕 本発明はデータ処理装置におけるDASDボリュームの
スペース管理に関連して生じるジョブ異常終了を防止し
たジョブ異常終了防止処理方式に関する。DASDスペ
ース管理においては、システムのスループントを最大に
するようにジョブに対するスペースの割当方式が改良さ
れているが。
(Industrial Application Field) The present invention relates to a job abnormal termination prevention processing method that prevents job abnormal termination that occurs in connection with DASD volume space management in a data processing device.In DASD space management, system throughput is maximized. The method for allocating space to jobs has been improved.

運用時にはスペース不足からくるジョブの異常終了が発
生するケースが多い。
During operation, there are many cases where jobs end abnormally due to lack of space.

〔従来の技術〕[Conventional technology]

従来の場合、システムのスループットを最大にするよう
にジョブに対するスペースの割当てが考慮されているが
、運用時に要求されたスペース獲得要求に対してスペー
ス不足が生じると、そのジョブは異常終了させられるよ
うになっていた。
Conventionally, space is allocated to jobs in a way that maximizes system throughput, but if there is insufficient space to respond to requests to acquire space during operation, the job is likely to be terminated abnormally. It had become.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

一時ファイルとして使用されている領域は、当該領域を
使用しているジョブが終了した段階で解放されることか
ら、しばら(待てば一時ファイルとしての使用領域が解
放されて要求量が満足されるにもかかわらず、従来の場
合異常終了させられてしまう。このために夜間の無人運
転時などにおいて業務が異常終了となることが生じた。
The area used as a temporary file will be released when the job using the area is finished, so it may take a while (if you wait, the area used as a temporary file will be released and the requested amount will be satisfied). However, in the conventional case, the system ends abnormally.This has led to the abnormal end of the work, such as during unmanned operation at night.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記の点を解決しており、一時ファイルに使用
されている領域を考慮に入れて異常終了となるケースを
軽減するようにしている。
The present invention solves the above problems and takes into consideration the area used for temporary files to reduce cases of abnormal termination.

第1図は本発明の原理構成図を示す。図中の符号IA、
IBは夫々ジョブ、2はスペース管理機能、3は直接ア
クセス記憶デバイス(DASD)。
FIG. 1 shows a basic configuration diagram of the present invention. Symbol IA in the figure,
IB is a job, 2 is a space management function, and 3 is a direct access storage device (DASD).

4はボリューム・テーブル・オブ・コンテンツ(VTO
C)、5はスペース管理情報、6はデータ格納領域、7
は空きスペース、8は一時ファイル使用スペース、9は
保存ファイル使用スペース。
4 is Volume Table of Contents (VTO)
C), 5 is space management information, 6 is data storage area, 7
is free space, 8 is space used for temporary files, and 9 is space used for saved files.

10はスペース管理情報中の空きスペース量情報。10 is free space amount information in the space management information.

11は同じくスペース管理情報中の一時ファイル使用ス
ペース量情報を表わしている。
Reference numeral 11 also represents temporary file usage space amount information in the space management information.

データ格納領域6は、空きスペース7と、当該領域を一
時的に使用されている一時ファイル使用スペース8と、
当該領域を長期的に使用されている保存ファイル使用ス
ペース9とに区分して管理される。そして、vToc4
内のスペース管理情報5においては、従来の如く空きス
ペース量情報10が管理されると共に、新らしく一時フ
ァイル使用スペース量情報11が管理される。
The data storage area 6 includes an empty space 7, a temporary file usage space 8 where the area is temporarily used,
The area is divided into storage file usage space 9 which is used for a long period of time and managed. And vToc4
In the space management information 5, free space amount information 10 is managed as before, and temporary file usage space amount information 11 is managed in a new manner.

〔作用〕[Effect]

ジョブからのスペース獲得要求が発せられると。 When a request is made to acquire space from a job.

スペース管理機能2は、上記スペース管理情報5を読取
り。
The space management function 2 reads the space management information 5.

(i>獲得要求量が空きスペース量よりも少ない場合に
は、空きスペース7から必要量だけ切出して獲得させる
(i>If the amount of requested acquisition is less than the amount of free space, the required amount is cut out from the free space 7 and acquired.

(ii)獲得要求量が、空きスペース量よりも多い場合
には、空きスペース量と一時ファイル使用スペース量と
の合計値とくらべ、小であるとき、待ち状態に置く。そ
して、空きスペースが獲得できる状態になったときに獲
得させる。
(ii) If the amount of acquisition requests is larger than the amount of free space, and if it is smaller than the total value of the amount of free space and the amount of space used for temporary files, it is placed in a waiting state. Then, when the free space becomes available for acquisition, it is acquired.

(iii )上記合計値よりも大であるならば、従来の
場合と同様にジョブの異常終了となる。
(iii) If it is greater than the above total value, the job ends abnormally, as in the conventional case.

このために、スペース不足のためにジョブが異常終了と
なる頻度が十分に小になる。
For this reason, the frequency of abnormal termination of jobs due to lack of space is sufficiently reduced.

〔実施例〕〔Example〕

第2図は本発明におけるスペース管理機能における呼出
し元の一実施例処理、第3図は本発明におけるスペース
管理情報の一実施例、第4図は本発明におけるファイル
消去処理、第5図は本発明におけるファイル割当処理を
示している。
FIG. 2 is an example of the process of the caller in the space management function of the present invention, FIG. 3 is an example of the space management information of the present invention, FIG. 4 is the file deletion process of the present invention, and FIG. It shows file allocation processing in the invention.

第2図図示の如く呼出し元においては、スペース不足が
生じると、スペースの空き待ちに入る。
As shown in FIG. 2, when the caller runs out of space, it waits for space to become available.

そして、スペース確保が通知されると、呼び出しに戻る
形となる。
Then, when the space reservation is notified, the process returns to the call.

スペース管理情報としては、第3図図示の如く。The space management information is as shown in FIG.

VTOC4内に空きスペース量(FS)10と一時ファ
イル使用スペース量(TUS)11とが存在し、スペー
ス管理機能2における呼出し元に「呼出し元から確保要
求のあったスペース量」(R3)と、[呼出し元から削
除要求のあったスペース量J  (DS)とが存在して
いる。
There is a free space amount (FS) 10 and a temporary file used space amount (TUS) 11 in the VTOC 4, and the caller in the space management function 2 is notified of "the amount of space requested by the caller to secure" (R3), [The amount of space J (DS) that was requested to be deleted by the caller exists.

ファイル消去処理に関しては、第4図図示の如<、  
(i)保存ファイルに関して空きスペースに組入れてよ
いもの(DS)が生じるとその分だけ空きスペース量(
FS)を増大し、(ii)一時ファイルに関して空きス
ペースに組入れてよいもの(DS)が生じるとその分だ
け空きスペース量(FS)を増大すると共に一時ファイ
ル使用スペース量(TUS)を減少させる。そして、当
該空きスペースを利用しようとする要求が存在すれば。
Regarding the file deletion process, as shown in Figure 4,
(i) When there is a saved file (DS) that can be included in the free space, the amount of free space (DS)
(ii) When a temporary file that can be incorporated into the free space (DS) occurs, the free space amount (FS) is increased by that amount, and the temporary file used space amount (TUS) is decreased. And if there is a request to use the free space.

第2図図示■に示す通知を行う。The notification shown in Figure 2 (■) is made.

ファイル割当処理に関しては、第5図図示の如く処理す
る。即ちルー1− (alはスペース獲得要求のあった
スペース量(R3)にくらべて空きスペース量(F S
)が大であった場合である。またルート(b)はスペー
ス獲得要求のあったスペース量(R8)がそのときの空
きスペース量(FS)よりも大でかつ当該空きスペース
量(FS)と一時ファイル使用スペース量(TUS)と
の和よりも小であるとき、要求を待ちキューに接続する
場合である。そしてルート(C)はジョブの異常終了と
なる場合である。
The file allocation process is performed as shown in FIG. In other words, R1-(al is the amount of free space (F S
) is large. In addition, route (b) indicates that the amount of space for which a space acquisition request was requested (R8) is larger than the amount of free space (FS) at that time, and the amount of free space (FS) and the amount of space used for temporary files (TUS) are different. If the sum is less than the sum, the request is connected to the waiting queue. Route (C) is a case where the job ends abnormally.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、一時ファイル使用スペース量を考慮に
入れてスペース管理を行っており、スペース不足によっ
てジョブの異常終了となることが大幅に軽減される。な
お本発明にいうような待ち状態を2例えば夜間の運転に
限ぎって生じるようにするなどの選択を行うことは、任
意になし得る所である。
According to the present invention, space management is performed taking into consideration the amount of space used by temporary files, and the abnormal termination of jobs due to insufficient space is greatly reduced. It should be noted that it is possible to arbitrarily make a selection such that the waiting state as referred to in the present invention occurs only during night driving, for example.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理構成図、第2図は本発明における
スペース管理機能における呼出し元の一実施例処理、第
3図は本発明におけるスペース管理情報の一実施例、第
4図は本発明におけるファイル消去処理、第5図は本発
明におけるファイル割当処理を示している。 図中、1はジョブ、2はスペース管理機能、3はDAS
D、4はVTOC,5はスペース管理情報を表わす。
Fig. 1 is a diagram showing the principle configuration of the present invention, Fig. 2 is an example of processing of a calling source in the space management function of the invention, Fig. 3 is an example of space management information in the invention, and Fig. 4 is a diagram of the main function of the present invention. File deletion processing according to the invention. FIG. 5 shows file allocation processing according to the invention. In the diagram, 1 is a job, 2 is a space management function, and 3 is a DAS
D, 4 represents VTOC, and 5 represents space management information.

Claims (1)

【特許請求の範囲】 DASDボリューム上に割り当てられている領域を、空
きスペースと当該領域を一時的に使用されている一時フ
ァイル領域と長期的に使用される保存ファイルとに分け
て管理する構成をもつデータ処理装置において、 スペース獲得要求に対応して、現在の空きスペースの大
きさを超えかつ当該空きスペースと一時ファイルの使用
スペースとの合計を超えない範囲のスペース獲得要求に
対して、当該要求を待ち状態に置くよう構成すると共に
、当該要求をジョブの異常終了に終らせないよう構成し
、 スペースが解放された時点で処理を行うようにした ことを特徴とするジョブ異常終了防止処理方式。
[Claims] A configuration that manages an area allocated on a DASD volume by dividing it into free space, a temporary file area that is used temporarily, and a storage file that is used for a long time. In response to a space acquisition request, in response to a space acquisition request, in a data processing device with A processing method for preventing abnormal job termination, characterized in that the request is configured to be placed in a waiting state, the request is configured not to end in abnormal termination of the job, and processing is performed when space is released.
JP3532087A 1987-02-18 1987-02-18 Job execution management device Expired - Lifetime JPH0816869B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3532087A JPH0816869B2 (en) 1987-02-18 1987-02-18 Job execution management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3532087A JPH0816869B2 (en) 1987-02-18 1987-02-18 Job execution management device

Publications (2)

Publication Number Publication Date
JPS63201826A true JPS63201826A (en) 1988-08-19
JPH0816869B2 JPH0816869B2 (en) 1996-02-21

Family

ID=12438519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3532087A Expired - Lifetime JPH0816869B2 (en) 1987-02-18 1987-02-18 Job execution management device

Country Status (1)

Country Link
JP (1) JPH0816869B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04346135A (en) * 1991-05-23 1992-12-02 Nippon Denki Joho Service Kk Job execution control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04346135A (en) * 1991-05-23 1992-12-02 Nippon Denki Joho Service Kk Job execution control system

Also Published As

Publication number Publication date
JPH0816869B2 (en) 1996-02-21

Similar Documents

Publication Publication Date Title
JPH0820963B2 (en) Method for operating computer system and computer system
JP3832341B2 (en) Memory pool management method
JP2003150417A (en) Portable information communication terminal unit
JPS63201826A (en) Processing system for preventing abnormal termination of job
JPS63292456A (en) Control system for medium assignment of plural medium containing type data recorder
JP2924725B2 (en) Buffer allocation control system
JPS6254331A (en) Control system for job execution result
JPH0115899B2 (en)
JP2900438B2 (en) File recall method
JP3064880B2 (en) Data storage device and data processing system using the same
JP3022829B2 (en) Automatic storage device allocation device
JPH0431416B2 (en)
JPH0586574B2 (en)
JPH0516614B2 (en)
WO2019144788A1 (en) Resource control method and device, equipment and computer readable storage medium
JPH0122937B2 (en)
JPS6327936A (en) File management method
JPS5958552A (en) Slowdown control system
JPH08153037A (en) Data management system in sequential area
JPH0439700B2 (en)
JPS6370342A (en) Resource control system
JPH03125227A (en) Inter-process data transfer system
JPS6370368A (en) Postprocessor file managing system
JPH03113556A (en) Bus controller
JPH07129480A (en) File transfer device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term